cocina-models 0.73.2 → 0.73.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d9daf76e1c730f4d90feb50aef11b7c07311c3de072e3aa3fda2a333bcaa9e3
4
- data.tar.gz: 4146a2ea5576342e551174c8a7bb6105dab17183891deb51ffdae8078c4e9376
3
+ metadata.gz: 11b6de2805a605b0d83a9a916853f28259e8d315416c7247139d56b6a55d3e98
4
+ data.tar.gz: ceaf1f13eab3d7cded994c4c23fab8801b33f4b896f71bca533ac55cb3d4d87f
5
5
  SHA512:
6
- metadata.gz: 67afdadc24eb7b51c372ce92e1acb421adb912049c6e602da6c5e7a0b681e49169e3c1bff00fed9fa819bc2a90a5c924c0a99f3a168e4bf5636be4623f75f389
7
- data.tar.gz: e6aae26f2c653b75a604fdda11ad6db9b41014e199f0d6cdc6fc6139544fc881a372830553e95250a0b96692854a32b829d3abd6ba54fe809304e6ae8e1d049e
6
+ metadata.gz: 101eadc132a1460f464d820e33a9793dfb853da294d1a9efd62144aa7d93a7b1d578ed459a1eba6bfff3e2b1e0d711444e1695cb525299ac7a6b3bab8793fc35
7
+ data.tar.gz: aa243cb0bca5f1a3e397679dadcae01f7498ef4f8f475c38f5d4d34ca2b720c10e1710bc5394615d4049fb2dd33f85ea3d38855f3b021023822601529740b29b
@@ -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
@@ -140,18 +142,30 @@ event:
140
142
  - value: withdrawal
141
143
  description: The removal of previous access to a resource, often due to its obsolescence.
142
144
  event.date:
145
+ - value: accompanying letter
146
+ description: Athanasius
147
+ status: deprecated
143
148
  - value: acquisition
144
149
  description: The transferral of ownership of a resource to a repository.
145
150
  - value: capture
146
151
  description: A record of the resource in a fixed form at a specific time.
147
152
  - value: collection
148
153
  description: The addition of a resource to a set of other resources.
154
+ - value: composition
155
+ description: Athanasius
156
+ status: deprecated
157
+ - value: copy
158
+ description: Athanasius
159
+ status: deprecated
149
160
  - value: copyright
150
161
  description: The activity by which a resource may be considered subject to copyright law.
162
+ - value: coverage
151
163
  - value: creation
152
164
  description: The coming into being of a resource.
165
+ - value: deaccession
153
166
  - value: degree conferral
154
167
  description: The institutional approval of a thesis or other resource leading to an academic degree.
168
+ - value: deposit
155
169
  - value: developed
156
170
  description: The creation of a print from a photographic negative or other source medium.
157
171
  status: deprecated
@@ -162,28 +176,67 @@ event.date:
162
176
  description: The delivery of the resource to an external audience.
163
177
  - value: generation
164
178
  description: The creation of a resource by an automatic or natural process.
179
+ - value: Hijiri calendar
180
+ - value: Islamic
181
+ - value: Julian
182
+ - value: letter
183
+ description: Athanasius
184
+ status: deprecated
185
+ - value: letter referred to
186
+ description: Athanasius
187
+ status: deprecated
165
188
  - value: manufacture
166
189
  description: The physical assembly of a resource, often in multiple copies, for publication or other distribution.
190
+ - value: manuscript
191
+ description: Athanasius
192
+ status: deprecated
193
+ - value: manuscript referred to
194
+ description: Athanasius
195
+ status: deprecated
167
196
  - value: modification
168
197
  description: A change to an existing resource.
198
+ - value: new document
199
+ description: Athanasius
200
+ - value: new style letter
201
+ status: deprecated
202
+ description: Athanasius
203
+ status: deprecated
204
+ - value: observation
205
+ description: Athanasius
206
+ status: deprecated
207
+ - value: old style letter
208
+ description: Athanasius
209
+ status: deprecated
210
+ - value: original sent
211
+ description: Athanasius
212
+ status: deprecated
169
213
  - value: performance
170
214
  description: The enactment of an artistic or cultural work for an audience, such as a play.
171
215
  - value: presentation
172
216
  description: The discussion of an academic or intellectual work for an audience, such as a seminar.
217
+ - value: proclamation
218
+ description: Athanasius
219
+ status: deprecated
173
220
  - value: production
174
221
  description: The physical assembly of a resource not considered published, such as page proofs for a book.
175
222
  - value: publication
176
223
  description: The publishing or issuing of a resource.
224
+ - value: quoted
225
+ description: Athanasius
226
+ status: deprecated
177
227
  - value: recording
178
228
  description: The initial fixation to a medium of live audio and/or visual activity.
179
229
  - value: release
180
230
  description: Making a resource available to a broader audience.
231
+ - value: Revolutionary calendar
181
232
  - value: submission
182
233
  description: The provision of a resource for review or evaluation.
183
234
  - value: validity
184
235
  description: When a resource takes effect, such as a revised train schedule.
185
236
  - value: withdrawal
186
237
  description: The removal of previous access to a resource, often due to its obsolescence.
238
+ event.date.note:
239
+ - value: calendar
187
240
  event.date.structuredValue:
188
241
  - value: start
189
242
  description: The start date in a range.
@@ -213,45 +266,6 @@ form:
213
266
  - value: resource type
214
267
  - value: technique
215
268
  - 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
269
  form.structuredValue:
256
270
  - value: type
257
271
  - value: subtype
@@ -273,6 +287,7 @@ geographic.subject.structuredValue:
273
287
  identifier:
274
288
  - value: accession number
275
289
  - value: alternate case number
290
+ - value: anchor
276
291
  - value: Apis ID
277
292
  code: apis
278
293
  - value: ARK
@@ -281,6 +296,9 @@ identifier:
281
296
  code: arxiv
282
297
  - value: case identifier
283
298
  - value: case number
299
+ - value: CSt
300
+ - value: CStRLIN
301
+ - value: Data Provider Digital Object Identifier
284
302
  - value: document number
285
303
  - value: DOI
286
304
  code: doi
@@ -314,6 +332,7 @@ identifier:
314
332
  - value: music publisher
315
333
  code: music-publisher
316
334
  - value: OCLC
335
+ - value: OCoLC
317
336
  - value: PMCID
318
337
  - value: PMID
319
338
  - value: record id
@@ -326,6 +345,7 @@ identifier:
326
345
  use: Source ID
327
346
  - value: stock number
328
347
  code: stock-number
348
+ - value: SUL catalog key
329
349
  - value: Swets (Netherlands) ID
330
350
  code: swets
331
351
  - value: UPC
@@ -351,8 +371,10 @@ note:
351
371
  - value: additions
352
372
  - value: admin
353
373
  - value: affiliation
374
+ - value: arrangement
354
375
  - value: bibliographic
355
376
  - value: bibliography
377
+ - value: binding
356
378
  - value: biographical/historical
357
379
  - value: biographical/historical note
358
380
  status: deprecated
@@ -360,6 +382,10 @@ note:
360
382
  - value: biography
361
383
  - value: boat note
362
384
  - value: citation/reference
385
+ - value: codicology
386
+ - value: collation
387
+ - value: colophon
388
+ - value: condition
363
389
  - value: contact
364
390
  - value: content
365
391
  - value: content note
@@ -373,23 +399,41 @@ note:
373
399
  - value: creation/production credits
374
400
  - value: date
375
401
  - value: date/sequential designation
402
+ - value: decoNote
403
+ status: deprecated
404
+ use: decoration
405
+ - value: decoration
376
406
  - value: description
377
407
  - value: digitization
408
+ - value: dimensions
378
409
  - value: duration
410
+ - value: email
379
411
  - value: event
380
412
  - value: exhibitions
413
+ - value: explicit
414
+ - value: foliation
381
415
  - value: funding
382
416
  - value: general
383
417
  - value: genre type
384
418
  - value: geography
419
+ - value: hand note
420
+ - value: handNote
421
+ status: deprecated
422
+ use: hand note
423
+ - value: handwritten
385
424
  - value: host
425
+ - value: incipit
426
+ - value: instrumentation
386
427
  - value: language
428
+ - value: layout
387
429
  - value: local
388
430
  - value: location
431
+ - value: material
389
432
  - value: medium of performance
390
433
  - value: names
391
434
  - value: numbering
392
435
  - value: original location
436
+ - value: other
393
437
  - value: other relation type
394
438
  - value: ownership
395
439
  - value: part
@@ -403,11 +447,20 @@ note:
403
447
  - value: reassembly
404
448
  - value: reference
405
449
  - value: references
450
+ - value: reformatting
406
451
  - value: related publication
407
452
  - value: reproduction
408
453
  - value: research
409
454
  - value: restriction
455
+ - value: rubric
410
456
  - value: scope and content
457
+ - value: secfol
458
+ status: deprecated
459
+ use: second folio
460
+ - value: second folio
461
+ - value: secondFolio
462
+ status: deprecated
463
+ use: second folio
411
464
  - value: source characteristics
412
465
  - value: source identifier
413
466
  - value: statement of responsibility
@@ -420,6 +473,7 @@ note:
420
473
  - value: thesis
421
474
  - value: transcript
422
475
  - value: translation
476
+ - value: unit
423
477
  - value: update
424
478
  - value: use and reproduction
425
479
  - value: venue
@@ -481,41 +535,54 @@ subject:
481
535
  - value: title
482
536
  - value: topic
483
537
  subject.note:
538
+ - value: affiliation
539
+ - value: description
484
540
  - value: role
485
541
  subject.structuredValue:
486
542
  - value: activity dates
543
+ - value: area
487
544
  - value: city
545
+ - value: city section
488
546
  - value: conference
489
547
  - value: continent
490
548
  - value: country
549
+ - value: county
491
550
  - value: end
492
551
  - value: east
493
552
  - value: event
553
+ - value: extraterrestrial area
494
554
  - value: display
495
555
  - value: family
496
556
  - value: forename
497
557
  - value: genre
558
+ - value: island
498
559
  - value: latitude
499
560
  - value: life dates
500
561
  - value: longitude
501
562
  - value: main title
502
563
  - value: name
564
+ - value: nonsorting characters
503
565
  - value: north
504
566
  - value: occupation
505
567
  - value: ordinal
506
568
  - value: organization
507
569
  - value: part name
570
+ - value: part number
508
571
  - value: person
509
572
  - value: place
573
+ - value: region
510
574
  - value: south
511
575
  - value: start
576
+ - value: state
512
577
  - value: surname
513
578
  - value: term of address
579
+ - value: territory
514
580
  - value: time
515
581
  - value: title
516
582
  - value: topic
517
583
  - value: west
518
584
  subject.structuredValue.note:
585
+ - value: affiliation
519
586
  - value: role
520
587
  description: The relation of the subject entity to the resource.
521
588
  subject.groupedValue:
@@ -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.
@@ -101,28 +103,53 @@ _Path: event_
101
103
 
102
104
  ## Event date types
103
105
  _Path: event.date_
106
+ * accompanying letter: Athanasius
104
107
  * acquisition: The transferral of ownership of a resource to a repository.
105
108
  * capture: A record of the resource in a fixed form at a specific time.
106
109
  * collection: The addition of a resource to a set of other resources.
110
+ * composition: Athanasius
111
+ * copy: Athanasius
107
112
  * copyright: The activity by which a resource may be considered subject to copyright law.
113
+ * coverage
108
114
  * creation: The coming into being of a resource.
115
+ * deaccession
109
116
  * degree conferral: The institutional approval of a thesis or other resource leading to an academic degree.
117
+ * deposit
110
118
  * developed: The creation of a print from a photographic negative or other source medium.
111
119
  * development: The creation of a print from a photographic negative or other source medium.
112
120
  * distribution: The delivery of the resource to an external audience.
113
121
  * generation: The creation of a resource by an automatic or natural process.
122
+ * Hijiri calendar
123
+ * Islamic
124
+ * Julian
125
+ * letter: Athanasius
126
+ * letter referred to: Athanasius
114
127
  * manufacture: The physical assembly of a resource, often in multiple copies, for publication or other distribution.
128
+ * manuscript: Athanasius
129
+ * manuscript referred to: Athanasius
115
130
  * modification: A change to an existing resource.
131
+ * new document: Athanasius
132
+ * new style letter: Athanasius
133
+ * observation: Athanasius
134
+ * old style letter: Athanasius
135
+ * original sent: Athanasius
116
136
  * performance: The enactment of an artistic or cultural work for an audience, such as a play.
117
137
  * presentation: The discussion of an academic or intellectual work for an audience, such as a seminar.
138
+ * proclamation: Athanasius
118
139
  * production: The physical assembly of a resource not considered published, such as page proofs for a book.
119
140
  * publication: The publishing or issuing of a resource.
141
+ * quoted: Athanasius
120
142
  * recording: The initial fixation to a medium of live audio and/or visual activity.
121
143
  * release: Making a resource available to a broader audience.
144
+ * Revolutionary calendar
122
145
  * submission: The provision of a resource for review or evaluation.
123
146
  * validity: When a resource takes effect, such as a revised train schedule.
124
147
  * withdrawal: The removal of previous access to a resource, often due to its obsolescence.
125
148
 
149
+ ### Event date note types
150
+ _Path: event.date.note_
151
+ * calendar
152
+
126
153
  ### Event date part types for structured value
127
154
  _Path: event.date.structuredValue_
128
155
  * start: The start date in a range.
@@ -153,39 +180,6 @@ _Path: form_
153
180
  * technique
154
181
  * type
155
182
 
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
183
  ## Form part types for structured value
190
184
  _Path: form.structuredValue_
191
185
  * type
@@ -216,11 +210,15 @@ _Path: geographic.subject.structuredValue_
216
210
  _Path: identifier_
217
211
  * accession number
218
212
  * alternate case number
213
+ * anchor
219
214
  * Apis ID
220
215
  * ARK
221
216
  * arXiv
222
217
  * case identifier
223
218
  * case number
219
+ * CSt
220
+ * CStRLIN
221
+ * Data Provider Digital Object Identifier
224
222
  * document number
225
223
  * DOI
226
224
  * druid
@@ -240,6 +238,7 @@ _Path: identifier_
240
238
  * music plate
241
239
  * music publisher
242
240
  * OCLC
241
+ * OCoLC
243
242
  * PMCID
244
243
  * PMID
245
244
  * record id
@@ -249,6 +248,7 @@ _Path: identifier_
249
248
  * Source ID
250
249
  * sourceID
251
250
  * stock number
251
+ * SUL catalog key
252
252
  * Swets (Netherlands) ID
253
253
  * UPC
254
254
  * URI
@@ -268,13 +268,19 @@ _Path: note_
268
268
  * additions
269
269
  * admin
270
270
  * affiliation
271
+ * arrangement
271
272
  * bibliographic
272
273
  * bibliography
274
+ * binding
273
275
  * biographical/historical
274
276
  * biographical/historical note
275
277
  * biography
276
278
  * boat note
277
279
  * citation/reference
280
+ * codicology
281
+ * collation
282
+ * colophon
283
+ * condition
278
284
  * contact
279
285
  * content
280
286
  * content note
@@ -284,23 +290,37 @@ _Path: note_
284
290
  * creation/production credits
285
291
  * date
286
292
  * date/sequential designation
293
+ * decoNote
294
+ * decoration
287
295
  * description
288
296
  * digitization
297
+ * dimensions
289
298
  * duration
299
+ * email
290
300
  * event
291
301
  * exhibitions
302
+ * explicit
303
+ * foliation
292
304
  * funding
293
305
  * general
294
306
  * genre type
295
307
  * geography
308
+ * hand note
309
+ * handNote
310
+ * handwritten
296
311
  * host
312
+ * incipit
313
+ * instrumentation
297
314
  * language
315
+ * layout
298
316
  * local
299
317
  * location
318
+ * material
300
319
  * medium of performance
301
320
  * names
302
321
  * numbering
303
322
  * original location
323
+ * other
304
324
  * other relation type
305
325
  * ownership
306
326
  * part
@@ -314,11 +334,16 @@ _Path: note_
314
334
  * reassembly
315
335
  * reference
316
336
  * references
337
+ * reformatting
317
338
  * related publication
318
339
  * reproduction
319
340
  * research
320
341
  * restriction
342
+ * rubric
321
343
  * scope and content
344
+ * secfol
345
+ * second folio
346
+ * secondFolio
322
347
  * source characteristics
323
348
  * source identifier
324
349
  * statement of responsibility
@@ -331,6 +356,7 @@ _Path: note_
331
356
  * thesis
332
357
  * transcript
333
358
  * translation
359
+ * unit
334
360
  * update
335
361
  * use and reproduction
336
362
  * venue
@@ -387,38 +413,50 @@ _Path: subject_
387
413
 
388
414
  ## Subject note types
389
415
  _Path: subject.note_
416
+ * affiliation
417
+ * description
390
418
  * role
391
419
 
392
420
  ## Subject part types for structured value
393
421
  _Path: subject.structuredValue_
394
422
  * activity dates
423
+ * area
395
424
  * city
425
+ * city section
396
426
  * conference
397
427
  * continent
398
428
  * country
429
+ * county
399
430
  * end
400
431
  * east
401
432
  * event
433
+ * extraterrestrial area
402
434
  * display
403
435
  * family
404
436
  * forename
405
437
  * genre
438
+ * island
406
439
  * latitude
407
440
  * life dates
408
441
  * longitude
409
442
  * main title
410
443
  * name
444
+ * nonsorting characters
411
445
  * north
412
446
  * occupation
413
447
  * ordinal
414
448
  * organization
415
449
  * part name
450
+ * part number
416
451
  * person
417
452
  * place
453
+ * region
418
454
  * south
419
455
  * start
456
+ * state
420
457
  * surname
421
458
  * term of address
459
+ * territory
422
460
  * time
423
461
  * title
424
462
  * topic
@@ -426,6 +464,7 @@ _Path: subject.structuredValue_
426
464
 
427
465
  ### Subject note types
428
466
  _Path: subject.structuredValue.note_
467
+ * affiliation
429
468
  * role: The relation of the subject entity to the resource.
430
469
 
431
470
  ## 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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Cocina
4
4
  module Models
5
- VERSION = '0.73.2'
5
+ VERSION = '0.73.5'
6
6
  end
7
7
  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.2
4
+ version: 0.73.5
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-13 00:00:00.000000000 Z
11
+ date: 2022-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport