docs/maps/DRO.json in cocina-models-0.14.0 vs docs/maps/DRO.json in cocina-models-0.15.0
- old
+ new
@@ -1,7 +1,8 @@
{
"$schema": "http://json-schema.org/draft-06/schema#",
+ "id": "http://cocina.sul.stanford.edu/schemas/DRO",
"title": "Digital Repository Object",
"description": "Domain-defined abstraction of a 'work'. Digital Repository Objects' abstraction is describable for our domain’s purposes, i.e. for management needs within our system.",
"type": "object",
"required": ["@context", "@type", "externalIdentifier", "label", "internalIdentifier", "version", "administrative", "access", "identification", "structural"],
"properties": {
@@ -38,11 +39,11 @@
"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 DRO into SDR.",
- "$ref": "Agent.json"
+ "$ref": "/Agent"
},
"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"
},
@@ -137,19 +138,26 @@
},
"partOfProject": {
"description": "Administrative or Internal project this resource is a part of.",
"type": "string"
},
+ "releaseTags": {
+ "description": "Tags for release",
+ "type": "array",
+ "items": {
+ "$ref": "ReleaseTag.json"
+ }
+ },
"sdrPreserve": {
"description": "If this resource should be sent to Preservation.",
"type": "boolean"
},
"remediatedBy": {
"description": "The Agent (User, Group, Application, Department, other) that remediated a DRO in SDR.",
"type": "array",
"items": {
- "$ref": "Agent.json"
+ "$ref": "/Agent"
}
}
}
},
"identification": {
@@ -224,11 +232,11 @@
},
"approvers": {
"description": "Agents who are required to approve deposit or management of this resource in SDR.",
"type": "array",
"items": {
- "$ref": "Agent.json"
+ "$ref": "/Agent"
}
}
}
},
"structural": {
@@ -238,33 +246,37 @@
"properties": {
"contains": {
"description": "Filesets that contain the digital representations (Files) of the DRO.",
"type": "array",
"items": {
- "$ref": "Fileset.json"
+ "$ref": "/Fileset"
}
},
"hasAgreement": {
"description": "Agreement that covers the deposit of the DRO into SDR.",
"type": "string"
},
"hasMember": {
"description": "Component or 'children' digital repository objects that are a part or portion of this 'parent' or aggregate DRO.",
"type": "array",
- "items": [{
+ "items": {
"type": "string"
- }]
+ }
},
+ "isMemberOf": {
+ "description": "Collection that this DRO is a member of",
+ "type": "string"
+ },
"isTargetOf": {
"description": "An Annotation instance that applies to the DRO.",
- "type": ["string", "null"]
+ "type": "string"
},
"hasMemberOrders": {
"description": "Provided sequences or orderings of members of the Object, including some metadata about each sequence (i.e. sequence label, sequence type, if the sequence is primary, etc.).",
"type": "array",
- "items": [{
- "$ref": "Sequence.json"
- }]
+ "items": {
+ "$ref": "/Sequence"
+ }
}
}
}
}
}