...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "$schema": "http://json-schema.org/draft/2019-09/schema#", "$id": "https://fedora.info/schemas/2020/06/06/headers.json", "type": "object", "properties": { "id": {"type": "string", "format": "uri"}, "parent": {"type": "string", "format": "uri"}, "stateToken": {"type": "string"}, "interactionModel": {"type": "string", "format": "uri", "enum": ["http://www.w3.org/ns/ldp#NonRDFSource", "http://www.w3.org/ns/ldp#RDFSource", "http://www.w3.org/ns/ldp#RDFSource", "http://www.w3.org/ns/ldp#Container", "http://www.w3.org/ns/ldp#BasicContainer", "http://www.w3.org/ns/ldp#DirectContainer", "http://www.w3.org/ns/ldp#IndirectContainer", "http://fedora.info/definitions/v4/repository#ArchivalGroup", "http://fedora.info/definitions/v4/repository#NonRdfSourceDescription", "http://fedora.info/definitions/v4/webac#Acl" ] }, "createdDate": {"type": "string", "format": "date-time"} "2020-06-03T23:59:00.284677Z", "createdBy": {"type": "string"}, "lastModifiedDate": {"type": "string", "format": "date-time"} "2020-06-03T23:59:00.284677Z", "lastModifiedBy": {"type": "string"} "2020-06-03T23:59:00.284677Z", "archivalGroup": {"type": "boolean"}, "objectRoot": {"type": "boolean"}, "deleted": {"type": "boolean"} }, "required": ["parent", "id"], "additionalProperties": false, $comment: "NonRDFSource resources have additional properties" "if": { "properties": {"interactionModel": {"const": "http://www.w3.org/ns/ldp#NonRDFSource" } } }, "then": { "properties": { "mimeType": {"type": "string"}, "filename": {"type": "string"}, "contentSize": {"type": "integer"}, "digests": {"type": "array", "items": {"type": "string", "format": "uri"} }, "externalUrl": {"type": "string", "format": "uri"}, "externalHandling": {"type": "string", "enum": ["proxy", "copy", "redirect"] } }, "required": ["mimeType", "filename", "contentSize", "digests"] } } |
Header files associated with user-content files
...