Sha256: a36f07b8b5271412c2845e17082215b81139228288e940dc9832466c09906762

Contents?: true

Size: 1.86 KB

Versions: 18

Compression:

Stored size: 1.86 KB

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class AdminPolicyDefaultAccess < Struct
      attribute :access, Types::Strict::String.enum('world', 'stanford', 'location-based', 'citation-only', 'dark').meta(omittable: true)
      # Available for controlled digital lending.
      attribute :controlledDigitalLending, Types::Strict::Bool.meta(omittable: true)
      # The human readable copyright statement that applies
      # example: Copyright World Trade Organization
      attribute :copyright, Types::Strict::String.optional.meta(omittable: true)
      # Download access level. This is used in the transition from Fedora as a way to set a default download level at registration that is copied down to all the files.

      attribute :download, Types::Strict::String.enum('world', 'stanford', 'location-based', 'none').meta(omittable: true)
      # If access is "location-based", which location should have access. This is used in the transition from Fedora as a way to set a default readLocation at registration that is copied down to all the files.

      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)
      # 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.meta(omittable: true)
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
cocina-models-0.67.1 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.67.0 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.66.0 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.65.1 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.65.0 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.64.0 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.63.1 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.63.0 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.62.1 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.62.0 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.61.3 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.61.2 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.61.1 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.61.0 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.60.0 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.59.1 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.59.0 lib/cocina/models/admin_policy_default_access.rb
cocina-models-0.58.2 lib/cocina/models/admin_policy_default_access.rb