cocina-models 0.56.1 → 0.57.0

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: a52376af9aaa972a14d4519fb0faede24d513fa07398c4c9baee0b3f20905023
4
- data.tar.gz: 14cff19f291851019d791e55851d2b83f0619e8b2814390cc67fad5a1b6865c9
3
+ metadata.gz: 327ee6c2265a055d884305f09a8e6ef984ef97890b133bf01c84ef11c4cb587f
4
+ data.tar.gz: 727bfd13e69b3aee8f6d4820dc5a212eacb64ee8cb9d5a9d016f7de3d98493fb
5
5
  SHA512:
6
- metadata.gz: 4c2bf5052432e221e622b4c87164bcc3ae823a74ef589ede8e07054b98159cb60be777f1b905a7b8846bdbc4a678440e09ab1040fcd252cc67215498fa3d438d
7
- data.tar.gz: 39fa183b6da0bd4d1a4ff2766cbbd9ec1a11e0b68f7ce640a8394a13565fc4f310d5992ea4e2371a638e860d0c1595fe18899a63acd9d30b3353aff40870e3ca
6
+ metadata.gz: 9438bc21b55a4f921314bcd77245bad9d023f40fd58bdae273ff8bc41658eec4aba38a4c670a71e747ab040583f0c16426a0e7dd3383f9d73288ce52c6040f8b
7
+ data.tar.gz: 80b8dcd260337bc8c210ecec957435bebc0b4dfa9318e4ddd9de1a6cf15525e3202c2c21f1366f7e21372560e5a3ba304abde55930898025031d5fe5ba326149
@@ -5,6 +5,9 @@ module Cocina
5
5
  class Access < Struct
6
6
  # Access level
7
7
  attribute :access, Types::Strict::String.default('dark').enum('world', 'stanford', 'location-based', 'citation-only', 'dark').meta(omittable: true)
8
+ # The human readable copyright statement that applies
9
+ # example: Copyright World Trade Organization
10
+ attribute :copyright, Types::Strict::String.meta(omittable: true)
8
11
  # If access is "location-based", which location should have access.
9
12
  attribute :readLocation, Types::Strict::String.enum('spec', 'music', 'ars', 'art', 'hoover', 'm&m').meta(omittable: true)
10
13
  # The human readable use and reproduction statement that applies
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Cocina
4
4
  module Models
5
- VERSION = '0.56.1'
5
+ VERSION = '0.57.0'
6
6
  end
7
7
  end
data/openapi.yml CHANGED
@@ -108,6 +108,10 @@ components:
108
108
  - 'citation-only'
109
109
  - 'dark'
110
110
  default: 'dark'
111
+ copyright:
112
+ description: The human readable copyright statement that applies
113
+ example: Copyright World Trade Organization
114
+ type: string
111
115
  readLocation:
112
116
  description: If access is "location-based", which location should have access.
113
117
  type: string
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.56.1
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-18 00:00:00.000000000 Z
11
+ date: 2021-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -319,7 +319,7 @@ files:
319
319
  homepage: https://github.com/sul-dlss/cocina-models
320
320
  licenses: []
321
321
  metadata: {}
322
- post_install_message:
322
+ post_install_message:
323
323
  rdoc_options: []
324
324
  require_paths:
325
325
  - lib
@@ -334,8 +334,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
334
334
  - !ruby/object:Gem::Version
335
335
  version: '0'
336
336
  requirements: []
337
- rubygems_version: 3.1.4
338
- signing_key:
337
+ rubygems_version: 3.2.2
338
+ signing_key:
339
339
  specification_version: 4
340
340
  summary: Data models for the SDR
341
341
  test_files: []