cocina-models 0.128.0 → 0.130.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 +22 -31
- data/form_source_codes.yml +600 -0
- data/lib/cocina/models/event.rb +0 -3
- data/lib/cocina/models/mapping/from_mods/event.rb +3 -52
- data/lib/cocina/models/mapping/from_mods/form.rb +1 -1
- data/lib/cocina/models/request_admin_policy.rb +1 -1
- data/lib/cocina/models/validatable.rb +20 -2
- data/lib/cocina/models/validators/composite_description_validator.rb +2 -1
- data/lib/cocina/models/validators/composite_structural_validator.rb +1 -1
- data/lib/cocina/models/validators/description_form_source_code_visitor_validator.rb +41 -0
- data/lib/cocina/models/validators/description_types_visitor_validator.rb +1 -1
- data/lib/cocina/models/validators/json_schema_validator.rb +50 -5
- data/lib/cocina/models/validators/validator.rb +13 -3
- data/lib/cocina/models/version.rb +1 -1
- data/schema.json +94 -82
- metadata +3 -2
- data/lib/cocina/models/descriptive_parallel_event.rb +0 -27
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f094501e516f4a68db47da8fa1d78685b3f9d8b43cfabad11deaf1a8929e5601
|
|
4
|
+
data.tar.gz: 41a9862bc8297a71d1588705cf1e34296ef65af73225c166688085b87fc032b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 610982303cca76efa71946ae82436290a2df7611e8933311f96e8532c82093785470ec109c914b241a199781e58b0e0c9462d0c5f11c1f614975ccce8f0830e6
|
|
7
|
+
data.tar.gz: ba4ccb6d865668f67e3a163a16c21bf2f4b190bca8cf7b91adf1931a976ef3dd8a17609f95afce59eaa6522d694e3a77eb9d8b006c7bced789406c8dee44bd3c
|
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.130.0)
|
|
5
5
|
activesupport
|
|
6
6
|
cocina_display
|
|
7
7
|
deprecation
|
|
@@ -37,7 +37,7 @@ GEM
|
|
|
37
37
|
base64 (0.3.0)
|
|
38
38
|
bigdecimal (4.1.2)
|
|
39
39
|
builder (3.3.0)
|
|
40
|
-
cocina_display (2.
|
|
40
|
+
cocina_display (2.9.0)
|
|
41
41
|
activesupport (>= 7)
|
|
42
42
|
edtf (~> 3.2)
|
|
43
43
|
geo_coord (~> 0.2)
|
|
@@ -45,7 +45,7 @@ GEM
|
|
|
45
45
|
iso8601 (~> 0.13.0)
|
|
46
46
|
janeway-jsonpath (>= 0.6, < 2)
|
|
47
47
|
zeitwerk (~> 2.7)
|
|
48
|
-
concurrent-ruby (1.3.
|
|
48
|
+
concurrent-ruby (1.3.8)
|
|
49
49
|
connection_pool (3.0.2)
|
|
50
50
|
csv (3.3.5)
|
|
51
51
|
debug (1.11.1)
|
|
@@ -54,7 +54,6 @@ GEM
|
|
|
54
54
|
deprecation (1.1.0)
|
|
55
55
|
activesupport
|
|
56
56
|
diff-lcs (1.6.2)
|
|
57
|
-
docile (1.4.1)
|
|
58
57
|
drb (2.2.3)
|
|
59
58
|
dry-core (1.2.0)
|
|
60
59
|
concurrent-ruby (~> 1.0)
|
|
@@ -82,7 +81,7 @@ GEM
|
|
|
82
81
|
activesupport (>= 3.0, < 9.0)
|
|
83
82
|
equivalent-xml (0.6.0)
|
|
84
83
|
nokogiri (>= 1.4.3)
|
|
85
|
-
erb (6.0.
|
|
84
|
+
erb (6.0.6)
|
|
86
85
|
faraday (2.14.3)
|
|
87
86
|
faraday-net_http (>= 2.0, < 3.5)
|
|
88
87
|
json
|
|
@@ -101,10 +100,10 @@ GEM
|
|
|
101
100
|
reline (>= 0.4.2)
|
|
102
101
|
iso8601 (0.13.0)
|
|
103
102
|
janeway-jsonpath (1.0.0)
|
|
104
|
-
json (2.
|
|
105
|
-
jsonschema_rs (0.
|
|
103
|
+
json (2.21.1)
|
|
104
|
+
jsonschema_rs (0.48.1-arm64-darwin)
|
|
106
105
|
bigdecimal (>= 3.1, < 5)
|
|
107
|
-
jsonschema_rs (0.
|
|
106
|
+
jsonschema_rs (0.48.1-x86_64-linux)
|
|
108
107
|
bigdecimal (>= 3.1, < 5)
|
|
109
108
|
language_server-protocol (3.17.0.6)
|
|
110
109
|
lint_roller (1.1.0)
|
|
@@ -120,7 +119,7 @@ GEM
|
|
|
120
119
|
racc (~> 1.4)
|
|
121
120
|
optimist (3.2.1)
|
|
122
121
|
parallel (2.1.0)
|
|
123
|
-
parser (3.3.
|
|
122
|
+
parser (3.3.12.0)
|
|
124
123
|
ast (~> 2.4.1)
|
|
125
124
|
racc
|
|
126
125
|
patience_diff (1.2.0)
|
|
@@ -162,7 +161,7 @@ GEM
|
|
|
162
161
|
rspec-support (3.13.7)
|
|
163
162
|
rspec_junit_formatter (0.6.0)
|
|
164
163
|
rspec-core (>= 2, < 4, != 2.12.0)
|
|
165
|
-
rubocop (1.88.
|
|
164
|
+
rubocop (1.88.2)
|
|
166
165
|
json (~> 2.3)
|
|
167
166
|
language_server-protocol (~> 3.17.0.2)
|
|
168
167
|
lint_roller (~> 1.1.0)
|
|
@@ -185,12 +184,7 @@ GEM
|
|
|
185
184
|
rubocop (~> 1.86, >= 1.86.2)
|
|
186
185
|
ruby-progressbar (1.13.0)
|
|
187
186
|
securerandom (0.4.1)
|
|
188
|
-
simplecov (0.
|
|
189
|
-
docile (~> 1.1)
|
|
190
|
-
simplecov-html (~> 0.11)
|
|
191
|
-
simplecov_json_formatter (~> 0.1)
|
|
192
|
-
simplecov-html (0.13.2)
|
|
193
|
-
simplecov_json_formatter (0.1.4)
|
|
187
|
+
simplecov (1.0.2)
|
|
194
188
|
super_diff (0.19.0)
|
|
195
189
|
attr_extras (>= 6.2.4, < 8)
|
|
196
190
|
diff-lcs (~> 1.5)
|
|
@@ -231,16 +225,15 @@ CHECKSUMS
|
|
|
231
225
|
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
|
|
232
226
|
bigdecimal (4.1.2) sha256=53d217666027eab4280346fba98e7d5b66baaae1b9c3c1c0ffe89d48188a3fbd
|
|
233
227
|
builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
|
|
234
|
-
bundler (4.0.
|
|
235
|
-
cocina-models (0.
|
|
236
|
-
cocina_display (2.
|
|
237
|
-
concurrent-ruby (1.3.
|
|
228
|
+
bundler (4.0.16) sha256=d6ca5dd440c24f9abce9844cf44cc8e18c6a553de65a47efb4544137af92c47d
|
|
229
|
+
cocina-models (0.130.0)
|
|
230
|
+
cocina_display (2.9.0) sha256=00e97cf826dafd5c547ca87b58e55f1d3bfa68fa4ddcddbbe25b4d9d9ed05d8f
|
|
231
|
+
concurrent-ruby (1.3.8) sha256=b2f1be836e968ccc78ccfce277ea79c72a88633f22306782c16ff23fb415d1e1
|
|
238
232
|
connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
|
|
239
233
|
csv (3.3.5) sha256=6e5134ac3383ef728b7f02725d9872934f523cb40b961479f69cf3afa6c8e73f
|
|
240
234
|
debug (1.11.1) sha256=2e0b0ac6119f2207a6f8ac7d4a73ca8eb4e440f64da0a3136c30343146e952b6
|
|
241
235
|
deprecation (1.1.0) sha256=01707cea9a6ed2d7270377457941f43394a345e6dd8048e1be6d18ff2f2a01e1
|
|
242
236
|
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
|
243
|
-
docile (1.4.1) sha256=96159be799bfa73cdb721b840e9802126e4e03dfc26863db73647204c727f21e
|
|
244
237
|
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
|
|
245
238
|
dry-core (1.2.0) sha256=0cc5a7da88df397f153947eeeae42e876e999c1e30900f3c536fb173854e96a1
|
|
246
239
|
dry-inflector (1.3.1) sha256=7fb0c2bb04f67638f25c52e7ba39ab435d922a3a5c3cd196120f63accb682dcc
|
|
@@ -249,7 +242,7 @@ CHECKSUMS
|
|
|
249
242
|
dry-types (1.9.1) sha256=baebeecdb9f8395d6c9d227b62011279440943e3ef2468fe8ccc1ba11467f178
|
|
250
243
|
edtf (3.3.0) sha256=0ce2b80f5cf222870e5a3df130701f4d24b75c29e23e5bf3130f574d75073487
|
|
251
244
|
equivalent-xml (0.6.0) sha256=8919761efa848ad0846369ff8be1f646b17e5061698c4867b09829000cc3f487
|
|
252
|
-
erb (6.0.
|
|
245
|
+
erb (6.0.6) sha256=a9b24986700f5bf127c4f297c5403c3ca41b83b0a316c0cd09a096b56e644ae5
|
|
253
246
|
faraday (2.14.3) sha256=1882247e6766615c8220b4392bf1d27f6ebb63d8e28267587cef1fb0bf37f278
|
|
254
247
|
faraday-net_http (3.4.4) sha256=0e78af151747ed1b00f33e25973b4bc220d7f16c00c39676817c8b12331eb588
|
|
255
248
|
geo_coord (0.2.0) sha256=ae4e2dc5799deafa4db9138f3d7e85cf5e7dbd00b3b8395f1e1dbd34e007d7e8
|
|
@@ -259,9 +252,9 @@ CHECKSUMS
|
|
|
259
252
|
irb (1.18.0) sha256=de9454a0703a54704b9811a5ef31a60c86949fbf4013fcf244fabc7c775248e3
|
|
260
253
|
iso8601 (0.13.0) sha256=298c2b15b7be5fa95a1372813d36a2257656cd8e906dfbc1f5cb409851425aa2
|
|
261
254
|
janeway-jsonpath (1.0.0) sha256=c8293f009f2aea9487ddee3067ca735a1f758eb1c8834ff4fab3ffd06c56d0a3
|
|
262
|
-
json (2.
|
|
263
|
-
jsonschema_rs (0.
|
|
264
|
-
jsonschema_rs (0.
|
|
255
|
+
json (2.21.1) sha256=13a43df75d95641443f5702dff350f237164a9d811ff0f2c2800d4d980220583
|
|
256
|
+
jsonschema_rs (0.48.1-arm64-darwin) sha256=9159986e47c5fe4a169060c46adb0addfc5229bfcb44052d9f0b90071d1ab28b
|
|
257
|
+
jsonschema_rs (0.48.1-x86_64-linux) sha256=efbc173c13f982ba1a2396ee9c781016837c5797338ac1e0f8e765a23bf8ab58
|
|
265
258
|
language_server-protocol (3.17.0.6) sha256=5ef2c0c138f8267e1bc631d3328347d354f96724b0af22f2c79516120443b7f0
|
|
266
259
|
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
|
267
260
|
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
@@ -271,7 +264,7 @@ CHECKSUMS
|
|
|
271
264
|
nokogiri (1.19.4-x86_64-linux-gnu) sha256=379fae440b28915e3f19d752ce2dcf8465ed2b2fbefd2a7ca0dd497bc981a06a
|
|
272
265
|
optimist (3.2.1) sha256=8cf8a0fd69f3aa24ab48885d3a666717c27bc3d9edd6e976e18b9d771e72e34e
|
|
273
266
|
parallel (2.1.0) sha256=b35258865c2e31134c5ecb708beaaf6772adf9d5efae28e93e99260877b09356
|
|
274
|
-
parser (3.3.
|
|
267
|
+
parser (3.3.12.0) sha256=21a6d7f755d5a24dfbdc6e6b772e4e879a52e7631a88bc5a3a134606052c9828
|
|
275
268
|
patience_diff (1.2.0) sha256=f492094486af02fff4a80070fa6b4d0ebbcf4d42fb38bba29d095eef43f6822c
|
|
276
269
|
pp (0.6.4) sha256=dfcb0fce700c41456265922884f9fe195d7fbb0674a3578e6c0f69588e82b570
|
|
277
270
|
prettyprint (0.2.0) sha256=2bc9e15581a94742064a3cc8b0fb9d45aae3d03a1baa6ef80922627a0766f193
|
|
@@ -290,15 +283,13 @@ CHECKSUMS
|
|
|
290
283
|
rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
|
|
291
284
|
rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
|
|
292
285
|
rspec_junit_formatter (0.6.0) sha256=40dde674e6ae4e6cc0ff560da25497677e34fefd2338cc467a8972f602b62b15
|
|
293
|
-
rubocop (1.88.
|
|
286
|
+
rubocop (1.88.2) sha256=8def251c90cd955feb4daa3edc0ab56893250c4ce90ef81e6c80c03f9a939bbf
|
|
294
287
|
rubocop-ast (1.50.0) sha256=b9ca88300da0803ee222ad20cdb30494c0a784eed06fdc35d254b06d662788db
|
|
295
288
|
rubocop-rake (0.7.1) sha256=3797f2b6810c3e9df7376c26d5f44f3475eda59eb1adc38e6f62ecf027cbae4d
|
|
296
289
|
rubocop-rspec (3.10.2) sha256=0b3e2ecc592cd10ecbf0095bb58d1e357905276e069643523cc19eb7495f65e2
|
|
297
290
|
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
298
291
|
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
|
299
|
-
simplecov (0.
|
|
300
|
-
simplecov-html (0.13.2) sha256=bd0b8e54e7c2d7685927e8d6286466359b6f16b18cb0df47b508e8d73c777246
|
|
301
|
-
simplecov_json_formatter (0.1.4) sha256=529418fbe8de1713ac2b2d612aa3daa56d316975d307244399fa4838c601b428
|
|
292
|
+
simplecov (1.0.2) sha256=c6459434efe4b948b46477cc2df2faa73ab365f83a33c7c17f81262f4f7f1244
|
|
302
293
|
super_diff (0.19.0) sha256=c35fc1c0daa223d67b203fe3fb49a6cfd67850a53920319565c3c654e03ec902
|
|
303
294
|
thor (1.5.0) sha256=e3a9e55fe857e44859ce104a84675ab6e8cd59c650a49106a05f55f136425e73
|
|
304
295
|
tsort (0.2.0) sha256=9650a793f6859a43b6641671278f79cfead60ac714148aabe4e3f0060480089f
|
|
@@ -309,4 +300,4 @@ CHECKSUMS
|
|
|
309
300
|
zeitwerk (2.8.2) sha256=7212a61311083c604184b1ea2574b9aa05cd14f855a0841c06985cabe9181d12
|
|
310
301
|
|
|
311
302
|
BUNDLED WITH
|
|
312
|
-
4.0.
|
|
303
|
+
4.0.16
|