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 +4 -4
- data/lib/cocina/models/access.rb +3 -0
- data/lib/cocina/models/version.rb +1 -1
- data/openapi.yml +4 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 327ee6c2265a055d884305f09a8e6ef984ef97890b133bf01c84ef11c4cb587f
|
4
|
+
data.tar.gz: 727bfd13e69b3aee8f6d4820dc5a212eacb64ee8cb9d5a9d016f7de3d98493fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9438bc21b55a4f921314bcd77245bad9d023f40fd58bdae273ff8bc41658eec4aba38a4c670a71e747ab040583f0c16426a0e7dd3383f9d73288ce52c6040f8b
|
7
|
+
data.tar.gz: 80b8dcd260337bc8c210ecec957435bebc0b4dfa9318e4ddd9de1a6cf15525e3202c2c21f1366f7e21372560e5a3ba304abde55930898025031d5fe5ba326149
|
data/lib/cocina/models/access.rb
CHANGED
@@ -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
|
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.
|
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-
|
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.
|
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: []
|