lib/cocina/models/collection_access.rb in cocina-models-0.67.1 vs lib/cocina/models/collection_access.rb in cocina-models-0.68.0
- old
+ new
@@ -2,10 +2,10 @@
module Cocina
module Models
class CollectionAccess < Struct
# Access level
- attribute :access, Types::Strict::String.default('dark').enum('world', 'dark').meta(omittable: true)
+ attribute :view, Types::Strict::String.default('dark').enum('world', 'dark').meta(omittable: true)
# The human readable copyright statement that applies
# example: Copyright World Trade Organization
attribute :copyright, Types::Strict::String.optional.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).