cocina-models 0.59.0 → 0.59.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 044d66e2aee509ce5f2970efb3babce3edcef1548b632858ea7afe77f02375d5
|
4
|
+
data.tar.gz: 3ff6f328220ccb4cbf6206ab2dc75841990aca08121d34ac8f138af312a2083b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed457c74141c2ed64b4727da01c5f118239695efd6b98e3b90fbf2fb799aab0083cb2adb0f5364fed97d83e83a0a3a4251d58f2b5445f84d06afc63c0967314d
|
7
|
+
data.tar.gz: 16498a071ed1c97111f1d960f444fd8f289ef5d69d115a43535796cadaf3f1c6f9ee3cd46f3a106026ddb0b0ca291766c0c19a0320e3c386f9d6f84dded9add7
|
@@ -7,7 +7,7 @@ module Cocina
|
|
7
7
|
attribute :access, Types::Strict::String.default('dark').enum('world', 'dark').meta(omittable: true)
|
8
8
|
# The human readable copyright statement that applies
|
9
9
|
# example: Copyright World Trade Organization
|
10
|
-
attribute :copyright, Types::Strict::String.meta(omittable: true)
|
10
|
+
attribute :copyright, Types::Strict::String.optional.meta(omittable: true)
|
11
11
|
# The human readable use and reproduction statement that applies
|
12
12
|
# example: Property rights reside with the repository. Literary rights reside with the creators of the documents or their heirs. To obtain permission to publish or reproduce, please contact the Public Services Librarian of the Dept. of Special Collections (http://library.stanford.edu/spc).
|
13
13
|
attribute :useAndReproductionStatement, Types::Strict::String.meta(omittable: true)
|
@@ -16,7 +16,7 @@ module Cocina
|
|
16
16
|
attribute :controlledDigitalLending, Types::Strict::Bool.optional.meta(omittable: true)
|
17
17
|
# The human readable copyright statement that applies
|
18
18
|
# example: Copyright World Trade Organization
|
19
|
-
attribute :copyright, Types::Strict::String.meta(omittable: true)
|
19
|
+
attribute :copyright, Types::Strict::String.optional.meta(omittable: true)
|
20
20
|
attribute :embargo, Embargo.optional.meta(omittable: true)
|
21
21
|
# The human readable use and reproduction statement that applies
|
22
22
|
# example: Property rights reside with the repository. Literary rights reside with the creators of the documents or their heirs. To obtain permission to publish or reproduce, please contact the Public Services Librarian of the Dept. of Special Collections (http://library.stanford.edu/spc).
|
data/openapi.yml
CHANGED
@@ -301,6 +301,7 @@ components:
|
|
301
301
|
description: 'A barcode'
|
302
302
|
oneOf:
|
303
303
|
- $ref: '#/components/schemas/BusinessBarcode'
|
304
|
+
- $ref: '#/components/schemas/LaneMedicalBarcode'
|
304
305
|
- $ref: '#/components/schemas/CatkeyBarcode'
|
305
306
|
- $ref: '#/components/schemas/StandardBarcode'
|
306
307
|
BusinessBarcode:
|
@@ -308,6 +309,11 @@ components:
|
|
308
309
|
type: string
|
309
310
|
pattern: '^2050[0-9]{7}$'
|
310
311
|
example: 20503740296
|
312
|
+
LaneMedicalBarcode:
|
313
|
+
description: The barcode associated with a Lane Medical Library DRO object, prefixed with 245
|
314
|
+
type: string
|
315
|
+
pattern: '^245[0-9]{8}$'
|
316
|
+
example: 24503259768
|
311
317
|
CatalogLink:
|
312
318
|
type: object
|
313
319
|
additionalProperties: false
|
@@ -408,6 +414,7 @@ components:
|
|
408
414
|
description: The human readable copyright statement that applies
|
409
415
|
example: Copyright World Trade Organization
|
410
416
|
type: string
|
417
|
+
nullable: true
|
411
418
|
useAndReproductionStatement:
|
412
419
|
description: The human readable use and reproduction statement that applies
|
413
420
|
example: Property rights reside with the repository. Literary rights reside with the creators of the documents or their heirs. To obtain permission to publish or reproduce, please contact the Public Services Librarian of the Dept. of Special Collections (http://library.stanford.edu/spc).
|
@@ -935,6 +942,7 @@ components:
|
|
935
942
|
description: The human readable copyright statement that applies
|
936
943
|
example: Copyright World Trade Organization
|
937
944
|
type: string
|
945
|
+
nullable: true
|
938
946
|
embargo:
|
939
947
|
$ref: '#/components/schemas/Embargo'
|
940
948
|
useAndReproductionStatement:
|
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.59.
|
4
|
+
version: 0.59.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -297,6 +297,7 @@ files:
|
|
297
297
|
- lib/cocina/models/file_set_structural.rb
|
298
298
|
- lib/cocina/models/geographic.rb
|
299
299
|
- lib/cocina/models/identification.rb
|
300
|
+
- lib/cocina/models/lane_medical_barcode.rb
|
300
301
|
- lib/cocina/models/language.rb
|
301
302
|
- lib/cocina/models/location_based_access.rb
|
302
303
|
- lib/cocina/models/location_based_download_access.rb
|
@@ -342,7 +343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
342
343
|
- !ruby/object:Gem::Version
|
343
344
|
version: '0'
|
344
345
|
requirements: []
|
345
|
-
rubygems_version: 3.
|
346
|
+
rubygems_version: 3.2.16
|
346
347
|
signing_key:
|
347
348
|
specification_version: 4
|
348
349
|
summary: Data models for the SDR
|