cocina-models 0.56.0 → 0.56.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a52376af9aaa972a14d4519fb0faede24d513fa07398c4c9baee0b3f20905023
|
|
4
|
+
data.tar.gz: 14cff19f291851019d791e55851d2b83f0619e8b2814390cc67fad5a1b6865c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c2bf5052432e221e622b4c87164bcc3ae823a74ef589ede8e07054b98159cb60be777f1b905a7b8846bdbc4a678440e09ab1040fcd252cc67215498fa3d438d
|
|
7
|
+
data.tar.gz: 39fa183b6da0bd4d1a4ff2766cbbd9ec1a11e0b68f7ce640a8394a13565fc4f310d5992ea4e2371a638e860d0c1595fe18899a63acd9d30b3353aff40870e3ca
|
|
@@ -5,7 +5,7 @@ module Cocina
|
|
|
5
5
|
class AdminPolicyAdministrative < Struct
|
|
6
6
|
# This is an XML expression of the default access (see defaultAccess)
|
|
7
7
|
attribute :defaultObjectRights, Types::Strict::String.default('<?xml version="1.0" encoding="UTF-8"?><rightsMetadata><access type="discover"><machine><world/></machine></access><access type="read"><machine><world/></machine></access><use><human type="useAndReproduction"/><human type="creativeCommons"/><machine type="creativeCommons" uri=""/><human type="openDataCommons"/><machine type="openDataCommons" uri=""/></use><copyright><human/></copyright></rightsMetadata>').meta(omittable: true)
|
|
8
|
-
attribute :defaultAccess,
|
|
8
|
+
attribute :defaultAccess, AdminPolicyDefaultAccess.optional.meta(omittable: true)
|
|
9
9
|
attribute :registrationWorkflow, Types::Strict::Array.of(Types::Strict::String).meta(omittable: true)
|
|
10
10
|
# An additional workflow to start for objects managed by this admin policy once the end-accession workflow step is complete
|
|
11
11
|
# example: wasCrawlPreassemblyWF
|
|
@@ -9,7 +9,6 @@ module Cocina
|
|
|
9
9
|
# The human readable copyright statement that applies
|
|
10
10
|
# example: Copyright World Trade Organization
|
|
11
11
|
attribute :copyright, Types::Strict::String.meta(omittable: true)
|
|
12
|
-
attribute :embargo, Embargo.optional.meta(omittable: true)
|
|
13
12
|
# Download access level. This is used in the transition from Fedora as a way to set a default download level at registration that is copied down to all the files.
|
|
14
13
|
|
|
15
14
|
attribute :download, Types::Strict::String.enum('world', 'stanford', 'location-based', 'none').meta(omittable: true)
|
data/openapi.yml
CHANGED
|
@@ -225,7 +225,7 @@ components:
|
|
|
225
225
|
deprecated: true
|
|
226
226
|
default: <?xml version="1.0" encoding="UTF-8"?><rightsMetadata><access type="discover"><machine><world/></machine></access><access type="read"><machine><world/></machine></access><use><human type="useAndReproduction"/><human type="creativeCommons"/><machine type="creativeCommons" uri=""/><human type="openDataCommons"/><machine type="openDataCommons" uri=""/></use><copyright><human/></copyright></rightsMetadata>
|
|
227
227
|
defaultAccess:
|
|
228
|
-
$ref: '#/components/schemas/
|
|
228
|
+
$ref: '#/components/schemas/AdminPolicyDefaultAccess'
|
|
229
229
|
registrationWorkflow:
|
|
230
230
|
description: When you register an item with this admin policy, these are the workflows that are available.
|
|
231
231
|
type: array
|
|
@@ -252,7 +252,7 @@ components:
|
|
|
252
252
|
required:
|
|
253
253
|
- hasAdminPolicy
|
|
254
254
|
AdminPolicyDefaultAccess:
|
|
255
|
-
description: 'Provides the default access settings for an AdminPolicy. This is almost the same as DROAccess, but it provides no defaults.'
|
|
255
|
+
description: 'Provides the default access settings for an AdminPolicy. This is almost the same as DROAccess, but it provides no defaults and has no embargo.'
|
|
256
256
|
type: object
|
|
257
257
|
additionalProperties: false
|
|
258
258
|
properties:
|
|
@@ -271,8 +271,6 @@ components:
|
|
|
271
271
|
description: The human readable copyright statement that applies
|
|
272
272
|
example: Copyright World Trade Organization
|
|
273
273
|
type: string
|
|
274
|
-
embargo:
|
|
275
|
-
$ref: '#/components/schemas/Embargo'
|
|
276
274
|
download:
|
|
277
275
|
description: >
|
|
278
276
|
Download access level. This is used in the transition from Fedora as
|
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.56.
|
|
4
|
+
version: 0.56.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Coyne
|
|
@@ -334,7 +334,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
334
334
|
- !ruby/object:Gem::Version
|
|
335
335
|
version: '0'
|
|
336
336
|
requirements: []
|
|
337
|
-
rubygems_version: 3.
|
|
337
|
+
rubygems_version: 3.1.4
|
|
338
338
|
signing_key:
|
|
339
339
|
specification_version: 4
|
|
340
340
|
summary: Data models for the SDR
|