Sha256: a1e2b43fe7899baec26813afb2986d58900ee2bc1d772e7db00c40e9a7754706

Contents?: true

Size: 687 Bytes

Versions: 7

Compression:

Stored size: 687 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)
      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 :note, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cocina-models-0.40.1 lib/cocina/models/event.rb
cocina-models-0.40.0 lib/cocina/models/event.rb
cocina-models-0.39.0 lib/cocina/models/event.rb
cocina-models-0.38.0 lib/cocina/models/event.rb
cocina-models-0.37.0 lib/cocina/models/event.rb
cocina-models-0.36.0 lib/cocina/models/event.rb
cocina-models-0.35.0 lib/cocina/models/event.rb