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

Version Path
cocina-models-0.75.0 lib/cocina/models/event.rb
cocina-models-0.74.1 lib/cocina/models/event.rb
cocina-models-0.74.0 lib/cocina/models/event.rb
cocina-models-0.73.6 lib/cocina/models/event.rb
cocina-models-0.73.5 lib/cocina/models/event.rb
cocina-models-0.73.4 lib/cocina/models/event.rb
cocina-models-0.73.3 lib/cocina/models/event.rb
cocina-models-0.73.2 lib/cocina/models/event.rb
cocina-models-0.73.1 lib/cocina/models/event.rb
cocina-models-0.73.0 lib/cocina/models/event.rb
cocina-models-0.72.0 lib/cocina/models/event.rb
cocina-models-0.71.0 lib/cocina/models/event.rb
cocina-models-0.70.0 lib/cocina/models/event.rb
cocina-models-0.69.2 lib/cocina/models/event.rb
cocina-models-0.69.1 lib/cocina/models/event.rb
cocina-models-0.69.0 lib/cocina/models/event.rb
cocina-models-0.68.0 lib/cocina/models/event.rb
cocina-models-0.67.1 lib/cocina/models/event.rb
cocina-models-0.67.0 lib/cocina/models/event.rb
cocina-models-0.66.0 lib/cocina/models/event.rb