lib/cocina/models/event.rb in cocina-models-0.49.0 vs lib/cocina/models/event.rb in cocina-models-0.50.0
- old
+ new
@@ -2,18 +2,18 @@
module Cocina
module Models
class Event < Struct
attribute :structuredValue, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
- attribute :parallelValue, 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)
+ attribute :parallelEvent, Types::Strict::Array.of(DescriptiveParallelEvent).meta(omittable: true)
end
end
end