cocina-models 0.56.0 → 0.56.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: 352ed5623ee930889067e73d3d306dcdd552cc37cd5234c1a63b587d4c203721
4
- data.tar.gz: a7bc8f6b3162e3e72eda861a99bf3e06fe0e94f8a94b0be155922848ba0aff24
3
+ metadata.gz: a52376af9aaa972a14d4519fb0faede24d513fa07398c4c9baee0b3f20905023
4
+ data.tar.gz: 14cff19f291851019d791e55851d2b83f0619e8b2814390cc67fad5a1b6865c9
5
5
  SHA512:
6
- metadata.gz: 8527592a36ba28a38d00086db7e3f37e5aaed274d98b65a8c71a5b8cd3b3c9e7da8fb1f29ca5c213f62bc278e42253c5a3cf955ad10918bc009b444170e3ef6d
7
- data.tar.gz: 676a84548def7a9993383f356e3315d440ebec5dfd5efad611be323fed8aee543d1669520779ffa6555a836da5d0fb2ced503099651da96b2039d39db5af4c02
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, DROAccess.optional.meta(omittable: true)
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)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Cocina
4
4
  module Models
5
- VERSION = '0.56.0'
5
+ VERSION = '0.56.1'
6
6
  end
7
7
  end
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/DROAccess'
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.0
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.0.3
337
+ rubygems_version: 3.1.4
338
338
  signing_key:
339
339
  specification_version: 4
340
340
  summary: Data models for the SDR