Sha256: fb0b07ab7d6b47bf2492c5932a9310348fa3f474f88912d17263cb3abd235fce
Contents?: true
Size: 1.4 KB
Versions: 24
Compression:
Stored size: 1.4 KB
Contents
# frozen_string_literal: true module Cocina module Models class Description < 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 # Stanford persistent URL associated with the related resource. attribute :purl, Purl end end end
Version data entries
24 entries across 24 versions & 1 rubygems