cocina-models 0.73.1 → 0.73.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/description_types.yml +64 -40
- data/docs/description_types.md +58 -34
- data/lib/cocina/models/validators/description_types_validator.rb +2 -2
- data/lib/cocina/models/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e36c91847522f749650469baa62212b07632cb7f9911765ecf87ba4954b3b056
|
4
|
+
data.tar.gz: a3491dee559e9d808710119bb37ae04c2bb7bbe132206cb43303d14e891502ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f54524fe21ca78880b045703d4c9083a11e82e15d37fa5c9b1ec68d2bcb97d41981effc17824b1def7dfb193c150fca4f72d051357c47d3872098e9e104d7c96
|
7
|
+
data.tar.gz: 48f9104d7eafb5df6a10bb77962e888a5c372172a325f6b8ffbd494a0ca554d1c51d482403a5210a1b83daf611ba37bf1612d0d7750327c7687f0f90b3f7efe6
|
data/description_types.yml
CHANGED
@@ -109,8 +109,10 @@ event:
|
|
109
109
|
description: An explicit statement that a resource is under copyright.
|
110
110
|
- value: creation
|
111
111
|
description: The coming into being of a resource.
|
112
|
+
- value: deaccession
|
112
113
|
- value: degree conferral
|
113
114
|
description: The institutional approval of a thesis or other resource leading to an academic degree.
|
115
|
+
- value: deposit
|
114
116
|
- value: development
|
115
117
|
description: The creation of a print from a photographic negative or other source medium.
|
116
118
|
- value: distribution
|
@@ -148,10 +150,13 @@ event.date:
|
|
148
150
|
description: The addition of a resource to a set of other resources.
|
149
151
|
- value: copyright
|
150
152
|
description: The activity by which a resource may be considered subject to copyright law.
|
153
|
+
- value: coverage
|
151
154
|
- value: creation
|
152
155
|
description: The coming into being of a resource.
|
156
|
+
- value: deaccession
|
153
157
|
- value: degree conferral
|
154
158
|
description: The institutional approval of a thesis or other resource leading to an academic degree.
|
159
|
+
- value: deposit
|
155
160
|
- value: developed
|
156
161
|
description: The creation of a print from a photographic negative or other source medium.
|
157
162
|
status: deprecated
|
@@ -162,6 +167,9 @@ event.date:
|
|
162
167
|
description: The delivery of the resource to an external audience.
|
163
168
|
- value: generation
|
164
169
|
description: The creation of a resource by an automatic or natural process.
|
170
|
+
- value: Hijiri calendar
|
171
|
+
- value: Islamic
|
172
|
+
- value: Julian
|
165
173
|
- value: manufacture
|
166
174
|
description: The physical assembly of a resource, often in multiple copies, for publication or other distribution.
|
167
175
|
- value: modification
|
@@ -178,12 +186,15 @@ event.date:
|
|
178
186
|
description: The initial fixation to a medium of live audio and/or visual activity.
|
179
187
|
- value: release
|
180
188
|
description: Making a resource available to a broader audience.
|
189
|
+
- value: Revolutionary calendar
|
181
190
|
- value: submission
|
182
191
|
description: The provision of a resource for review or evaluation.
|
183
192
|
- value: validity
|
184
193
|
description: When a resource takes effect, such as a revised train schedule.
|
185
194
|
- value: withdrawal
|
186
195
|
description: The removal of previous access to a resource, often due to its obsolescence.
|
196
|
+
event.date.note:
|
197
|
+
- value: calendar
|
187
198
|
event.date.structuredValue:
|
188
199
|
- value: start
|
189
200
|
description: The start date in a range.
|
@@ -200,7 +211,7 @@ event.note:
|
|
200
211
|
form:
|
201
212
|
- value: carrier
|
202
213
|
- value: data format
|
203
|
-
- value: digital
|
214
|
+
- value: digital origin
|
204
215
|
- value: extent
|
205
216
|
- value: form
|
206
217
|
- value: genre
|
@@ -213,45 +224,6 @@ form:
|
|
213
224
|
- value: resource type
|
214
225
|
- value: technique
|
215
226
|
- value: type
|
216
|
-
form.note:
|
217
|
-
- value: additions
|
218
|
-
- value: arrangement
|
219
|
-
- value: binding
|
220
|
-
- value: codicology
|
221
|
-
- value: collation
|
222
|
-
- value: colophon
|
223
|
-
- value: condition
|
224
|
-
- value: decoNote
|
225
|
-
status: deprecated
|
226
|
-
use: decoration
|
227
|
-
- value: decoration
|
228
|
-
- value: dimensions
|
229
|
-
- value: explicit
|
230
|
-
- value: foliation
|
231
|
-
- value: genre type
|
232
|
-
- value: hand note
|
233
|
-
- value: handNote
|
234
|
-
status: deprecated
|
235
|
-
use: hand note
|
236
|
-
- value: incipit
|
237
|
-
- value: instrumentation
|
238
|
-
- value: layout
|
239
|
-
- value: material
|
240
|
-
- value: medium of performance
|
241
|
-
- value: provenance
|
242
|
-
- value: reassembly
|
243
|
-
- value: reproduction
|
244
|
-
- value: research
|
245
|
-
- value: rubric
|
246
|
-
- value: secfol
|
247
|
-
status: deprecated
|
248
|
-
use: second folio
|
249
|
-
- value: second folio
|
250
|
-
- value: secondFolio
|
251
|
-
status: deprecated
|
252
|
-
use: second folio
|
253
|
-
- value: unit
|
254
|
-
- value: writing
|
255
227
|
form.structuredValue:
|
256
228
|
- value: type
|
257
229
|
- value: subtype
|
@@ -273,6 +245,7 @@ geographic.subject.structuredValue:
|
|
273
245
|
identifier:
|
274
246
|
- value: accession number
|
275
247
|
- value: alternate case number
|
248
|
+
- value: anchor
|
276
249
|
- value: Apis ID
|
277
250
|
code: apis
|
278
251
|
- value: ARK
|
@@ -281,6 +254,9 @@ identifier:
|
|
281
254
|
code: arxiv
|
282
255
|
- value: case identifier
|
283
256
|
- value: case number
|
257
|
+
- value: CSt
|
258
|
+
- value: CStRLIN
|
259
|
+
- value: Data Provider Digital Object Identifier
|
284
260
|
- value: document number
|
285
261
|
- value: DOI
|
286
262
|
code: doi
|
@@ -314,6 +290,7 @@ identifier:
|
|
314
290
|
- value: music publisher
|
315
291
|
code: music-publisher
|
316
292
|
- value: OCLC
|
293
|
+
- value: OCoLC
|
317
294
|
- value: PMCID
|
318
295
|
- value: PMID
|
319
296
|
- value: record id
|
@@ -326,6 +303,7 @@ identifier:
|
|
326
303
|
use: Source ID
|
327
304
|
- value: stock number
|
328
305
|
code: stock-number
|
306
|
+
- value: SUL catalog key
|
329
307
|
- value: Swets (Netherlands) ID
|
330
308
|
code: swets
|
331
309
|
- value: UPC
|
@@ -351,8 +329,10 @@ note:
|
|
351
329
|
- value: additions
|
352
330
|
- value: admin
|
353
331
|
- value: affiliation
|
332
|
+
- value: arrangement
|
354
333
|
- value: bibliographic
|
355
334
|
- value: bibliography
|
335
|
+
- value: binding
|
356
336
|
- value: biographical/historical
|
357
337
|
- value: biographical/historical note
|
358
338
|
status: deprecated
|
@@ -360,6 +340,10 @@ note:
|
|
360
340
|
- value: biography
|
361
341
|
- value: boat note
|
362
342
|
- value: citation/reference
|
343
|
+
- value: codicology
|
344
|
+
- value: collation
|
345
|
+
- value: colophon
|
346
|
+
- value: condition
|
363
347
|
- value: contact
|
364
348
|
- value: content
|
365
349
|
- value: content note
|
@@ -373,23 +357,41 @@ note:
|
|
373
357
|
- value: creation/production credits
|
374
358
|
- value: date
|
375
359
|
- value: date/sequential designation
|
360
|
+
- value: decoNote
|
361
|
+
status: deprecated
|
362
|
+
use: decoration
|
363
|
+
- value: decoration
|
376
364
|
- value: description
|
377
365
|
- value: digitization
|
366
|
+
- value: dimensions
|
378
367
|
- value: duration
|
368
|
+
- value: email
|
379
369
|
- value: event
|
380
370
|
- value: exhibitions
|
371
|
+
- value: explicit
|
372
|
+
- value: foliation
|
381
373
|
- value: funding
|
382
374
|
- value: general
|
383
375
|
- value: genre type
|
384
376
|
- value: geography
|
377
|
+
- value: hand note
|
378
|
+
- value: handNote
|
379
|
+
status: deprecated
|
380
|
+
use: hand note
|
381
|
+
- value: handwritten
|
385
382
|
- value: host
|
383
|
+
- value: incipit
|
384
|
+
- value: instrumentation
|
386
385
|
- value: language
|
386
|
+
- value: layout
|
387
387
|
- value: local
|
388
388
|
- value: location
|
389
|
+
- value: material
|
389
390
|
- value: medium of performance
|
390
391
|
- value: names
|
391
392
|
- value: numbering
|
392
393
|
- value: original location
|
394
|
+
- value: other
|
393
395
|
- value: other relation type
|
394
396
|
- value: ownership
|
395
397
|
- value: part
|
@@ -403,11 +405,20 @@ note:
|
|
403
405
|
- value: reassembly
|
404
406
|
- value: reference
|
405
407
|
- value: references
|
408
|
+
- value: reformatting
|
406
409
|
- value: related publication
|
407
410
|
- value: reproduction
|
408
411
|
- value: research
|
409
412
|
- value: restriction
|
413
|
+
- value: rubric
|
410
414
|
- value: scope and content
|
415
|
+
- value: secfol
|
416
|
+
status: deprecated
|
417
|
+
use: second folio
|
418
|
+
- value: second folio
|
419
|
+
- value: secondFolio
|
420
|
+
status: deprecated
|
421
|
+
use: second folio
|
411
422
|
- value: source characteristics
|
412
423
|
- value: source identifier
|
413
424
|
- value: statement of responsibility
|
@@ -420,6 +431,7 @@ note:
|
|
420
431
|
- value: thesis
|
421
432
|
- value: transcript
|
422
433
|
- value: translation
|
434
|
+
- value: unit
|
423
435
|
- value: update
|
424
436
|
- value: use and reproduction
|
425
437
|
- value: venue
|
@@ -481,20 +493,27 @@ subject:
|
|
481
493
|
- value: title
|
482
494
|
- value: topic
|
483
495
|
subject.note:
|
496
|
+
- value: affiliation
|
497
|
+
- value: description
|
484
498
|
- value: role
|
485
499
|
subject.structuredValue:
|
486
500
|
- value: activity dates
|
501
|
+
- value: area
|
487
502
|
- value: city
|
503
|
+
- value: city section
|
488
504
|
- value: conference
|
489
505
|
- value: continent
|
490
506
|
- value: country
|
507
|
+
- value: county
|
491
508
|
- value: end
|
492
509
|
- value: east
|
493
510
|
- value: event
|
511
|
+
- value: extraterrestrial area
|
494
512
|
- value: display
|
495
513
|
- value: family
|
496
514
|
- value: forename
|
497
515
|
- value: genre
|
516
|
+
- value: island
|
498
517
|
- value: latitude
|
499
518
|
- value: life dates
|
500
519
|
- value: longitude
|
@@ -505,17 +524,22 @@ subject.structuredValue:
|
|
505
524
|
- value: ordinal
|
506
525
|
- value: organization
|
507
526
|
- value: part name
|
527
|
+
- value: part number
|
508
528
|
- value: person
|
509
529
|
- value: place
|
530
|
+
- value: region
|
510
531
|
- value: south
|
511
532
|
- value: start
|
533
|
+
- value: state
|
512
534
|
- value: surname
|
513
535
|
- value: term of address
|
536
|
+
- value: territory
|
514
537
|
- value: time
|
515
538
|
- value: title
|
516
539
|
- value: topic
|
517
540
|
- value: west
|
518
541
|
subject.structuredValue.note:
|
542
|
+
- value: affiliation
|
519
543
|
- value: role
|
520
544
|
description: The relation of the subject entity to the resource.
|
521
545
|
subject.groupedValue:
|
data/docs/description_types.md
CHANGED
@@ -83,7 +83,9 @@ _Path: event_
|
|
83
83
|
* copyright: The activity by which a resource may be considered subject to copyright law.
|
84
84
|
* copyright notice: An explicit statement that a resource is under copyright.
|
85
85
|
* creation: The coming into being of a resource.
|
86
|
+
* deaccession
|
86
87
|
* degree conferral: The institutional approval of a thesis or other resource leading to an academic degree.
|
88
|
+
* deposit
|
87
89
|
* development: The creation of a print from a photographic negative or other source medium.
|
88
90
|
* distribution: The delivery of the resource to an external audience.
|
89
91
|
* generation: The creation of a resource by an automatic or natural process.
|
@@ -105,12 +107,18 @@ _Path: event.date_
|
|
105
107
|
* capture: A record of the resource in a fixed form at a specific time.
|
106
108
|
* collection: The addition of a resource to a set of other resources.
|
107
109
|
* copyright: The activity by which a resource may be considered subject to copyright law.
|
110
|
+
* coverage
|
108
111
|
* creation: The coming into being of a resource.
|
112
|
+
* deaccession
|
109
113
|
* degree conferral: The institutional approval of a thesis or other resource leading to an academic degree.
|
114
|
+
* deposit
|
110
115
|
* developed: The creation of a print from a photographic negative or other source medium.
|
111
116
|
* development: The creation of a print from a photographic negative or other source medium.
|
112
117
|
* distribution: The delivery of the resource to an external audience.
|
113
118
|
* generation: The creation of a resource by an automatic or natural process.
|
119
|
+
* Hijiri calendar
|
120
|
+
* Islamic
|
121
|
+
* Julian
|
114
122
|
* manufacture: The physical assembly of a resource, often in multiple copies, for publication or other distribution.
|
115
123
|
* modification: A change to an existing resource.
|
116
124
|
* performance: The enactment of an artistic or cultural work for an audience, such as a play.
|
@@ -119,10 +127,15 @@ _Path: event.date_
|
|
119
127
|
* publication: The publishing or issuing of a resource.
|
120
128
|
* recording: The initial fixation to a medium of live audio and/or visual activity.
|
121
129
|
* release: Making a resource available to a broader audience.
|
130
|
+
* Revolutionary calendar
|
122
131
|
* submission: The provision of a resource for review or evaluation.
|
123
132
|
* validity: When a resource takes effect, such as a revised train schedule.
|
124
133
|
* withdrawal: The removal of previous access to a resource, often due to its obsolescence.
|
125
134
|
|
135
|
+
### Event date note types
|
136
|
+
_Path: event.date.note_
|
137
|
+
* calendar
|
138
|
+
|
126
139
|
### Event date part types for structured value
|
127
140
|
_Path: event.date.structuredValue_
|
128
141
|
* start: The start date in a range.
|
@@ -139,7 +152,7 @@ _Path: event.note_
|
|
139
152
|
_Path: form_
|
140
153
|
* carrier
|
141
154
|
* data format
|
142
|
-
* digital
|
155
|
+
* digital origin
|
143
156
|
* extent
|
144
157
|
* form
|
145
158
|
* genre
|
@@ -153,39 +166,6 @@ _Path: form_
|
|
153
166
|
* technique
|
154
167
|
* type
|
155
168
|
|
156
|
-
## Form note types
|
157
|
-
_Path: form.note_
|
158
|
-
* additions
|
159
|
-
* arrangement
|
160
|
-
* binding
|
161
|
-
* codicology
|
162
|
-
* collation
|
163
|
-
* colophon
|
164
|
-
* condition
|
165
|
-
* decoNote
|
166
|
-
* decoration
|
167
|
-
* dimensions
|
168
|
-
* explicit
|
169
|
-
* foliation
|
170
|
-
* genre type
|
171
|
-
* hand note
|
172
|
-
* handNote
|
173
|
-
* incipit
|
174
|
-
* instrumentation
|
175
|
-
* layout
|
176
|
-
* material
|
177
|
-
* medium of performance
|
178
|
-
* provenance
|
179
|
-
* reassembly
|
180
|
-
* reproduction
|
181
|
-
* research
|
182
|
-
* rubric
|
183
|
-
* secfol
|
184
|
-
* second folio
|
185
|
-
* secondFolio
|
186
|
-
* unit
|
187
|
-
* writing
|
188
|
-
|
189
169
|
## Form part types for structured value
|
190
170
|
_Path: form.structuredValue_
|
191
171
|
* type
|
@@ -216,11 +196,15 @@ _Path: geographic.subject.structuredValue_
|
|
216
196
|
_Path: identifier_
|
217
197
|
* accession number
|
218
198
|
* alternate case number
|
199
|
+
* anchor
|
219
200
|
* Apis ID
|
220
201
|
* ARK
|
221
202
|
* arXiv
|
222
203
|
* case identifier
|
223
204
|
* case number
|
205
|
+
* CSt
|
206
|
+
* CStRLIN
|
207
|
+
* Data Provider Digital Object Identifier
|
224
208
|
* document number
|
225
209
|
* DOI
|
226
210
|
* druid
|
@@ -240,6 +224,7 @@ _Path: identifier_
|
|
240
224
|
* music plate
|
241
225
|
* music publisher
|
242
226
|
* OCLC
|
227
|
+
* OCoLC
|
243
228
|
* PMCID
|
244
229
|
* PMID
|
245
230
|
* record id
|
@@ -249,6 +234,7 @@ _Path: identifier_
|
|
249
234
|
* Source ID
|
250
235
|
* sourceID
|
251
236
|
* stock number
|
237
|
+
* SUL catalog key
|
252
238
|
* Swets (Netherlands) ID
|
253
239
|
* UPC
|
254
240
|
* URI
|
@@ -268,13 +254,19 @@ _Path: note_
|
|
268
254
|
* additions
|
269
255
|
* admin
|
270
256
|
* affiliation
|
257
|
+
* arrangement
|
271
258
|
* bibliographic
|
272
259
|
* bibliography
|
260
|
+
* binding
|
273
261
|
* biographical/historical
|
274
262
|
* biographical/historical note
|
275
263
|
* biography
|
276
264
|
* boat note
|
277
265
|
* citation/reference
|
266
|
+
* codicology
|
267
|
+
* collation
|
268
|
+
* colophon
|
269
|
+
* condition
|
278
270
|
* contact
|
279
271
|
* content
|
280
272
|
* content note
|
@@ -284,23 +276,37 @@ _Path: note_
|
|
284
276
|
* creation/production credits
|
285
277
|
* date
|
286
278
|
* date/sequential designation
|
279
|
+
* decoNote
|
280
|
+
* decoration
|
287
281
|
* description
|
288
282
|
* digitization
|
283
|
+
* dimensions
|
289
284
|
* duration
|
285
|
+
* email
|
290
286
|
* event
|
291
287
|
* exhibitions
|
288
|
+
* explicit
|
289
|
+
* foliation
|
292
290
|
* funding
|
293
291
|
* general
|
294
292
|
* genre type
|
295
293
|
* geography
|
294
|
+
* hand note
|
295
|
+
* handNote
|
296
|
+
* handwritten
|
296
297
|
* host
|
298
|
+
* incipit
|
299
|
+
* instrumentation
|
297
300
|
* language
|
301
|
+
* layout
|
298
302
|
* local
|
299
303
|
* location
|
304
|
+
* material
|
300
305
|
* medium of performance
|
301
306
|
* names
|
302
307
|
* numbering
|
303
308
|
* original location
|
309
|
+
* other
|
304
310
|
* other relation type
|
305
311
|
* ownership
|
306
312
|
* part
|
@@ -314,11 +320,16 @@ _Path: note_
|
|
314
320
|
* reassembly
|
315
321
|
* reference
|
316
322
|
* references
|
323
|
+
* reformatting
|
317
324
|
* related publication
|
318
325
|
* reproduction
|
319
326
|
* research
|
320
327
|
* restriction
|
328
|
+
* rubric
|
321
329
|
* scope and content
|
330
|
+
* secfol
|
331
|
+
* second folio
|
332
|
+
* secondFolio
|
322
333
|
* source characteristics
|
323
334
|
* source identifier
|
324
335
|
* statement of responsibility
|
@@ -331,6 +342,7 @@ _Path: note_
|
|
331
342
|
* thesis
|
332
343
|
* transcript
|
333
344
|
* translation
|
345
|
+
* unit
|
334
346
|
* update
|
335
347
|
* use and reproduction
|
336
348
|
* venue
|
@@ -387,22 +399,29 @@ _Path: subject_
|
|
387
399
|
|
388
400
|
## Subject note types
|
389
401
|
_Path: subject.note_
|
402
|
+
* affiliation
|
403
|
+
* description
|
390
404
|
* role
|
391
405
|
|
392
406
|
## Subject part types for structured value
|
393
407
|
_Path: subject.structuredValue_
|
394
408
|
* activity dates
|
409
|
+
* area
|
395
410
|
* city
|
411
|
+
* city section
|
396
412
|
* conference
|
397
413
|
* continent
|
398
414
|
* country
|
415
|
+
* county
|
399
416
|
* end
|
400
417
|
* east
|
401
418
|
* event
|
419
|
+
* extraterrestrial area
|
402
420
|
* display
|
403
421
|
* family
|
404
422
|
* forename
|
405
423
|
* genre
|
424
|
+
* island
|
406
425
|
* latitude
|
407
426
|
* life dates
|
408
427
|
* longitude
|
@@ -413,12 +432,16 @@ _Path: subject.structuredValue_
|
|
413
432
|
* ordinal
|
414
433
|
* organization
|
415
434
|
* part name
|
435
|
+
* part number
|
416
436
|
* person
|
417
437
|
* place
|
438
|
+
* region
|
418
439
|
* south
|
419
440
|
* start
|
441
|
+
* state
|
420
442
|
* surname
|
421
443
|
* term of address
|
444
|
+
* territory
|
422
445
|
* time
|
423
446
|
* title
|
424
447
|
* topic
|
@@ -426,6 +449,7 @@ _Path: subject.structuredValue_
|
|
426
449
|
|
427
450
|
### Subject note types
|
428
451
|
_Path: subject.structuredValue.note_
|
452
|
+
* affiliation
|
429
453
|
* role: The relation of the subject entity to the resource.
|
430
454
|
|
431
455
|
## Subject types for grouped value (MODS legacy)
|
@@ -11,7 +11,7 @@ module Cocina
|
|
11
11
|
|
12
12
|
def initialize(clazz, attributes)
|
13
13
|
@clazz = clazz
|
14
|
-
@attributes = attributes
|
14
|
+
@attributes = attributes.deep_symbolize_keys
|
15
15
|
@error_paths = []
|
16
16
|
end
|
17
17
|
|
@@ -60,7 +60,7 @@ module Cocina
|
|
60
60
|
next unless match?(path, type_signature)
|
61
61
|
break if types.include?(type.downcase)
|
62
62
|
|
63
|
-
error_paths << path_to_s(path)
|
63
|
+
error_paths << "#{path_to_s(path)} (#{type})"
|
64
64
|
break
|
65
65
|
end
|
66
66
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocina-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.73.
|
4
|
+
version: 0.73.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|