{ "$schema": "http://json-schema.org/draft-06/schema#", "id": "http://cocina.sul.stanford.edu/schemas/Collection", "title": "Digital Repository Collection", "description": "A group of Digital Repository Objects that indicate some type of conceptual grouping within the domain that is worth reusing across the system.", "type": "object", "required": ["@context", "@type", "externalIdentifier", "label", "internalIdentifier", "version", "administrative", "access", "description", "identification", "structural"], "properties": { "@context": { "description": "URI for the JSON-LD context definitions.", "type": "string" }, "@type": { "description": "The content type of the Collection. Selected from an established set of values.", "type": "string", "enum": [ "http://cocina.sul.stanford.edu/models/collection.jsonld", "http://cocina.sul.stanford.edu/models/curated-collection.jsonld", "http://cocina.sul.stanford.edu/models/user-collection.jsonld", "http://cocina.sul.stanford.edu/models/exhibit.jsonld", "http://cocina.sul.stanford.edu/models/series.jsonld" ] }, "citation": { "description": "Citation for the resource, including identifier, label, version, and a persistent URL to the object with SDR at the very least.", "type": "string" }, "dedupeIdentifier": { "description": "Identifier retrieved from identification.sourceId that stands for analog or source identifier that this resource is a digital representation of.", "type": "string" }, "depositor": { "description": "The Agent (User, Group, Application, Department, other) that deposited the Collection into SDR.", "$ref": "/Agent" }, "description": { "description": "Descriptive metadata for the DRO.", "$ref": "/Description" }, "externalIdentifier": { "description": "Identifier for the resource within the SDR architecture but outside of the repository. DRUID or UUID depending on resource type. Constant across resource versions. What clients will use calling the repository. Same as `identification.identifier`", "type": "string" }, "label": { "description": "Primary processing label (can be same as title) for a Collection.", "type": "string" }, "internalIdentifier": { "description": "Identifier for the resource within the repository. UUID, unique for each new version of a repository resource.", "type": "string" }, "version": { "description": "Version for the Collection within SDR.", "type": "integer" }, "precedingVersion": { "description": "Preceding version for the Collection within SDR.", "type": "string" }, "followingVersion": { "description": "Following version for the Collection within SDR.", "type": "string" }, "access": { "description": "Access Metadata for the Collection.", "type": "object", "required": ["access", "download"], "properties": { "access": { "description": "Access level for the Collection.", "type": "string", "enum": ["world", "stanford", "location-based", "citation-only", "dark"] }, "copyright": { "description": "The human readable copyright statement that applies to the Collection.", "type": "string" }, "download": { "description": "Download level for the Collection metadata.", "type": "string", "enum": ["world", "stanford", "location-based", "citation-only", "dark"] }, "embargoReleaseDate": { "description": "Date when the Collection is released from an embargo, if an embargo exists.", "type": "string", "format": "date-time" }, "license": { "description": "The license governing reuse of the Collection. Should be an IRI for known licenses (i.e. CC, RightsStatement.org URI, etc.).", "type": "string" }, "reuseAndReproductionStatement": { "description": "The human readable reuse and reproduction statement that applies to the Collection.", "type": "string" }, "termsOfUse": { "description": "License or terms of use governing reuse of the Collection. Should be a text statement.", "type": "string" } } }, "administrative": { "type": "object", "description": "Administrative metadata for the SDR resource.", "required": ["created", "isDescribedBy", "sdrPreserve"], "properties": { "created": { "description": "When the resource in SDR was created.", "type": "string", "format": "date-time" }, "deleted": { "description": "If the resource has been deleted (but not purged).", "type": "boolean" }, "gravestoneMessage": { "description": "Message describing why the object was deleted.", "type": "string" }, "isDescribedBy": { "description": "PURL/XML file that is a traditional representation of the metadata for the Collection.", "type": "string" }, "lastUpdated": { "description": "When the resource in SDR was last updated.", "type": "string", "format": "date-time" }, "partOfProject": { "description": "Administrative or Internal project this resource is a part of.", "type": "string" }, "releaseTags": { "description": "Tags for release", "type": "array", "items": { "$ref": "/ReleaseTag" } }, "sdrPreserve": { "description": "If this resource should be sent to Preservation.", "type": "boolean" }, "remediatedBy": { "description": "The Agent (User, Group, Application, Department, other) that remediated a Collection in SDR.", "type": "array", "items": { "$ref": "/Agent" } } } }, "identification": { "description": "Identifying information for the Collection.", "type": "object", "required": ["identifier"], "properties": { "catalogLinks": { "description": "Links to catalog records for the resource that the Collection represents in whole or part.", "type": "array", "items": { "type": "object", "required": ["catalog", "catalogRecordId"], "properties": { "catalog": { "description": "Catalog that is the source of the linked record.", "type": "string" }, "catalogRecordId": { "description": "Record identifier that is unique within the context of the linked record's catalog.", "type": "string" }, "recordSchema": { "description": "Metadata schema of the linked record.", "type": "string" }, "deriveMetadata": { "description": "If the Collection descriptive metadata should be automatically updated when the linked record changes.", "type": "boolean" }, "deliverMetadata": { "description": "If the linked record should be automatically updated when the Collection descriptive metadata changes.", "type": "boolean" }, "recordScope": { "description": "Whether the linked record describes a resource that is broader than, equivalent to, or narrower than the resource the Collection represents.", "type": "string", "enum": ["broader", "equivalent", "narrower"] } } } }, "DOI": { "description": "Digital Object Identifier (DOI) for the Collection within this repository.", "type": "string" }, "identifier": { "description": "Identifier for the Collection within the Stanford Digital Repository system", "type": "string" }, "sameAs": { "description": "Another object, either external or internal to the system (if duplication occurs) that is the same digital resource as this Collection.", "type": "string" }, "sourceId": { "description": "A source resource or object (perhaps but not necessarily analog or physical) that the Collection is a digital representation of.", "type": "string" }, "sdrUUID": { "type": "string", "description": "UUID previously minted for the resource within SDR2 / Fedora 3." } } }, "structural": { "description": "Structural metadata for the Collection.", "type": "object", "required": ["hasAgreement"], "properties": { "hasAgreement": { "description": "Agreement that covers the deposit of the Collection into SDR.", "type": "string" }, "hasMember": { "description": "Component digital repository objects or collections that are a part of this collection.", "type": "array", "items": { "type": "string" } }, "isTargetOf": { "description": "An Annotation instance that applies to the Collection.", "type": "string" }, "hasMemberOrders": { "description": "Provided sequences or orderings of members of the Collection, including some metadata about each sequence (i.e. sequence label, sequence type, if the sequence is primary, etc.).", "type": "array", "items": { "$ref": "/Sequence" } } } } } }