Sha256: 394e2011ea9ebe737a11987701f001fbeb0e173fc96e6004095e0f68310a36f3
Contents?: true
Size: 1.05 KB
Versions: 36
Compression:
Stored size: 1.05 KB
Contents
# frozen_string_literal: true module Cocina module Models # Value model for multiple representations of information about the same event (e.g. in different languages). class DescriptiveParallelEvent < Struct attribute :structuredValue, Types::Strict::Array.of(DescriptiveValue).default([].freeze) # Description of the event (creation, publication, etc.). attribute? :type, Types::Strict::String # The preferred display label to use for the event in access systems. attribute? :displayLabel, Types::Strict::String attribute :date, Types::Strict::Array.of(DescriptiveValue).default([].freeze) attribute :contributor, Types::Strict::Array.of(Contributor).default([].freeze) attribute :location, Types::Strict::Array.of(DescriptiveValue).default([].freeze) attribute :identifier, Types::Strict::Array.of(DescriptiveValue).default([].freeze) attribute :note, Types::Strict::Array.of(DescriptiveValue).default([].freeze) attribute? :valueLanguage, DescriptiveValueLanguage.optional end end end
Version data entries
36 entries across 36 versions & 1 rubygems