cocina-models 0.59.1 → 0.60.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/dro_access.rb +1 -1
- data/lib/cocina/models/version.rb +1 -1
- data/openapi.yml +31 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 351185ae4a546fbe541c76edd5125bb4a0d7cb369c896e277c66eeda2212e7ce
|
4
|
+
data.tar.gz: 679fe34dd4861bb1627c38cba2fc1e84bfc5a1600e03be35dcedf52dfad3a80e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78190242ee4ba071e54fa5c0f22344fae84819ebd2c80366feabebb727ae363775252a447f2df89fad1735e79c2a4bbd3f5e089058a4f93f9ba1a98698891751
|
7
|
+
data.tar.gz: 72ab93abf8793848204471e7020ab610c16546b4c9586542456d60d95837f906e4e0d079976ac0acd9d07753d8bc14c4153b1b9239ec205ff77a54144e12cd30
|
@@ -22,7 +22,7 @@ module Cocina
|
|
22
22
|
# example: Property rights reside with the repository. Literary rights reside with the creators of the documents or their heirs. To obtain permission to publish or reproduce, please contact the Public Services Librarian of the Dept. of Special Collections (http://library.stanford.edu/spc).
|
23
23
|
attribute :useAndReproductionStatement, Types::Strict::String.meta(omittable: true)
|
24
24
|
# The license governing reuse of the DRO. Should be an IRI for known licenses (i.e. CC, RightsStatement.org URI, etc.).
|
25
|
-
attribute :license, Types::Strict::String.meta(omittable: true)
|
25
|
+
attribute :license, Types::Strict::String.enum('https://www.gnu.org/licenses/agpl.txt', 'https://www.apache.org/licenses/LICENSE-2.0', 'https://opensource.org/licenses/BSD-2-Clause', 'https://opensource.org/licenses/BSD-3-Clause', 'https://creativecommons.org/licenses/by/4.0/legalcode', 'https://creativecommons.org/licenses/by-nc/4.0/legalcode', 'https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode', 'https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode', 'https://creativecommons.org/licenses/by-nd/4.0/legalcode', 'https://creativecommons.org/licenses/by-sa/4.0/legalcode', 'https://creativecommons.org/publicdomain/zero/1.0/legalcode', 'https://opensource.org/licenses/cddl1', 'https://www.eclipse.org/legal/epl-2.0', 'https://www.gnu.org/licenses/gpl-3.0-standalone.html', 'https://www.isc.org/downloads/software-support-policy/isc-license/', 'https://www.gnu.org/licenses/lgpl-3.0-standalone.html', 'https://opensource.org/licenses/MIT', 'https://www.mozilla.org/MPL/2.0/', 'https://opendatacommons.org/licenses/by/1-0/', 'http://opendatacommons.org/licenses/odbl/1.0/', 'https://opendatacommons.org/licenses/odbl/1-0/', 'https://creativecommons.org/publicdomain/mark/1.0/', 'https://opendatacommons.org/licenses/pddl/1-0/', 'https://creativecommons.org/licenses/by/3.0/legalcode', 'https://creativecommons.org/licenses/by-sa/3.0/legalcode', 'https://creativecommons.org/licenses/by-nd/3.0/legalcode', 'https://creativecommons.org/licenses/by-nc/3.0/legalcode', 'https://creativecommons.org/licenses/by-nc-sa/3.0/legalcode', 'https://creativecommons.org/licenses/by-nc-nd/3.0/legalcode', 'http://cocina.sul.stanford.edu/licenses/none').meta(omittable: true)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
data/openapi.yml
CHANGED
@@ -952,6 +952,37 @@ components:
|
|
952
952
|
license:
|
953
953
|
description: The license governing reuse of the DRO. Should be an IRI for known licenses (i.e. CC, RightsStatement.org URI, etc.).
|
954
954
|
type: string
|
955
|
+
enum:
|
956
|
+
- https://www.gnu.org/licenses/agpl.txt
|
957
|
+
- https://www.apache.org/licenses/LICENSE-2.0
|
958
|
+
- https://opensource.org/licenses/BSD-2-Clause
|
959
|
+
- https://opensource.org/licenses/BSD-3-Clause
|
960
|
+
- https://creativecommons.org/licenses/by/4.0/legalcode
|
961
|
+
- https://creativecommons.org/licenses/by-nc/4.0/legalcode
|
962
|
+
- https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode
|
963
|
+
- https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode
|
964
|
+
- https://creativecommons.org/licenses/by-nd/4.0/legalcode
|
965
|
+
- https://creativecommons.org/licenses/by-sa/4.0/legalcode
|
966
|
+
- https://creativecommons.org/publicdomain/zero/1.0/legalcode
|
967
|
+
- https://opensource.org/licenses/cddl1
|
968
|
+
- https://www.eclipse.org/legal/epl-2.0
|
969
|
+
- https://www.gnu.org/licenses/gpl-3.0-standalone.html
|
970
|
+
- https://www.isc.org/downloads/software-support-policy/isc-license/
|
971
|
+
- https://www.gnu.org/licenses/lgpl-3.0-standalone.html
|
972
|
+
- https://opensource.org/licenses/MIT
|
973
|
+
- https://www.mozilla.org/MPL/2.0/
|
974
|
+
- https://opendatacommons.org/licenses/by/1-0/
|
975
|
+
- http://opendatacommons.org/licenses/odbl/1.0/ # Non cannonical, but in some of our data
|
976
|
+
- https://opendatacommons.org/licenses/odbl/1-0/
|
977
|
+
- https://creativecommons.org/publicdomain/mark/1.0/
|
978
|
+
- https://opendatacommons.org/licenses/pddl/1-0/
|
979
|
+
- https://creativecommons.org/licenses/by/3.0/legalcode
|
980
|
+
- https://creativecommons.org/licenses/by-sa/3.0/legalcode
|
981
|
+
- https://creativecommons.org/licenses/by-nd/3.0/legalcode
|
982
|
+
- https://creativecommons.org/licenses/by-nc/3.0/legalcode
|
983
|
+
- https://creativecommons.org/licenses/by-nc-sa/3.0/legalcode
|
984
|
+
- https://creativecommons.org/licenses/by-nc-nd/3.0/legalcode
|
985
|
+
- http://cocina.sul.stanford.edu/licenses/none # Only used in some legacy ETDs and not actually permitted per the Project Chimera docs.
|
955
986
|
DROStructural:
|
956
987
|
description: Structural metadata
|
957
988
|
type: object
|
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.60.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -343,7 +343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
343
343
|
- !ruby/object:Gem::Version
|
344
344
|
version: '0'
|
345
345
|
requirements: []
|
346
|
-
rubygems_version: 3.
|
346
|
+
rubygems_version: 3.1.4
|
347
347
|
signing_key:
|
348
348
|
specification_version: 4
|
349
349
|
summary: Data models for the SDR
|