Sha256: e8f89cddf95deb6bc02ba8670e1607d0e8a176d608432a36a8f61262ed65502b
Contents?: true
Size: 1.08 KB
Versions: 24
Compression:
Stored size: 1.08 KB
Contents
# frozen_string_literal: true module Cocina module Models class Event < Struct attribute :structuredValue, Types::Strict::Array.of(DescriptiveValue).default([].freeze) # Description of the event (creation, publication, etc.). attribute :type, Types::Strict::String.meta(omittable: true) # The preferred display label to use for the event in access systems. attribute :displayLabel, Types::Strict::String.meta(omittable: true) 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.meta(omittable: true) attribute :parallelEvent, Types::Strict::Array.of(DescriptiveParallelEvent).default([].freeze) end end end
Version data entries
24 entries across 24 versions & 1 rubygems