Sha256: 58e81ef36bec7554018c1e1736858cdca19d44b6ece0a47f961a3c4c83618a26

Contents?: true

Size: 978 Bytes

Versions: 1

Compression:

Stored size: 978 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class DescriptiveParallelEvent < 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)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cocina-models-0.63.0 lib/cocina/models/descriptive_parallel_event.rb