Sha256: fdb0d641a47cba0b5507d6fbcf653255c097f96c18d30fa0fd4f0ba3e5befd66
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
# frozen_string_literal: true module Cocina module Models class Event < Struct attribute :structuredValue, Types::Strict::Array.of(DescriptiveValue).default([]) # 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([]) attribute :contributor, Types::Strict::Array.of(Contributor).default([]) attribute :location, Types::Strict::Array.of(DescriptiveValue).default([]) attribute :identifier, Types::Strict::Array.of(DescriptiveValue).default([]) attribute :note, Types::Strict::Array.of(DescriptiveValue).default([]) attribute :valueLanguage, DescriptiveValueLanguage.optional.meta(omittable: true) attribute :parallelEvent, Types::Strict::Array.of(DescriptiveParallelEvent).default([]) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cocina-models-0.63.0 | lib/cocina/models/event.rb |