Sha256: 85554f8a2c1bb8850b3c09ce38bbea7c5bc01994d2a744bb57dbe268d5adc2eb
Contents?: true
Size: 1.31 KB
Versions: 4
Compression:
Stored size: 1.31 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 attribute :relatedResource, Types::Strict::Array.of(RelatedResource).default([].freeze) attribute :marcEncodedData, Types::Strict::Array.of(DescriptiveValue).default([].freeze) attribute? :adminMetadata, DescriptiveAdminMetadata.optional # URL or other pointer to the location of the resource description. attribute? :valueAt, Types::Strict::String end end end
Version data entries
4 entries across 4 versions & 1 rubygems