Sha256: 0a73277d1904c1465092c75dcf2e0301a96cb4a1752de3aa8f77aab6584d8ec8

Contents?: true

Size: 1.38 KB

Versions: 20

Compression:

Stored size: 1.38 KB

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class RequestDescription < Struct
      include Validatable

      attribute :title, Types::Strict::Array.of(Title).default([].freeze)
      attribute :contributor, Types::Strict::Array.of(Contributor).default([].freeze)
      attribute :event, Types::Strict::Array.of(Event).default([].freeze)
      attribute :form, Types::Strict::Array.of(DescriptiveValue).default([].freeze)
      attribute :geographic, Types::Strict::Array.of(DescriptiveGeographicMetadata).default([].freeze)
      attribute :language, Types::Strict::Array.of(Language).default([].freeze)
      attribute :note, Types::Strict::Array.of(DescriptiveValue).default([].freeze)
      attribute :identifier, Types::Strict::Array.of(DescriptiveValue).default([].freeze)
      attribute :subject, Types::Strict::Array.of(DescriptiveValue).default([].freeze)
      attribute :access, DescriptiveAccessMetadata.optional.meta(omittable: true)
      attribute :relatedResource, Types::Strict::Array.of(RelatedResource).default([].freeze)
      attribute :marcEncodedData, Types::Strict::Array.of(DescriptiveValue).default([].freeze)
      attribute :adminMetadata, DescriptiveAdminMetadata.optional.meta(omittable: true)
      # URL or other pointer to the location of the resource description.
      attribute :valueAt, Types::Strict::String.meta(omittable: true)
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
cocina-models-0.75.0 lib/cocina/models/request_description.rb
cocina-models-0.74.1 lib/cocina/models/request_description.rb
cocina-models-0.74.0 lib/cocina/models/request_description.rb
cocina-models-0.73.6 lib/cocina/models/request_description.rb
cocina-models-0.73.5 lib/cocina/models/request_description.rb
cocina-models-0.73.4 lib/cocina/models/request_description.rb
cocina-models-0.73.3 lib/cocina/models/request_description.rb
cocina-models-0.73.2 lib/cocina/models/request_description.rb
cocina-models-0.73.1 lib/cocina/models/request_description.rb
cocina-models-0.73.0 lib/cocina/models/request_description.rb
cocina-models-0.72.0 lib/cocina/models/request_description.rb
cocina-models-0.71.0 lib/cocina/models/request_description.rb
cocina-models-0.70.0 lib/cocina/models/request_description.rb
cocina-models-0.69.2 lib/cocina/models/request_description.rb
cocina-models-0.69.1 lib/cocina/models/request_description.rb
cocina-models-0.69.0 lib/cocina/models/request_description.rb
cocina-models-0.68.0 lib/cocina/models/request_description.rb
cocina-models-0.67.1 lib/cocina/models/request_description.rb
cocina-models-0.67.0 lib/cocina/models/request_description.rb
cocina-models-0.66.0 lib/cocina/models/request_description.rb