Sha256: 4df9ac0099faf505da5560a9377fdcf13abd5c942ac3386f8000684fc4f0babc

Contents?: true

Size: 969 Bytes

Versions: 3

Compression:

Stored size: 969 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class DROAccess < Struct
      attribute :access, Types::Strict::String.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)
      # 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.meta(omittable: true)
      attribute :embargo, Embargo.optional.meta(omittable: true)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cocina-models-0.31.1 lib/cocina/models/dro_access.rb
cocina-models-0.31.0 lib/cocina/models/dro_access.rb
cocina-models-0.30.0 lib/cocina/models/dro_access.rb