cocina-models 0.66.0 → 0.68.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +7 -0
- data/README.md +5 -0
- data/cocina-models.gemspec +3 -1
- data/lib/cocina/generator/generator.rb +1 -6
- data/lib/cocina/generator/vocab.rb +36 -39
- data/lib/cocina/models/access.rb +3 -3
- data/lib/cocina/models/admin_policy.rb +1 -1
- data/lib/cocina/models/{admin_policy_default_access.rb → admin_policy_access_template.rb} +4 -4
- data/lib/cocina/models/admin_policy_administrative.rb +1 -1
- data/lib/cocina/models/administrative.rb +0 -3
- data/lib/cocina/models/citation_only_access.rb +3 -3
- data/lib/cocina/models/collection.rb +6 -6
- data/lib/cocina/models/collection_access.rb +1 -1
- data/lib/cocina/models/controlled_digital_lending_access.rb +3 -3
- data/lib/cocina/models/dark_access.rb +3 -3
- data/lib/cocina/models/dro.rb +16 -16
- data/lib/cocina/models/dro_access.rb +4 -4
- data/lib/cocina/models/embargo.rb +3 -3
- data/lib/cocina/models/file.rb +1 -1
- data/lib/cocina/models/file_access.rb +3 -3
- data/lib/cocina/models/file_set.rb +16 -16
- data/lib/cocina/models/file_set_type.rb +72 -0
- data/lib/cocina/models/location_based_access.rb +3 -3
- data/lib/cocina/models/location_based_download_access.rb +3 -3
- data/lib/cocina/models/object_type.rb +96 -0
- data/lib/cocina/models/request_admin_policy.rb +2 -2
- data/lib/cocina/models/request_administrative.rb +14 -0
- data/lib/cocina/models/request_collection.rb +7 -7
- data/lib/cocina/models/request_dro.rb +17 -17
- data/lib/cocina/models/request_file.rb +1 -1
- data/lib/cocina/models/request_file_set.rb +16 -16
- data/lib/cocina/models/stanford_access.rb +3 -3
- data/lib/cocina/models/validator.rb +1 -1
- data/lib/cocina/models/version.rb +1 -1
- data/lib/cocina/models/world_access.rb +3 -3
- data/lib/cocina/models.rb +14 -7
- data/openapi.yml +143 -122
- metadata +14 -6
- data/lib/cocina/models/vocab.rb +0 -162
data/openapi.yml
CHANGED
@@ -174,10 +174,6 @@ components:
|
|
174
174
|
type: array
|
175
175
|
items:
|
176
176
|
$ref: '#/components/schemas/ReleaseTag'
|
177
|
-
partOfProject:
|
178
|
-
description: Administrative or Internal project this resource is a part of
|
179
|
-
example: Google Books
|
180
|
-
type: string
|
181
177
|
required:
|
182
178
|
- hasAdminPolicy
|
183
179
|
AdminPolicy:
|
@@ -189,7 +185,7 @@ components:
|
|
189
185
|
type:
|
190
186
|
type: string
|
191
187
|
enum:
|
192
|
-
- '
|
188
|
+
- 'https://cocina.sul.stanford.edu/models/admin_policy'
|
193
189
|
externalIdentifier:
|
194
190
|
$ref: '#/components/schemas/Druid'
|
195
191
|
label:
|
@@ -212,8 +208,8 @@ components:
|
|
212
208
|
type: object
|
213
209
|
additionalProperties: false
|
214
210
|
properties:
|
215
|
-
|
216
|
-
$ref: '#/components/schemas/
|
211
|
+
accessTemplate:
|
212
|
+
$ref: '#/components/schemas/AdminPolicyAccessTemplate'
|
217
213
|
registrationWorkflow:
|
218
214
|
description: When you register an item with this admin policy, these are the workflows that are available.
|
219
215
|
type: array
|
@@ -240,12 +236,13 @@ components:
|
|
240
236
|
required:
|
241
237
|
- hasAdminPolicy
|
242
238
|
- hasAgreement
|
243
|
-
|
244
|
-
|
239
|
+
- accessTemplate
|
240
|
+
AdminPolicyAccessTemplate:
|
241
|
+
description: 'Provides the template of access settings that is copied to the items goverend by an AdminPolicy. This is almost the same as DROAccess, but it provides no defaults and has no embargo.'
|
245
242
|
type: object
|
246
243
|
additionalProperties: false
|
247
244
|
properties:
|
248
|
-
|
245
|
+
view:
|
249
246
|
type: string
|
250
247
|
enum:
|
251
248
|
- 'world'
|
@@ -273,11 +270,12 @@ components:
|
|
273
270
|
- 'stanford'
|
274
271
|
- 'location-based'
|
275
272
|
- 'none'
|
276
|
-
|
273
|
+
location:
|
277
274
|
description: >
|
278
|
-
If access is "location-based",
|
279
|
-
This is used in the transition from
|
280
|
-
|
275
|
+
If access or download is "location-based", this indicates which
|
276
|
+
location should have access. This is used in the transition from
|
277
|
+
Fedora as a way to set a default location at registration that is
|
278
|
+
copied down to all the files.
|
281
279
|
|
282
280
|
type: string
|
283
281
|
nullable: true
|
@@ -347,7 +345,7 @@ components:
|
|
347
345
|
CitationOnlyAccess:
|
348
346
|
type: object
|
349
347
|
properties:
|
350
|
-
|
348
|
+
view:
|
351
349
|
description: Access level.
|
352
350
|
type: string
|
353
351
|
enum:
|
@@ -357,8 +355,8 @@ components:
|
|
357
355
|
type: string
|
358
356
|
enum:
|
359
357
|
- 'none'
|
360
|
-
|
361
|
-
description:
|
358
|
+
location:
|
359
|
+
description: Not used for this access type, must be null.
|
362
360
|
type: string
|
363
361
|
nullable: true
|
364
362
|
enum:
|
@@ -369,7 +367,7 @@ components:
|
|
369
367
|
enum:
|
370
368
|
- false
|
371
369
|
required:
|
372
|
-
-
|
370
|
+
- view
|
373
371
|
- download
|
374
372
|
CocinaVersion:
|
375
373
|
description: The version of Cocina with which this object conforms.
|
@@ -387,11 +385,11 @@ components:
|
|
387
385
|
description: The content type of the Collection. Selected from an established set of values.
|
388
386
|
type: string
|
389
387
|
enum:
|
390
|
-
- '
|
391
|
-
- '
|
392
|
-
- '
|
393
|
-
- '
|
394
|
-
- '
|
388
|
+
- 'https://cocina.sul.stanford.edu/models/collection'
|
389
|
+
- 'https://cocina.sul.stanford.edu/models/curated-collection'
|
390
|
+
- 'https://cocina.sul.stanford.edu/models/user-collection'
|
391
|
+
- 'https://cocina.sul.stanford.edu/models/exhibit'
|
392
|
+
- 'https://cocina.sul.stanford.edu/models/series'
|
395
393
|
externalIdentifier:
|
396
394
|
$ref: '#/components/schemas/Druid'
|
397
395
|
label:
|
@@ -410,6 +408,7 @@ components:
|
|
410
408
|
$ref: '#/components/schemas/CollectionIdentification'
|
411
409
|
required:
|
412
410
|
- cocinaVersion
|
411
|
+
- description
|
413
412
|
- externalIdentifier
|
414
413
|
- label
|
415
414
|
- type
|
@@ -420,7 +419,7 @@ components:
|
|
420
419
|
type: object
|
421
420
|
additionalProperties: false
|
422
421
|
properties:
|
423
|
-
|
422
|
+
view:
|
424
423
|
description: Access level
|
425
424
|
type: string
|
426
425
|
enum:
|
@@ -496,7 +495,7 @@ components:
|
|
496
495
|
ControlledDigitalLendingAccess:
|
497
496
|
type: object
|
498
497
|
properties:
|
499
|
-
|
498
|
+
view:
|
500
499
|
description: Access level.
|
501
500
|
type: string
|
502
501
|
enum:
|
@@ -506,8 +505,8 @@ components:
|
|
506
505
|
type: string
|
507
506
|
enum:
|
508
507
|
- none
|
509
|
-
|
510
|
-
description:
|
508
|
+
location:
|
509
|
+
description: Not used for this access type, must be null.
|
511
510
|
type: string
|
512
511
|
nullable: true
|
513
512
|
enum:
|
@@ -517,13 +516,13 @@ components:
|
|
517
516
|
type: boolean
|
518
517
|
default: false
|
519
518
|
required:
|
520
|
-
-
|
519
|
+
- view
|
521
520
|
- download
|
522
521
|
- controlledDigitalLending
|
523
522
|
DarkAccess:
|
524
523
|
type: object
|
525
524
|
properties:
|
526
|
-
|
525
|
+
view:
|
527
526
|
description: Access level.
|
528
527
|
type: string
|
529
528
|
default: 'dark'
|
@@ -535,8 +534,8 @@ components:
|
|
535
534
|
default: 'none'
|
536
535
|
enum:
|
537
536
|
- 'none'
|
538
|
-
|
539
|
-
description:
|
537
|
+
location:
|
538
|
+
description: Not used for this access type, must be null.
|
540
539
|
type: string
|
541
540
|
nullable: true
|
542
541
|
default: null
|
@@ -851,21 +850,21 @@ components:
|
|
851
850
|
description: The content type of the DRO. Selected from an established set of values.
|
852
851
|
type: string
|
853
852
|
enum:
|
854
|
-
- '
|
855
|
-
- '
|
856
|
-
- '
|
857
|
-
- '
|
858
|
-
- '
|
859
|
-
- '
|
860
|
-
- '
|
861
|
-
- '
|
862
|
-
- '
|
863
|
-
- '
|
864
|
-
- '
|
865
|
-
- '
|
866
|
-
- '
|
867
|
-
- '
|
868
|
-
- '
|
853
|
+
- 'https://cocina.sul.stanford.edu/models/object'
|
854
|
+
- 'https://cocina.sul.stanford.edu/models/3d'
|
855
|
+
- 'https://cocina.sul.stanford.edu/models/agreement'
|
856
|
+
- 'https://cocina.sul.stanford.edu/models/book'
|
857
|
+
- 'https://cocina.sul.stanford.edu/models/document'
|
858
|
+
- 'https://cocina.sul.stanford.edu/models/geo'
|
859
|
+
- 'https://cocina.sul.stanford.edu/models/image'
|
860
|
+
- 'https://cocina.sul.stanford.edu/models/page'
|
861
|
+
- 'https://cocina.sul.stanford.edu/models/photograph'
|
862
|
+
- 'https://cocina.sul.stanford.edu/models/manuscript'
|
863
|
+
- 'https://cocina.sul.stanford.edu/models/map'
|
864
|
+
- 'https://cocina.sul.stanford.edu/models/media'
|
865
|
+
- 'https://cocina.sul.stanford.edu/models/track'
|
866
|
+
- 'https://cocina.sul.stanford.edu/models/webarchive-binary'
|
867
|
+
- 'https://cocina.sul.stanford.edu/models/webarchive-seed'
|
869
868
|
externalIdentifier:
|
870
869
|
$ref: '#/components/schemas/Druid'
|
871
870
|
label:
|
@@ -890,6 +889,7 @@ components:
|
|
890
889
|
- cocinaVersion
|
891
890
|
- access
|
892
891
|
- administrative
|
892
|
+
- description
|
893
893
|
- externalIdentifier
|
894
894
|
- label
|
895
895
|
- type
|
@@ -947,7 +947,7 @@ components:
|
|
947
947
|
- 'https://creativecommons.org/licenses/by-nc/3.0/legalcode'
|
948
948
|
- 'https://creativecommons.org/licenses/by-nc-sa/3.0/legalcode'
|
949
949
|
- 'https://creativecommons.org/licenses/by-nc-nd/3.0/legalcode'
|
950
|
-
- '
|
950
|
+
- 'https://cocina.sul.stanford.edu/licenses/none' # Only used in some legacy ETDs and not actually permitted per the Project Chimera docs.
|
951
951
|
DROStructural:
|
952
952
|
description: Structural metadata
|
953
953
|
type: object
|
@@ -1048,7 +1048,7 @@ components:
|
|
1048
1048
|
description: The content type of the File.
|
1049
1049
|
type: string
|
1050
1050
|
enum:
|
1051
|
-
- '
|
1051
|
+
- 'https://cocina.sul.stanford.edu/models/file'
|
1052
1052
|
externalIdentifier:
|
1053
1053
|
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.
|
1054
1054
|
type: string
|
@@ -1127,22 +1127,22 @@ components:
|
|
1127
1127
|
description: The content type of the Fileset.
|
1128
1128
|
type: string
|
1129
1129
|
enum:
|
1130
|
-
- '
|
1131
|
-
- '
|
1132
|
-
- '
|
1133
|
-
- '
|
1134
|
-
- '
|
1135
|
-
- '
|
1136
|
-
- '
|
1137
|
-
- '
|
1138
|
-
- '
|
1139
|
-
- '
|
1140
|
-
- '
|
1141
|
-
- '
|
1142
|
-
- '
|
1143
|
-
- '
|
1144
|
-
- '
|
1145
|
-
- '
|
1130
|
+
- 'https://cocina.sul.stanford.edu/models/resources/audio'
|
1131
|
+
- 'https://cocina.sul.stanford.edu/models/resources/attachment'
|
1132
|
+
- 'https://cocina.sul.stanford.edu/models/resources/document'
|
1133
|
+
- 'https://cocina.sul.stanford.edu/models/resources/file'
|
1134
|
+
- 'https://cocina.sul.stanford.edu/models/resources/image'
|
1135
|
+
- 'https://cocina.sul.stanford.edu/models/resources/main-augmented'
|
1136
|
+
- 'https://cocina.sul.stanford.edu/models/resources/main-original'
|
1137
|
+
- 'https://cocina.sul.stanford.edu/models/resources/media'
|
1138
|
+
- 'https://cocina.sul.stanford.edu/models/resources/object'
|
1139
|
+
- 'https://cocina.sul.stanford.edu/models/resources/page'
|
1140
|
+
- 'https://cocina.sul.stanford.edu/models/resources/permissions'
|
1141
|
+
- 'https://cocina.sul.stanford.edu/models/resources/preview'
|
1142
|
+
- 'https://cocina.sul.stanford.edu/models/resources/supplement'
|
1143
|
+
- 'https://cocina.sul.stanford.edu/models/resources/3d'
|
1144
|
+
- 'https://cocina.sul.stanford.edu/models/resources/thumb'
|
1145
|
+
- 'https://cocina.sul.stanford.edu/models/resources/video'
|
1146
1146
|
externalIdentifier:
|
1147
1147
|
type: string
|
1148
1148
|
label:
|
@@ -1263,7 +1263,7 @@ components:
|
|
1263
1263
|
LocationBasedAccess:
|
1264
1264
|
type: object
|
1265
1265
|
properties:
|
1266
|
-
|
1266
|
+
view:
|
1267
1267
|
description: Access level.
|
1268
1268
|
type: string
|
1269
1269
|
enum:
|
@@ -1274,8 +1274,8 @@ components:
|
|
1274
1274
|
enum:
|
1275
1275
|
- location-based
|
1276
1276
|
- none
|
1277
|
-
|
1278
|
-
description: If access is "location-based", which location should have access.
|
1277
|
+
location:
|
1278
|
+
description: If access or download is "location-based", which location should have access.
|
1279
1279
|
type: string
|
1280
1280
|
enum:
|
1281
1281
|
- 'spec'
|
@@ -1290,13 +1290,13 @@ components:
|
|
1290
1290
|
enum:
|
1291
1291
|
- false
|
1292
1292
|
required:
|
1293
|
-
-
|
1293
|
+
- view
|
1294
1294
|
- download
|
1295
|
-
-
|
1295
|
+
- location
|
1296
1296
|
LocationBasedDownloadAccess:
|
1297
1297
|
type: object
|
1298
1298
|
properties:
|
1299
|
-
|
1299
|
+
view:
|
1300
1300
|
description: Access level.
|
1301
1301
|
type: string
|
1302
1302
|
enum:
|
@@ -1307,8 +1307,8 @@ components:
|
|
1307
1307
|
type: string
|
1308
1308
|
enum:
|
1309
1309
|
- location-based
|
1310
|
-
|
1311
|
-
description:
|
1310
|
+
location:
|
1311
|
+
description: Which location should have download access.
|
1312
1312
|
type: string
|
1313
1313
|
enum:
|
1314
1314
|
- 'spec'
|
@@ -1323,9 +1323,9 @@ components:
|
|
1323
1323
|
enum:
|
1324
1324
|
- false
|
1325
1325
|
required:
|
1326
|
-
-
|
1326
|
+
- view
|
1327
1327
|
- download
|
1328
|
-
-
|
1328
|
+
- location
|
1329
1329
|
MessageDigest:
|
1330
1330
|
description: The output of the message digest algorithm.
|
1331
1331
|
type: object
|
@@ -1465,6 +1465,18 @@ components:
|
|
1465
1465
|
example: Searchworks
|
1466
1466
|
release:
|
1467
1467
|
type: boolean
|
1468
|
+
RequestAdministrative:
|
1469
|
+
type: object
|
1470
|
+
additionalProperties: false
|
1471
|
+
allOf:
|
1472
|
+
- $ref: "#/components/schemas/Administrative"
|
1473
|
+
- type: object
|
1474
|
+
additionalProperties: false
|
1475
|
+
properties:
|
1476
|
+
partOfProject:
|
1477
|
+
description: Internal project this resource is a part of. This governs routing of messages about this object.
|
1478
|
+
example: Google Books
|
1479
|
+
type: string
|
1468
1480
|
RequestAdminPolicy:
|
1469
1481
|
description: Same as an AdminPolicy, but doesn't have an externalIdentifier as one will be created
|
1470
1482
|
type: object
|
@@ -1475,11 +1487,14 @@ components:
|
|
1475
1487
|
type:
|
1476
1488
|
type: string
|
1477
1489
|
enum:
|
1478
|
-
- '
|
1490
|
+
- 'https://cocina.sul.stanford.edu/models/admin_policy'
|
1479
1491
|
label:
|
1480
1492
|
type: string
|
1481
1493
|
version:
|
1482
1494
|
type: integer
|
1495
|
+
default: 1
|
1496
|
+
enum:
|
1497
|
+
- 1
|
1483
1498
|
administrative:
|
1484
1499
|
$ref: '#/components/schemas/AdminPolicyAdministrative'
|
1485
1500
|
description:
|
@@ -1500,19 +1515,22 @@ components:
|
|
1500
1515
|
type:
|
1501
1516
|
type: string
|
1502
1517
|
enum:
|
1503
|
-
- '
|
1504
|
-
- '
|
1505
|
-
- '
|
1506
|
-
- '
|
1507
|
-
- '
|
1518
|
+
- 'https://cocina.sul.stanford.edu/models/collection'
|
1519
|
+
- 'https://cocina.sul.stanford.edu/models/curated-collection'
|
1520
|
+
- 'https://cocina.sul.stanford.edu/models/user-collection'
|
1521
|
+
- 'https://cocina.sul.stanford.edu/models/exhibit'
|
1522
|
+
- 'https://cocina.sul.stanford.edu/models/series'
|
1508
1523
|
label:
|
1509
1524
|
type: string
|
1510
1525
|
version:
|
1511
1526
|
type: integer
|
1527
|
+
default: 1
|
1528
|
+
enum:
|
1529
|
+
- 1
|
1512
1530
|
access:
|
1513
1531
|
$ref: '#/components/schemas/CollectionAccess'
|
1514
1532
|
administrative:
|
1515
|
-
$ref: '#/components/schemas/
|
1533
|
+
$ref: '#/components/schemas/RequestAdministrative'
|
1516
1534
|
description:
|
1517
1535
|
$ref: '#/components/schemas/RequestDescription'
|
1518
1536
|
identification:
|
@@ -1607,29 +1625,32 @@ components:
|
|
1607
1625
|
type:
|
1608
1626
|
type: string
|
1609
1627
|
enum:
|
1610
|
-
- '
|
1611
|
-
- '
|
1612
|
-
- '
|
1613
|
-
- '
|
1614
|
-
- '
|
1615
|
-
- '
|
1616
|
-
- '
|
1617
|
-
- '
|
1618
|
-
- '
|
1619
|
-
- '
|
1620
|
-
- '
|
1621
|
-
- '
|
1622
|
-
- '
|
1623
|
-
- '
|
1624
|
-
- '
|
1628
|
+
- 'https://cocina.sul.stanford.edu/models/object'
|
1629
|
+
- 'https://cocina.sul.stanford.edu/models/3d'
|
1630
|
+
- 'https://cocina.sul.stanford.edu/models/agreement'
|
1631
|
+
- 'https://cocina.sul.stanford.edu/models/book'
|
1632
|
+
- 'https://cocina.sul.stanford.edu/models/document'
|
1633
|
+
- 'https://cocina.sul.stanford.edu/models/geo'
|
1634
|
+
- 'https://cocina.sul.stanford.edu/models/image'
|
1635
|
+
- 'https://cocina.sul.stanford.edu/models/page'
|
1636
|
+
- 'https://cocina.sul.stanford.edu/models/photograph'
|
1637
|
+
- 'https://cocina.sul.stanford.edu/models/manuscript'
|
1638
|
+
- 'https://cocina.sul.stanford.edu/models/map'
|
1639
|
+
- 'https://cocina.sul.stanford.edu/models/media'
|
1640
|
+
- 'https://cocina.sul.stanford.edu/models/track'
|
1641
|
+
- 'https://cocina.sul.stanford.edu/models/webarchive-binary'
|
1642
|
+
- 'https://cocina.sul.stanford.edu/models/webarchive-seed'
|
1625
1643
|
label:
|
1626
1644
|
type: string
|
1627
1645
|
version:
|
1628
1646
|
type: integer
|
1647
|
+
default: 1
|
1648
|
+
enum:
|
1649
|
+
- 1
|
1629
1650
|
access:
|
1630
1651
|
$ref: '#/components/schemas/DROAccess'
|
1631
1652
|
administrative:
|
1632
|
-
$ref: '#/components/schemas/
|
1653
|
+
$ref: '#/components/schemas/RequestAdministrative'
|
1633
1654
|
description:
|
1634
1655
|
$ref: '#/components/schemas/RequestDescription'
|
1635
1656
|
identification:
|
@@ -1670,7 +1691,7 @@ components:
|
|
1670
1691
|
type:
|
1671
1692
|
type: string
|
1672
1693
|
enum:
|
1673
|
-
- '
|
1694
|
+
- 'https://cocina.sul.stanford.edu/models/file'
|
1674
1695
|
label:
|
1675
1696
|
type: string
|
1676
1697
|
filename:
|
@@ -1710,22 +1731,22 @@ components:
|
|
1710
1731
|
type:
|
1711
1732
|
type: string
|
1712
1733
|
enum:
|
1713
|
-
- '
|
1714
|
-
- '
|
1715
|
-
- '
|
1716
|
-
- '
|
1717
|
-
- '
|
1718
|
-
- '
|
1719
|
-
- '
|
1720
|
-
- '
|
1721
|
-
- '
|
1722
|
-
- '
|
1723
|
-
- '
|
1724
|
-
- '
|
1725
|
-
- '
|
1726
|
-
- '
|
1727
|
-
- '
|
1728
|
-
- '
|
1734
|
+
- 'https://cocina.sul.stanford.edu/models/resources/audio'
|
1735
|
+
- 'https://cocina.sul.stanford.edu/models/resources/attachment'
|
1736
|
+
- 'https://cocina.sul.stanford.edu/models/resources/document'
|
1737
|
+
- 'https://cocina.sul.stanford.edu/models/resources/file'
|
1738
|
+
- 'https://cocina.sul.stanford.edu/models/resources/image'
|
1739
|
+
- 'https://cocina.sul.stanford.edu/models/resources/main-augmented'
|
1740
|
+
- 'https://cocina.sul.stanford.edu/models/resources/main-original'
|
1741
|
+
- 'https://cocina.sul.stanford.edu/models/resources/media'
|
1742
|
+
- 'https://cocina.sul.stanford.edu/models/resources/object'
|
1743
|
+
- 'https://cocina.sul.stanford.edu/models/resources/page'
|
1744
|
+
- 'https://cocina.sul.stanford.edu/models/resources/permissions'
|
1745
|
+
- 'https://cocina.sul.stanford.edu/models/resources/preview'
|
1746
|
+
- 'https://cocina.sul.stanford.edu/models/resources/supplement'
|
1747
|
+
- 'https://cocina.sul.stanford.edu/models/resources/3d'
|
1748
|
+
- 'https://cocina.sul.stanford.edu/models/resources/thumb'
|
1749
|
+
- 'https://cocina.sul.stanford.edu/models/resources/video'
|
1729
1750
|
label:
|
1730
1751
|
type: string
|
1731
1752
|
version:
|
@@ -1870,7 +1891,7 @@ components:
|
|
1870
1891
|
StanfordAccess:
|
1871
1892
|
type: object
|
1872
1893
|
properties:
|
1873
|
-
|
1894
|
+
view:
|
1874
1895
|
description: Access level.
|
1875
1896
|
type: string
|
1876
1897
|
enum:
|
@@ -1880,8 +1901,8 @@ components:
|
|
1880
1901
|
type: string
|
1881
1902
|
enum:
|
1882
1903
|
- stanford
|
1883
|
-
|
1884
|
-
description:
|
1904
|
+
location:
|
1905
|
+
description: Not used for this access type, must be null.
|
1885
1906
|
type: string
|
1886
1907
|
nullable: true
|
1887
1908
|
enum:
|
@@ -1892,12 +1913,12 @@ components:
|
|
1892
1913
|
enum:
|
1893
1914
|
- false
|
1894
1915
|
required:
|
1895
|
-
-
|
1916
|
+
- view
|
1896
1917
|
- download
|
1897
1918
|
WorldAccess:
|
1898
1919
|
type: object
|
1899
1920
|
properties:
|
1900
|
-
|
1921
|
+
view:
|
1901
1922
|
description: Access level.
|
1902
1923
|
type: string
|
1903
1924
|
enum:
|
@@ -1909,8 +1930,8 @@ components:
|
|
1909
1930
|
- none
|
1910
1931
|
- stanford
|
1911
1932
|
- world
|
1912
|
-
|
1913
|
-
description:
|
1933
|
+
location:
|
1934
|
+
description: Not used for this access type, must be null.
|
1914
1935
|
type: string
|
1915
1936
|
nullable: true
|
1916
1937
|
enum:
|
@@ -1921,5 +1942,5 @@ components:
|
|
1921
1942
|
enum:
|
1922
1943
|
- false
|
1923
1944
|
required:
|
1924
|
-
-
|
1945
|
+
- view
|
1925
1946
|
- download
|
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.
|
4
|
+
version: 0.68.0
|
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-
|
11
|
+
date: 2022-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -72,14 +72,20 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 0.11.1
|
76
|
+
- - "<"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '1.0'
|
76
79
|
type: :runtime
|
77
80
|
prerelease: false
|
78
81
|
version_requirements: !ruby/object:Gem::Requirement
|
79
82
|
requirements:
|
80
83
|
- - ">="
|
81
84
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
85
|
+
version: 0.11.1
|
86
|
+
- - "<"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '1.0'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: thor
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -271,8 +277,8 @@ files:
|
|
271
277
|
- lib/cocina/models/access_role.rb
|
272
278
|
- lib/cocina/models/access_role_member.rb
|
273
279
|
- lib/cocina/models/admin_policy.rb
|
280
|
+
- lib/cocina/models/admin_policy_access_template.rb
|
274
281
|
- lib/cocina/models/admin_policy_administrative.rb
|
275
|
-
- lib/cocina/models/admin_policy_default_access.rb
|
276
282
|
- lib/cocina/models/administrative.rb
|
277
283
|
- lib/cocina/models/applies_to.rb
|
278
284
|
- lib/cocina/models/business_barcode.rb
|
@@ -311,6 +317,7 @@ files:
|
|
311
317
|
- lib/cocina/models/file_administrative.rb
|
312
318
|
- lib/cocina/models/file_set.rb
|
313
319
|
- lib/cocina/models/file_set_structural.rb
|
320
|
+
- lib/cocina/models/file_set_type.rb
|
314
321
|
- lib/cocina/models/geographic.rb
|
315
322
|
- lib/cocina/models/identification.rb
|
316
323
|
- lib/cocina/models/lane_medical_barcode.rb
|
@@ -318,11 +325,13 @@ files:
|
|
318
325
|
- lib/cocina/models/location_based_access.rb
|
319
326
|
- lib/cocina/models/location_based_download_access.rb
|
320
327
|
- lib/cocina/models/message_digest.rb
|
328
|
+
- lib/cocina/models/object_type.rb
|
321
329
|
- lib/cocina/models/presentation.rb
|
322
330
|
- lib/cocina/models/purl.rb
|
323
331
|
- lib/cocina/models/related_resource.rb
|
324
332
|
- lib/cocina/models/release_tag.rb
|
325
333
|
- lib/cocina/models/request_admin_policy.rb
|
334
|
+
- lib/cocina/models/request_administrative.rb
|
326
335
|
- lib/cocina/models/request_collection.rb
|
327
336
|
- lib/cocina/models/request_description.rb
|
328
337
|
- lib/cocina/models/request_dro.rb
|
@@ -341,7 +350,6 @@ files:
|
|
341
350
|
- lib/cocina/models/validatable.rb
|
342
351
|
- lib/cocina/models/validator.rb
|
343
352
|
- lib/cocina/models/version.rb
|
344
|
-
- lib/cocina/models/vocab.rb
|
345
353
|
- lib/cocina/models/world_access.rb
|
346
354
|
- openapi.yml
|
347
355
|
homepage: https://github.com/sul-dlss/cocina-models
|