cocina-models 0.112.1 → 0.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +25 -11
- data/README.md +4 -1
- data/description_types.yml +2 -0
- data/docs/description_types.md +2 -0
- data/lib/cocina/models/descriptive_basic_value.rb +1 -1
- data/lib/cocina/models/descriptive_parallel_event.rb +1 -1
- data/lib/cocina/models/descriptive_value.rb +1 -1
- data/lib/cocina/models/event.rb +1 -1
- data/lib/cocina/models/language.rb +1 -1
- data/lib/cocina/models/mapping/from_mods/description.rb +1 -1
- data/lib/cocina/models/mapping/from_mods/form.rb +0 -6
- data/lib/cocina/models/mapping/to_mods/contributor.rb +4 -4
- data/lib/cocina/models/related_resource.rb +1 -1
- data/lib/cocina/models/title.rb +1 -1
- data/lib/cocina/models/version.rb +1 -1
- data/lib/cocina/rspec/factories.rb +3 -3
- data/schema.json +5 -5
- metadata +2 -3
- data/docs/index.html +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '09669a342a43a6be309144d1d71748372251fdb37ad96c480e7ce88127749ec5'
|
|
4
|
+
data.tar.gz: 99e35e0634f65f03e545dfabc40d95cb6a638c1f0f0e05ffbf14315738ac895c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29c840e670181b57df7d29573da1cc019cd6a34300f43548a762f0d394736af09822bb61e85acd7eefa6426e37996fbe5869c4b58c8aa7e9176a201af14f91ec
|
|
7
|
+
data.tar.gz: 00f39759126179cd79f5cda1a1cabf93b3da2ba19ef0ecd90fa1f1c10735b31ff966e9496e93cac69fb35255b0dc1c1e45176d70f743630005eb883384e38132
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
cocina-models (0.
|
|
4
|
+
cocina-models (0.113.0)
|
|
5
5
|
activesupport
|
|
6
6
|
deprecation
|
|
7
7
|
dry-struct (~> 1.0)
|
|
@@ -32,6 +32,8 @@ GEM
|
|
|
32
32
|
securerandom (>= 0.3)
|
|
33
33
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
34
34
|
uri (>= 0.13.1)
|
|
35
|
+
addressable (2.8.9)
|
|
36
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
35
37
|
ast (2.4.3)
|
|
36
38
|
attr_extras (7.1.0)
|
|
37
39
|
base64 (0.3.0)
|
|
@@ -73,7 +75,7 @@ GEM
|
|
|
73
75
|
activesupport (>= 3.0, < 9.0)
|
|
74
76
|
equivalent-xml (0.6.0)
|
|
75
77
|
nokogiri (>= 1.4.3)
|
|
76
|
-
erb (6.0.
|
|
78
|
+
erb (6.0.2)
|
|
77
79
|
hana (1.3.7)
|
|
78
80
|
i18n (1.14.8)
|
|
79
81
|
concurrent-ruby (~> 1.0)
|
|
@@ -85,6 +87,9 @@ GEM
|
|
|
85
87
|
rdoc (>= 4.0.0)
|
|
86
88
|
reline (>= 0.4.2)
|
|
87
89
|
json (2.18.1)
|
|
90
|
+
json-schema (6.1.0)
|
|
91
|
+
addressable (~> 2.8)
|
|
92
|
+
bigdecimal (>= 3.1, < 5)
|
|
88
93
|
json_schemer (2.5.0)
|
|
89
94
|
bigdecimal
|
|
90
95
|
hana (~> 1.3)
|
|
@@ -95,7 +100,10 @@ GEM
|
|
|
95
100
|
language_server-protocol (3.17.0.5)
|
|
96
101
|
lint_roller (1.1.0)
|
|
97
102
|
logger (1.7.0)
|
|
98
|
-
|
|
103
|
+
mcp (0.7.1)
|
|
104
|
+
json-schema (>= 4.1)
|
|
105
|
+
minitest (6.0.2)
|
|
106
|
+
drb (~> 2.0)
|
|
99
107
|
prism (~> 1.5)
|
|
100
108
|
multi_json (1.19.1)
|
|
101
109
|
nokogiri (1.19.1-arm64-darwin)
|
|
@@ -116,6 +124,7 @@ GEM
|
|
|
116
124
|
psych (5.3.1)
|
|
117
125
|
date
|
|
118
126
|
stringio
|
|
127
|
+
public_suffix (7.0.2)
|
|
119
128
|
racc (1.8.1)
|
|
120
129
|
rainbow (3.1.1)
|
|
121
130
|
rake (13.3.1)
|
|
@@ -135,16 +144,17 @@ GEM
|
|
|
135
144
|
rspec-expectations (3.13.5)
|
|
136
145
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
137
146
|
rspec-support (~> 3.13.0)
|
|
138
|
-
rspec-mocks (3.13.
|
|
147
|
+
rspec-mocks (3.13.8)
|
|
139
148
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
140
149
|
rspec-support (~> 3.13.0)
|
|
141
150
|
rspec-support (3.13.7)
|
|
142
151
|
rspec_junit_formatter (0.6.0)
|
|
143
152
|
rspec-core (>= 2, < 4, != 2.12.0)
|
|
144
|
-
rubocop (1.
|
|
153
|
+
rubocop (1.85.0)
|
|
145
154
|
json (~> 2.3)
|
|
146
155
|
language_server-protocol (~> 3.17.0.2)
|
|
147
156
|
lint_roller (~> 1.1.0)
|
|
157
|
+
mcp (~> 0.6)
|
|
148
158
|
parallel (~> 1.10)
|
|
149
159
|
parser (>= 3.3.0.2)
|
|
150
160
|
rainbow (>= 2.2.2, < 4.0)
|
|
@@ -203,11 +213,12 @@ DEPENDENCIES
|
|
|
203
213
|
|
|
204
214
|
CHECKSUMS
|
|
205
215
|
activesupport (8.1.2) sha256=88842578ccd0d40f658289b0e8c842acfe9af751afee2e0744a7873f50b6fdae
|
|
216
|
+
addressable (2.8.9) sha256=cc154fcbe689711808a43601dee7b980238ce54368d23e127421753e46895485
|
|
206
217
|
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
|
207
218
|
attr_extras (7.1.0) sha256=d96fc9a9dd5d85ba2d37762440a816f840093959ae26bb90da994c2d9f1fc827
|
|
208
219
|
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
|
|
209
220
|
bigdecimal (4.0.1) sha256=8b07d3d065a9f921c80ceaea7c9d4ae596697295b584c296fe599dd0ad01c4a7
|
|
210
|
-
cocina-models (0.
|
|
221
|
+
cocina-models (0.113.0)
|
|
211
222
|
concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
|
|
212
223
|
connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
|
|
213
224
|
date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
|
|
@@ -223,19 +234,21 @@ CHECKSUMS
|
|
|
223
234
|
dry-types (1.9.1) sha256=baebeecdb9f8395d6c9d227b62011279440943e3ef2468fe8ccc1ba11467f178
|
|
224
235
|
edtf (3.2.0) sha256=a15a0ee274e49c8047a3ebb5d61d793ba44f7f8ffbf0595392c467e3ea8d2447
|
|
225
236
|
equivalent-xml (0.6.0) sha256=8919761efa848ad0846369ff8be1f646b17e5061698c4867b09829000cc3f487
|
|
226
|
-
erb (6.0.
|
|
237
|
+
erb (6.0.2) sha256=9fe6264d44f79422c87490a1558479bd0e7dad4dd0e317656e67ea3077b5242b
|
|
227
238
|
hana (1.3.7) sha256=5425db42d651fea08859811c29d20446f16af196308162894db208cac5ce9b0d
|
|
228
239
|
i18n (1.14.8) sha256=285778639134865c5e0f6269e0b818256017e8cde89993fdfcbfb64d088824a5
|
|
229
240
|
ice_nine (0.11.2) sha256=5d506a7d2723d5592dc121b9928e4931742730131f22a1a37649df1c1e2e63db
|
|
230
241
|
io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
|
|
231
242
|
irb (1.17.0) sha256=168c4ddb93d8a361a045c41d92b2952c7a118fa73f23fe14e55609eb7a863aae
|
|
232
243
|
json (2.18.1) sha256=fe112755501b8d0466b5ada6cf50c8c3f41e897fa128ac5d263ec09eedc9f986
|
|
244
|
+
json-schema (6.1.0) sha256=6bf70a2cfb6dfd5a06da28093fa8190f324c88eabd36a7f47097f227321dc702
|
|
233
245
|
json_schemer (2.5.0) sha256=2f01fb4cce721a4e08dd068fc2030cffd0702a7f333f1ea2be6e8991f00ae396
|
|
234
246
|
jsonpath (1.1.5) sha256=29f70467193a2dc93ab864ec3d3326d54267961acc623f487340eb9c34931dbe
|
|
235
247
|
language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
|
|
236
248
|
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
|
237
249
|
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
238
|
-
|
|
250
|
+
mcp (0.7.1) sha256=fa967895d6952bad0d981ea907731d8528d2c246d2079d56a9c8bae83d14f1c7
|
|
251
|
+
minitest (6.0.2) sha256=db6e57956f6ecc6134683b4c87467d6dd792323c7f0eea7b93f66bd284adbc3d
|
|
239
252
|
multi_json (1.19.1) sha256=7aefeff8f2c854bf739931a238e4aea64592845e0c0395c8a7d2eea7fdd631b7
|
|
240
253
|
nokogiri (1.19.1-arm64-darwin) sha256=dfe2d337e6700eac47290407c289d56bcf85805d128c1b5a6434ddb79731cb9e
|
|
241
254
|
nokogiri (1.19.1-x86_64-linux-gnu) sha256=1a4902842a186b4f901078e692d12257678e6133858d0566152fe29cdb98456a
|
|
@@ -247,6 +260,7 @@ CHECKSUMS
|
|
|
247
260
|
prettyprint (0.2.0) sha256=2bc9e15581a94742064a3cc8b0fb9d45aae3d03a1baa6ef80922627a0766f193
|
|
248
261
|
prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
|
|
249
262
|
psych (5.3.1) sha256=eb7a57cef10c9d70173ff74e739d843ac3b2c019a003de48447b2963d81b1974
|
|
263
|
+
public_suffix (7.0.2) sha256=9114090c8e4e7135c1fd0e7acfea33afaab38101884320c65aaa0ffb8e26a857
|
|
250
264
|
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
|
251
265
|
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
|
252
266
|
rake (13.3.1) sha256=8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c
|
|
@@ -256,10 +270,10 @@ CHECKSUMS
|
|
|
256
270
|
rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
|
|
257
271
|
rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
|
|
258
272
|
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
|
|
259
|
-
rspec-mocks (3.13.
|
|
273
|
+
rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
|
|
260
274
|
rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
|
|
261
275
|
rspec_junit_formatter (0.6.0) sha256=40dde674e6ae4e6cc0ff560da25497677e34fefd2338cc467a8972f602b62b15
|
|
262
|
-
rubocop (1.
|
|
276
|
+
rubocop (1.85.0) sha256=317407feb681a07d54f64d2f9e1d6b6af1ce7678e51cd658e3ad8bd66da48c01
|
|
263
277
|
rubocop-ast (1.49.0) sha256=49c3676d3123a0923d333e20c6c2dbaaae2d2287b475273fddee0c61da9f71fd
|
|
264
278
|
rubocop-rake (0.7.1) sha256=3797f2b6810c3e9df7376c26d5f44f3475eda59eb1adc38e6f62ecf027cbae4d
|
|
265
279
|
rubocop-rspec (3.9.0) sha256=8fa70a3619408237d789aeecfb9beef40576acc855173e60939d63332fdb55e2
|
|
@@ -280,4 +294,4 @@ CHECKSUMS
|
|
|
280
294
|
zeitwerk (2.7.5) sha256=d8da92128c09ea6ec62c949011b00ed4a20242b255293dd66bf41545398f73dd
|
|
281
295
|
|
|
282
296
|
BUNDLED WITH
|
|
283
|
-
4.0.
|
|
297
|
+
4.0.7
|
data/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
[](https://circleci.com/gh/sul-dlss/cocina-models)
|
|
2
2
|
[](https://codecov.io/github/sul-dlss/cocina-models)
|
|
3
3
|
[](https://badge.fury.io/rb/cocina-models)
|
|
4
|
-
[](http://validator.swagger.io/validator/debug?url=https://raw.githubusercontent.com/sul-dlss/cocina-models/main/openapi.yml)
|
|
5
4
|
|
|
6
5
|
# Cocina::Models
|
|
7
6
|
|
|
@@ -13,6 +12,10 @@ Note that the data model encodes properties as camelCase, which the team believe
|
|
|
13
12
|
|
|
14
13
|
For more about the model for description see https://consul.stanford.edu/display/DIGMETADATA/Digital+Object+Metadata+Documentation#DigitalObjectMetadataDocumentation-Cocinamodel
|
|
15
14
|
|
|
15
|
+
## Schema
|
|
16
|
+
|
|
17
|
+
The [schema.json](schema.json) can also be viewed via JSON HERO: https://jsonhero.io/j/rynNH3NLBhcf and DOR Services App's openapi.yml: https://sul-dlss.github.io/dor-services-app/
|
|
18
|
+
|
|
16
19
|
## Configuration
|
|
17
20
|
|
|
18
21
|
Set the PURL url base:
|
data/description_types.yml
CHANGED
|
@@ -432,6 +432,8 @@ identifier:
|
|
|
432
432
|
- value: "West Mat #"
|
|
433
433
|
- value: Wikidata
|
|
434
434
|
code: wikidata
|
|
435
|
+
- value: International Article Number
|
|
436
|
+
- value: ProQuest Module ID
|
|
435
437
|
note:
|
|
436
438
|
- value: abstract
|
|
437
439
|
description: A short overview of a research article or other work.
|
data/docs/description_types.md
CHANGED
|
@@ -31,7 +31,7 @@ module Cocina
|
|
|
31
31
|
# code, or identifier.
|
|
32
32
|
attribute? :source, Source.optional
|
|
33
33
|
# The preferred display label to use for the descriptive element in access systems.
|
|
34
|
-
attribute? :displayLabel, Types::Strict::String
|
|
34
|
+
attribute? :displayLabel, Types::Strict::String.optional
|
|
35
35
|
# A term providing information about the circumstances of the statement (e.g., approximate
|
|
36
36
|
# dates).
|
|
37
37
|
attribute? :qualifier, Types::Strict::String
|
|
@@ -9,7 +9,7 @@ module Cocina
|
|
|
9
9
|
# Description of the event (creation, publication, etc.).
|
|
10
10
|
attribute? :type, Types::Strict::String
|
|
11
11
|
# The preferred display label to use for the event in access systems.
|
|
12
|
-
attribute? :displayLabel, Types::Strict::String
|
|
12
|
+
attribute? :displayLabel, Types::Strict::String.optional
|
|
13
13
|
# Dates associated with the event.
|
|
14
14
|
attribute :date, Types::Strict::Array.of(DescriptiveValue).default([].freeze)
|
|
15
15
|
# Contributors associated with the event.
|
|
@@ -30,7 +30,7 @@ module Cocina
|
|
|
30
30
|
# code, or identifier.
|
|
31
31
|
attribute? :source, Source.optional
|
|
32
32
|
# The preferred display label to use for the descriptive element in access systems.
|
|
33
|
-
attribute? :displayLabel, Types::Strict::String
|
|
33
|
+
attribute? :displayLabel, Types::Strict::String.optional
|
|
34
34
|
# A term providing information about the circumstances of the statement (e.g., approximate
|
|
35
35
|
# dates).
|
|
36
36
|
attribute? :qualifier, Types::Strict::String
|
data/lib/cocina/models/event.rb
CHANGED
|
@@ -8,7 +8,7 @@ module Cocina
|
|
|
8
8
|
# Description of the event (creation, publication, etc.).
|
|
9
9
|
attribute? :type, Types::Strict::String
|
|
10
10
|
# The preferred display label to use for the event in access systems.
|
|
11
|
-
attribute? :displayLabel, Types::Strict::String
|
|
11
|
+
attribute? :displayLabel, Types::Strict::String.optional
|
|
12
12
|
# Dates associated with the event.
|
|
13
13
|
attribute :date, Types::Strict::Array.of(DescriptiveValue).default([].freeze)
|
|
14
14
|
# Contributors associated with the event.
|
|
@@ -9,7 +9,7 @@ module Cocina
|
|
|
9
9
|
# Code value of the descriptive element.
|
|
10
10
|
attribute? :code, Types::Strict::String
|
|
11
11
|
# The preferred display label to use for the descriptive element in access systems.
|
|
12
|
-
attribute? :displayLabel, Types::Strict::String
|
|
12
|
+
attribute? :displayLabel, Types::Strict::String.optional
|
|
13
13
|
# Property model for indicating the encoding, standard, or syntax to which a value
|
|
14
14
|
# conforms (e.g. RDA).
|
|
15
15
|
attribute? :encoding, Standard.optional
|
|
@@ -201,12 +201,6 @@ module Cocina
|
|
|
201
201
|
},
|
|
202
202
|
type: 'resource type',
|
|
203
203
|
value: 'Dissertation'
|
|
204
|
-
}, {
|
|
205
|
-
source: {
|
|
206
|
-
value: 'Stanford self-deposit resource types'
|
|
207
|
-
},
|
|
208
|
-
type: 'resource type',
|
|
209
|
-
structuredValue: [{ type: 'subtype', value: 'Academic thesis' }]
|
|
210
204
|
})
|
|
211
205
|
end
|
|
212
206
|
|
|
@@ -30,12 +30,12 @@ module Cocina
|
|
|
30
30
|
def write
|
|
31
31
|
Array(contributors)
|
|
32
32
|
.reject do |contributor|
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
NameTitleGroup.in_name_title_group?(contributor: contributor,
|
|
34
|
+
titles: titles)
|
|
35
35
|
end
|
|
36
36
|
.each do |contributor|
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
NameWriter.write(xml: xml, contributor: contributor,
|
|
38
|
+
id_generator: id_generator)
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
@@ -12,7 +12,7 @@ module Cocina
|
|
|
12
12
|
# Status of the related resource relative to other related resources.
|
|
13
13
|
attribute? :status, Types::Strict::String
|
|
14
14
|
# The preferred display label to use for the related resource in access systems.
|
|
15
|
-
attribute? :displayLabel, Types::Strict::String
|
|
15
|
+
attribute? :displayLabel, Types::Strict::String.optional
|
|
16
16
|
# Titles of the related resource.
|
|
17
17
|
attribute :title, Types::Strict::Array.of(DescriptiveValue).default([].freeze)
|
|
18
18
|
# Agents contributing in some way to the creation and history of the related resource.
|
data/lib/cocina/models/title.rb
CHANGED
|
@@ -29,7 +29,7 @@ module Cocina
|
|
|
29
29
|
# code, or identifier.
|
|
30
30
|
attribute? :source, Source.optional
|
|
31
31
|
# The preferred display label to use for the descriptive element in access systems.
|
|
32
|
-
attribute? :displayLabel, Types::Strict::String
|
|
32
|
+
attribute? :displayLabel, Types::Strict::String.optional
|
|
33
33
|
# A term providing information about the circumstances of the statement (e.g., approximate
|
|
34
34
|
# dates).
|
|
35
35
|
attribute? :qualifier, Types::Strict::String
|
|
@@ -84,7 +84,7 @@ module Cocina
|
|
|
84
84
|
build_request_dro_properties(**)
|
|
85
85
|
.merge(externalIdentifier: id)
|
|
86
86
|
.tap do |props|
|
|
87
|
-
|
|
87
|
+
props[:description][:purl] = "https://purl.stanford.edu/#{id.delete_prefix('druid:')}"
|
|
88
88
|
end
|
|
89
89
|
end
|
|
90
90
|
|
|
@@ -138,7 +138,7 @@ module Cocina
|
|
|
138
138
|
build_request_collection_properties(**)
|
|
139
139
|
.merge(externalIdentifier: id)
|
|
140
140
|
.tap do |props|
|
|
141
|
-
|
|
141
|
+
props[:description][:purl] = "https://purl.stanford.edu/#{id.delete_prefix('druid:')}"
|
|
142
142
|
end
|
|
143
143
|
end
|
|
144
144
|
|
|
@@ -198,7 +198,7 @@ module Cocina
|
|
|
198
198
|
build_request_admin_policy_properties(**)
|
|
199
199
|
.merge(externalIdentifier: id)
|
|
200
200
|
.tap do |props|
|
|
201
|
-
|
|
201
|
+
props[:description][:purl] = "https://purl.stanford.edu/#{id.delete_prefix('druid:')}"
|
|
202
202
|
end
|
|
203
203
|
end
|
|
204
204
|
|
data/schema.json
CHANGED
|
@@ -848,7 +848,7 @@
|
|
|
848
848
|
},
|
|
849
849
|
"displayLabel": {
|
|
850
850
|
"description": "The preferred display label to use for the descriptive element in access systems.",
|
|
851
|
-
"type": "string"
|
|
851
|
+
"type": ["string", "null"]
|
|
852
852
|
},
|
|
853
853
|
"qualifier": {
|
|
854
854
|
"description": "A term providing information about the circumstances of the statement (e.g., approximate dates).",
|
|
@@ -969,7 +969,7 @@
|
|
|
969
969
|
},
|
|
970
970
|
"displayLabel": {
|
|
971
971
|
"description": "The preferred display label to use for the event in access systems.",
|
|
972
|
-
"type": "string"
|
|
972
|
+
"type": ["string", "null"]
|
|
973
973
|
},
|
|
974
974
|
"date": {
|
|
975
975
|
"description": "Dates associated with the event.",
|
|
@@ -1110,7 +1110,7 @@
|
|
|
1110
1110
|
},
|
|
1111
1111
|
"displayLabel": {
|
|
1112
1112
|
"description": "The preferred display label to use for the event in access systems.",
|
|
1113
|
-
"type": "string"
|
|
1113
|
+
"type": ["string", "null"]
|
|
1114
1114
|
},
|
|
1115
1115
|
"date": {
|
|
1116
1116
|
"description": "Dates associated with the event.",
|
|
@@ -1434,7 +1434,7 @@
|
|
|
1434
1434
|
},
|
|
1435
1435
|
"displayLabel": {
|
|
1436
1436
|
"description": "The preferred display label to use for the descriptive element in access systems.",
|
|
1437
|
-
"type": "string"
|
|
1437
|
+
"type": ["string", "null"]
|
|
1438
1438
|
},
|
|
1439
1439
|
"encoding": {
|
|
1440
1440
|
"$ref": "#/$defs/Standard"
|
|
@@ -1733,7 +1733,7 @@
|
|
|
1733
1733
|
},
|
|
1734
1734
|
"displayLabel": {
|
|
1735
1735
|
"description": "The preferred display label to use for the related resource in access systems.",
|
|
1736
|
-
"type": "string"
|
|
1736
|
+
"type": ["string", "null"]
|
|
1737
1737
|
},
|
|
1738
1738
|
"title": {
|
|
1739
1739
|
"description": "Titles of the related resource.",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocina-models
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.113.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Coyne
|
|
@@ -321,7 +321,6 @@ files:
|
|
|
321
321
|
- description_types.yml
|
|
322
322
|
- docs/cocina-base.jsonld
|
|
323
323
|
- docs/description_types.md
|
|
324
|
-
- docs/index.html
|
|
325
324
|
- exe/generator
|
|
326
325
|
- lib/cocina/generator.rb
|
|
327
326
|
- lib/cocina/generator/datatype.rb
|
|
@@ -532,7 +531,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
532
531
|
- !ruby/object:Gem::Version
|
|
533
532
|
version: '0'
|
|
534
533
|
requirements: []
|
|
535
|
-
rubygems_version: 4.0.
|
|
534
|
+
rubygems_version: 4.0.6
|
|
536
535
|
specification_version: 4
|
|
537
536
|
summary: Data models for the SDR
|
|
538
537
|
test_files: []
|
data/docs/index.html
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>API documentation</title>
|
|
5
|
-
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<style>
|
|
10
|
-
body {
|
|
11
|
-
margin: 0;
|
|
12
|
-
padding: 0;
|
|
13
|
-
}
|
|
14
|
-
</style>
|
|
15
|
-
</head>
|
|
16
|
-
<body>
|
|
17
|
-
<redoc spec-url='https://raw.githubusercontent.com/sul-dlss/cocina-models/main/openapi.yml'></redoc>
|
|
18
|
-
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"> </script>
|
|
19
|
-
</body>
|
|
20
|
-
</html>
|