Sha256: 71f343d1f22da9479fcf40dbf0c4335301bd5870a36520bb64a24d4b93b292e8

Contents?: true

Size: 1 KB

Versions: 4

Compression:

Stored size: 1 KB

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class CollectionAccess < Struct
      # Access level
      attribute? :view, Types::Strict::String.default('dark').enum('world', 'dark')
      # The human readable copyright statement that applies
      # example: Copyright World Trade Organization
      attribute? :copyright, Types::Strict::String.optional
      # 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
      # The license governing reuse of the Collection. Should be an IRI for known licenses (i.e. CC, RightsStatement.org URI, etc.).
      attribute? :license, Types::Strict::String.optional
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cocina-models-0.79.0 lib/cocina/models/collection_access.rb
cocina-models-0.78.0 lib/cocina/models/collection_access.rb
cocina-models-0.77.0 lib/cocina/models/collection_access.rb
cocina-models-0.76.0 lib/cocina/models/collection_access.rb