lib/cocina/models/access.rb in cocina-models-0.58.0 vs lib/cocina/models/access.rb in cocina-models-0.58.1

- old
+ new

@@ -5,10 +5,10 @@ class Access < Struct # Access level attribute :access, Types::Strict::String.optional.default('dark').enum('world', 'stanford', 'location-based', 'citation-only', 'dark').meta(omittable: true) # The human readable copyright statement that applies # example: Copyright World Trade Organization - attribute :copyright, Types::Strict::String.meta(omittable: true) + attribute :copyright, Types::Strict::String.optional.meta(omittable: true) # If access is "location-based", which location should have access. attribute :readLocation, Types::Strict::String.optional.enum('spec', 'music', 'ars', 'art', 'hoover', 'm&m').meta(omittable: true) # The human readable use and reproduction statement that applies # 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). attribute :useAndReproductionStatement, Types::Strict::String.optional.meta(omittable: true)