Sha256: 6ee356d84c89b85272ee5bd2621d3e7a51dcb5cd76fe2c3ff2d0446a53e7d7f0

Contents?: true

Size: 931 Bytes

Versions: 11

Compression:

Stored size: 931 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class Event < Struct
      attribute :structuredValue, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
      # 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).meta(omittable: true)
      attribute :contributor, Types::Strict::Array.of(Contributor).meta(omittable: true)
      attribute :location, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
      attribute :identifier, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
      attribute :note, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cocina-models-0.48.0 lib/cocina/models/event.rb
cocina-models-0.47.2 lib/cocina/models/event.rb
cocina-models-0.47.1 lib/cocina/models/event.rb
cocina-models-0.47.0 lib/cocina/models/event.rb
cocina-models-0.46.0 lib/cocina/models/event.rb
cocina-models-0.45.0 lib/cocina/models/event.rb
cocina-models-0.44.0 lib/cocina/models/event.rb
cocina-models-0.43.0 lib/cocina/models/event.rb
cocina-models-0.42.1 lib/cocina/models/event.rb
cocina-models-0.42.0 lib/cocina/models/event.rb
cocina-models-0.41.0 lib/cocina/models/event.rb