cocina-models 0.76.0 → 0.77.0

Sign up to get free protection for your applications and to get access to all the features.
data/docs/maps/DRO.json DELETED
@@ -1,316 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-06/schema#",
3
- "id": "http://cocina.sul.stanford.edu/schemas/DRO",
4
- "title": "Digital Repository Object",
5
- "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.",
6
- "type": "object",
7
- "required": ["@context", "@type", "externalIdentifier", "label", "internalIdentifier", "version", "administrative", "access", "description", "identification", "structural"],
8
- "properties": {
9
- "@context": {
10
- "description": "URI for the JSON-LD context definitions.",
11
- "type": "string"
12
- },
13
- "@type": {
14
- "description": "The content type of the DRO. Selected from an established set of values.",
15
- "type": "string",
16
- "enum": [
17
- "http://cocina.sul.stanford.edu/models/object.jsonld",
18
- "http://cocina.sul.stanford.edu/models/3d.jsonld",
19
- "http://cocina.sul.stanford.edu/models/agreement.jsonld",
20
- "http://cocina.sul.stanford.edu/models/book.jsonld",
21
- "http://cocina.sul.stanford.edu/models/document.jsonld",
22
- "http://cocina.sul.stanford.edu/models/geo.jsonld",
23
- "http://cocina.sul.stanford.edu/models/image.jsonld",
24
- "http://cocina.sul.stanford.edu/models/page.jsonld",
25
- "http://cocina.sul.stanford.edu/models/photograph.jsonld",
26
- "http://cocina.sul.stanford.edu/models/manuscript.jsonld",
27
- "http://cocina.sul.stanford.edu/models/map.jsonld",
28
- "http://cocina.sul.stanford.edu/models/media.jsonld",
29
- "http://cocina.sul.stanford.edu/models/track.jsonld",
30
- "http://cocina.sul.stanford.edu/models/webarchive-binary.jsonld",
31
- "http://cocina.sul.stanford.edu/models/webarchive-seed.jsonld"
32
- ]
33
- },
34
- "citation": {
35
- "description": "Citation for the resource, including identifier, label, version, and a persistent URL to the object with SDR at the very least.",
36
- "type": "string"
37
- },
38
- "dedupeIdentifier": {
39
- "description": "Identifier retrieved from identification.sourceId that stands for analog or source identifier that this resource is a digital representation of.",
40
- "type": "string"
41
- },
42
- "depositor": {
43
- "description": "The Agent (User, Group, Application, Department, other) that deposited the DRO into SDR.",
44
- "$ref": "/Agent"
45
- },
46
- "externalIdentifier": {
47
- "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`",
48
- "type": "string"
49
- },
50
- "label": {
51
- "description": "Primary processing label (can be same as title) for a DRO.",
52
- "type": "string"
53
- },
54
- "internalIdentifier": {
55
- "description": "Identifier for the resource within the repository. UUID, unique for each new version of a repository resource.",
56
- "type": "string"
57
- },
58
- "version": {
59
- "description": "Version for the DRO within SDR.",
60
- "type": "integer"
61
- },
62
- "precedingVersion": {
63
- "description": "Preceding version for the Object within SDR.",
64
- "type": "string"
65
- },
66
- "followingVersion": {
67
- "description": "Following version for the Object within SDR.",
68
- "type": "string"
69
- },
70
- "access": {
71
- "description": "Access Metadata for the DRO.",
72
- "type": "object",
73
- "required": ["access", "download"],
74
- "properties": {
75
- "access": {
76
- "description": "Access level for the DRO.",
77
- "type": "string",
78
- "enum": ["world", "stanford", "location-based", "citation-only", "dark"]
79
- },
80
- "copyright": {
81
- "description": "The human readable copyright statement that applies to the DRO.",
82
- "type": "string"
83
- },
84
- "controlledDigitalLending": {
85
- "description": "If the object is available for controlled digital lending.",
86
- "type": "boolean"
87
- },
88
- "download": {
89
- "description": "Download level for the DRO metadata.",
90
- "type": "string",
91
- "enum": ["world", "stanford", "location-based", "none"]
92
- },
93
- "embargo": {
94
- "description": "Embargo metadata",
95
- "type": "object",
96
- "required": ["releaseDate", "access"],
97
- "properties": {
98
- "releaseDate": {
99
- "description": "Date when the DRO is released from an embargo.",
100
- "type": "string",
101
- "format": "date-time"
102
- },
103
- "access": {
104
- "description": "Access level for the DRO when released from embargo.",
105
- "type": "string",
106
- "enum": ["world", "stanford", "location-based", "citation-only", "dark"]
107
- },
108
- "useAndReproductionStatement": {
109
- "description": "The human readable reuse and reproduction statement that applies to the DRO when released from embargo.",
110
- "type": "string"
111
- }
112
- }
113
- },
114
- "license": {
115
- "description": "The license governing reuse of the DRO. Should be an IRI for known licenses (i.e. CC, RightsStatement.org URI, etc.).",
116
- "type": "string"
117
- },
118
- "useAndReproductionStatement": {
119
- "description": "The human readable reuse and reproduction statement that applies to the DRO.",
120
- "type": "string"
121
- },
122
- "termsOfUse": {
123
- "description": "License or terms of use governing reuse of the DRO. Should be a text statement.",
124
- "type": "string"
125
- },
126
- "visibility": {
127
- "description": "Percentage of the DRO that is visibility during an embargo period",
128
- "type": "integer"
129
- }
130
- }
131
- },
132
- "administrative": {
133
- "type": "object",
134
- "description": "Administrative metadata for the SDR resource.",
135
- "required": ["created", "isDescribedBy", "sdrPreserve"],
136
- "properties": {
137
- "created": {
138
- "description": "When the resource in SDR was created.",
139
- "type": "string",
140
- "format": "date-time"
141
- },
142
- "deleted": {
143
- "description": "If the resource has been deleted (but not purged).",
144
- "type": "boolean"
145
- },
146
- "gravestoneMessage": {
147
- "description": "Message describing why the object was deleted.",
148
- "type": "string"
149
- },
150
- "isDescribedBy": {
151
- "description": "Pointer to the PURL/XML file that is a traditional representation of the metadata for the DRO.",
152
- "type": "string"
153
- },
154
- "lastUpdated": {
155
- "description": "When the resource in SDR was last updated.",
156
- "type": "string",
157
- "format": "date-time"
158
- },
159
- "partOfProject": {
160
- "description": "Administrative or Internal project this resource is a part of.",
161
- "type": "string"
162
- },
163
- "releaseTags": {
164
- "description": "Tags for release",
165
- "type": "array",
166
- "items": {
167
- "$ref": "/ReleaseTag"
168
- }
169
- },
170
- "sdrPreserve": {
171
- "description": "If this resource should be sent to Preservation.",
172
- "type": "boolean"
173
- },
174
- "remediatedBy": {
175
- "description": "The Agent (User, Group, Application, Department, other) that remediated a DRO in SDR.",
176
- "type": "array",
177
- "items": {
178
- "$ref": "/Agent"
179
- }
180
- }
181
- }
182
- },
183
- "description": {
184
- "description": "Descriptive metadata for the DRO.",
185
- "$ref": "/Description"
186
- },
187
- "geographic": {
188
- "description": "Geographic metadata for the DRO.",
189
- "type": "object",
190
- "required": ["iso19139"],
191
- "properties": {
192
- "iso19139": {
193
- "description": "Geographic ISO 19139 XML metadata",
194
- "type": "string"
195
- }
196
- }
197
- },
198
- "identification": {
199
- "description": "Identifying information for the DRO.",
200
- "type": "object",
201
- "required": ["identifier"],
202
- "properties": {
203
- "catalogLinks": {
204
- "description": "Links to catalog records for the resource that the DRO represents in whole or part.",
205
- "type": "array",
206
- "items": {
207
- "type": "object",
208
- "required": ["catalog", "catalogRecordId"],
209
- "properties": {
210
- "catalog": {
211
- "description": "Catalog that is the source of the linked record.",
212
- "type": "string"
213
- },
214
- "catalogRecordId": {
215
- "description": "Record identifier that is unique within the context of the linked record's catalog.",
216
- "type": "string"
217
- },
218
- "recordSchema": {
219
- "description": "Metadata schema of the linked record.",
220
- "type": "string"
221
- },
222
- "deriveMetadata": {
223
- "description": "If the DRO descriptive metadata should be automatically updated when the linked record changes.",
224
- "type": "boolean"
225
- },
226
- "deliverMetadata": {
227
- "description": "If the linked record should be automatically updated when the DRO descriptive metadata changes.",
228
- "type": "boolean"
229
- },
230
- "recordScope": {
231
- "description": "Whether the linked record describes a resource that is broader than, equivalent to, or narrower than the resource the DRO represents.",
232
- "type": "string",
233
- "enum": ["broader", "equivalent", "narrower"]
234
- }
235
- }
236
- }
237
- },
238
- "doi": {
239
- "description": "Digital Object Identifier (DOI) for the DRO within this repository.",
240
- "type": "string"
241
- },
242
- "identifier": {
243
- "description": "Identifier for the Digital Repository Object within the Stanford Digital Repository system",
244
- "type": "string"
245
- },
246
- "sameAs": {
247
- "description": "Another object, either external or internal to the system (if duplication occurs) that is the same digital resource as this DRO.",
248
- "type": "string"
249
- },
250
- "sourceId": {
251
- "description": "A source resource or object (perhaps but not necessarily analog or physical) that the DRO is a digital representation of.",
252
- "type": "string"
253
- },
254
- "sdrUUID": {
255
- "type": "string",
256
- "description": "UUID previously minted for the resource within SDR2 / Fedora 3."
257
- }
258
- }
259
- },
260
- "permissions": {
261
- "description": "Permissions Metadata for the DRO.",
262
- "type": "object",
263
- "properties": {
264
- "approvalRequired": {
265
- "description": "Indicates if approval is required to deposit or manage the resource in SDR.",
266
- "type": "boolean"
267
- },
268
- "approvers": {
269
- "description": "Agents who are required to approve deposit or management of this resource in SDR.",
270
- "type": "array",
271
- "items": {
272
- "$ref": "/Agent"
273
- }
274
- }
275
- }
276
- },
277
- "structural": {
278
- "description": "Structural metadata for the DRO.",
279
- "type": "object",
280
- "properties": {
281
- "contains": {
282
- "description": "Filesets that contain the digital representations (Files) of the DRO.",
283
- "type": "array",
284
- "items": {
285
- "$ref": "/Fileset"
286
- }
287
- },
288
- "hasMember": {
289
- "description": "Component or 'children' digital repository objects that are a part or portion of this 'parent' or aggregate DRO.",
290
- "type": "array",
291
- "items": {
292
- "type": "string"
293
- }
294
- },
295
- "isMemberOf": {
296
- "description": "Collections that this DRO is a member of",
297
- "type": "array",
298
- "items": {
299
- "type": "string"
300
- }
301
- },
302
- "isTargetOf": {
303
- "description": "An Annotation instance that applies to the DRO.",
304
- "type": "string"
305
- },
306
- "hasMemberOrders": {
307
- "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.).",
308
- "type": "array",
309
- "items": {
310
- "$ref": "/Sequence"
311
- }
312
- }
313
- }
314
- }
315
- }
316
- }
@@ -1,17 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-06/schema#",
3
- "id": "http://cocina.sul.stanford.edu/schemas/Description",
4
- "title": "Description",
5
- "description": "The description of a work",
6
- "type": "object",
7
- "required": ["title"],
8
- "properties": {
9
- "title": {
10
- "description": "The title of the item.",
11
- "type": "array",
12
- "items": {
13
- "$ref": "/Title"
14
- }
15
- }
16
- }
17
- }
data/docs/maps/File.json DELETED
@@ -1,196 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-06/schema#",
3
- "id": "http://cocina.sul.stanford.edu/schemas/File",
4
- "title": "File",
5
- "description": "Binaries that are the basis of what our domain manages. Binaries here do not include metadata files generated for the domain's own management purposes.",
6
- "type": "object",
7
- "required": ["@context", "@type", "externalIdentifier", "internalIdentifier", "label", "version", "administrative", "access", "identification", "structural"],
8
- "properties": {
9
- "@context": {
10
- "description": "URI for the JSON-LD context definitions.",
11
- "type": "string"
12
- },
13
- "@type": {
14
- "description": "The content type of the File.",
15
- "type": "string",
16
- "enum": [
17
- "http://cocina.sul.stanford.edu/models/file.jsonld"
18
- ]
19
- },
20
- "depositor": {
21
- "description": "The Agent (User, Group, Application, Department, other) that deposited the File into SDR.",
22
- "$ref": "/Agent"
23
- },
24
- "externalIdentifier": {
25
- "description": "Identifier for the resource within the SDR architecture but outside of the repository. UUID. Constant across resource versions. What clients will use calling the repository. Same as `identification.identifier`",
26
- "type": "string"
27
- },
28
- "filename": {
29
- "description": "Filename for a file. Can be same as label.",
30
- "type": "string"
31
- },
32
- "format": {
33
- "description": "Format of the File.",
34
- "type": "string"
35
- },
36
- "hasMessageDigests": {
37
- "description": "The output of the message digest algorithm.",
38
- "type": "array",
39
- "items": {
40
- "required": ["type", "digest"],
41
- "properties": {
42
- "type": {
43
- "description": "The algorithm that was used",
44
- "type": "string",
45
- "enum": ["md5", "sha1"]
46
- },
47
- "digest": {
48
- "description": "The digest value",
49
- "type": "string"
50
- }
51
- }
52
- }
53
- },
54
- "hasMimeType": {
55
- "description": "MIME Type of the File.",
56
- "type": "string"
57
- },
58
- "label": {
59
- "description": "Primary processing label (can be same as title) for a File.",
60
- "type": "string"
61
- },
62
- "presentation": {
63
- "description": "Presentation data for the File.",
64
- "type": "object",
65
- "properties": {
66
- "height": {
67
- "description": "Height in pixels",
68
- "type": "integer"
69
- },
70
- "width": {
71
- "description": "Width in pixels",
72
- "type": "integer"
73
- }
74
- }
75
- },
76
- "size": {
77
- "description": "Size of the File (binary) in bytes.",
78
- "type": "integer"
79
- },
80
- "internalIdentifier": {
81
- "description": "Identifier for the resource within the repository. UUID, unique for each new version of a repository resource.",
82
- "type": "string"
83
- },
84
- "use": {
85
- "description": "Use for the File.",
86
- "type": "string"
87
- },
88
- "version": {
89
- "description": "Version for the File within SDR.",
90
- "type": "integer"
91
- },
92
- "precedingVersion": {
93
- "description": "Preceding version for the File within SDR.",
94
- "type": "string"
95
- },
96
- "followingVersion": {
97
- "description": "Following version for the File within SDR.",
98
- "type": "string"
99
- },
100
- "access": {
101
- "description": "Access Metadata for the File.",
102
- "type": "object",
103
- "required": ["access", "download"],
104
- "properties": {
105
- "access": {
106
- "description": "Access level for the File. If \"dark\" this won't go into public xml contentMetadata.",
107
- "type": "string",
108
- "enum": ["world", "stanford", "location-based", "citation-only", "dark"]
109
- },
110
- "download": {
111
- "description": "Download level for the File binary.",
112
- "type": "string",
113
- "enum": ["world", "stanford", "location-based", "citation-only", "dark"]
114
- }
115
- }
116
- },
117
- "administrative": {
118
- "type": "object",
119
- "description": "Administrative metadata for the SDR resource.",
120
- "required": ["created", "sdrPreserve"],
121
- "properties": {
122
- "created": {
123
- "description": "When the resource in SDR was created.",
124
- "type": "string",
125
- "format": "date-time"
126
- },
127
- "deleted": {
128
- "description": "If the resource has been deleted (but not purged).",
129
- "type": "boolean"
130
- },
131
- "gravestoneMessage": {
132
- "description": "Message describing why the resource was deleted.",
133
- "type": "string"
134
- },
135
- "lastUpdated": {
136
- "description": "When the resource in SDR was last updated.",
137
- "type": "string",
138
- "format": "date-time"
139
- },
140
- "partOfProject": {
141
- "description": "Administrative or Internal project this resource is a part of.",
142
- "type": "string"
143
- },
144
- "sdrPreserve": {
145
- "description": "If this resource should be sent to Preservation.",
146
- "type": "boolean"
147
- },
148
- "shelve": {
149
- "description": "If this resource should be sent to Stacks.",
150
- "type": "boolean"
151
- },
152
- "remediatedBy": {
153
- "description": "The Agent (User, Group, Application, Department, other) that remediated this File in SDR.",
154
- "type": "array",
155
- "items": {
156
- "$ref": "/Agent"
157
- }
158
- }
159
- }
160
- },
161
- "identification": {
162
- "description": "Identifying information for the File.",
163
- "type": "object",
164
- "required": ["identifier", "sdrUUID"],
165
- "properties": {
166
- "filename": {
167
- "description": "Filename for the File from originating systems.",
168
- "type": "string"
169
- },
170
- "identifier": {
171
- "description": "Identifier for the File within the Stanford Digital Repository system",
172
- "type": "string"
173
- },
174
- "sdrUUID": {
175
- "type": "string",
176
- "description": "UUID previously minted for the resource within SDR2 / Fedora 3."
177
- }
178
- }
179
- },
180
- "structural": {
181
- "description": "Structural metadata for the File.",
182
- "type": "object",
183
- "required": ["isContainedBy"],
184
- "properties": {
185
- "isContainedBy": {
186
- "description": "Fileset that contains this File.",
187
- "type": "string"
188
- },
189
- "isTargetOf": {
190
- "description": "An Annotation instance that applies to this File.",
191
- "type": "string"
192
- }
193
- }
194
- }
195
- }
196
- }
@@ -1,143 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-06/schema#",
3
- "id": "http://cocina.sul.stanford.edu/schemas/Fileset",
4
- "title": "Fileset",
5
- "description": "Relevant groupings of Files. Also called a File Grouping.",
6
- "type": "object",
7
- "required": ["@context", "@type", "externalIdentifier", "internalIdentifier", "label", "version", "administrative", "access", "identification", "structural"],
8
- "properties": {
9
- "@context": {
10
- "description": "URI for the JSON-LD context definitions.",
11
- "type": "string"
12
- },
13
- "@type": {
14
- "description": "The content type of the Fileset.",
15
- "type": "string",
16
- "enum": [
17
- "http://cocina.sul.stanford.edu/models/fileset.jsonld"
18
- ]
19
- },
20
- "depositor": {
21
- "description": "The Agent (User, Group, Application, Department, other) that deposited the Fileset into SDR.",
22
- "$ref": "/Agent"
23
- },
24
- "label": {
25
- "description": "Primary processing label (can be same as title) for a Fileset.",
26
- "type": "string"
27
- },
28
- "externalIdentifier": {
29
- "description": "Identifier for the resource within the SDR architecture but outside of the repository. UUID. Constant across resource versions. What clients will use calling the repository. Same as `identification.identifier`",
30
- "type": "string"
31
- },
32
- "internalIdentifier": {
33
- "description": "Identifier for the resource within the repository. UUID, unique for each new version of a repository resource.",
34
- "type": "string"
35
- },
36
- "version": {
37
- "description": "Version for the Fileset within SDR.",
38
- "type": "integer"
39
- },
40
- "precedingVersion": {
41
- "description": "Preceding version for the Fileset within SDR.",
42
- "type": "string"
43
- },
44
- "followingVersion": {
45
- "description": "Following version for the Fileset within SDR.",
46
- "type": "string"
47
- },
48
- "access": {
49
- "description": "Access Metadata for the Fileset.",
50
- "type": "object",
51
- "required": ["access", "download"],
52
- "properties": {
53
- "access": {
54
- "description": "Access level for the Fileset.",
55
- "type": "string",
56
- "enum": ["world", "stanford", "location-based", "citation-only", "dark"]
57
- },
58
- "download": {
59
- "description": "Download level for the Fileset metadata.",
60
- "type": "string",
61
- "enum": ["world", "stanford", "location-based", "citation-only", "dark"]
62
- }
63
- }
64
- },
65
- "administrative": {
66
- "type": "object",
67
- "description": "Administrative metadata for the SDR resource.",
68
- "required": ["created", "sdrPreserve"],
69
- "properties": {
70
- "created": {
71
- "description": "When the resource in SDR was created.",
72
- "type": "string",
73
- "format": "date-time"
74
- },
75
- "deleted": {
76
- "description": "If the resource has been deleted (but not purged).",
77
- "type": "boolean"
78
- },
79
- "gravestoneMessage": {
80
- "description": "Message describing why the resource was deleted.",
81
- "type": "string"
82
- },
83
- "lastUpdated": {
84
- "description": "When the resource in SDR was last updated.",
85
- "type": "string",
86
- "format": "date-time"
87
- },
88
- "partOfProject": {
89
- "description": "Administrative or Internal project this resource is a part of.",
90
- "type": "string"
91
- },
92
- "sdrPreserve": {
93
- "description": "If this resource should be sent to Preservation.",
94
- "type": "boolean"
95
- },
96
- "remediatedBy": {
97
- "description": "The Agent (User, Group, Application, Department, other) that remediated a Fileset in SDR.",
98
- "type": "array",
99
- "items": {
100
- "$ref": "/Agent"
101
- }
102
- }
103
- }
104
- },
105
- "identification": {
106
- "description": "Identifying information for the Fileset.",
107
- "type": "object",
108
- "required": ["identifier"],
109
- "properties": {
110
- "identifier": {
111
- "description": "Identifier for the Fileset within the Stanford Digital Repository system",
112
- "type": "string"
113
- },
114
- "sdrUUID": {
115
- "type": "string",
116
- "description": "UUID previously minted for the resource within SDR2 / Fedora 3."
117
- }
118
- }
119
- },
120
- "structural": {
121
- "description": "Structural metadata for the Fileset.",
122
- "type": "object",
123
- "required": ["isContainedBy"],
124
- "properties": {
125
- "contains": {
126
- "description": "Files that are members of the fileset.",
127
- "type": "array",
128
- "items": {
129
- "$ref": "/File"
130
- }
131
- },
132
- "isContainedBy": {
133
- "description": "Parent DRO that is represented by the files in this Fileset.",
134
- "type": "string"
135
- },
136
- "isTargetOf": {
137
- "description": "An Annotation instance that applies to this Fileset.",
138
- "type": "string"
139
- }
140
- }
141
- }
142
- }
143
- }
data/docs/maps/README.md DELETED
@@ -1,7 +0,0 @@
1
- # COCINA Metadata Application Profiles (MAPs) 🗺️
2
-
3
- This directory contains the metadata application profiles, or MAPs, for resources managed within the Stanford Digital Repository.
4
-
5
- Ultimately, these will relate to the API specifications for resources passed in or out for resource metadata validation and management. These are also MAPs we expect to iterate on, given the nature of metadata in library digital repository systems.
6
-
7
- Fuller documentation on these MAPs and the underlying model can be found here: https://sul-dlss.github.io/taco-truck/COCINA.html#cocina-data-models--shapes