Sha256: be7bc87c8f9ea6c8ed9588dae70dadd011793fd0973c7a21478de3d67f5974bc
Contents?: true
Size: 692 Bytes
Versions: 4
Compression:
Stored size: 692 Bytes
Contents
# frozen_string_literal: true module Cocina module Models class Event < Struct attribute :structuredValue, Types::Strict::Array.of(DescriptiveBasicValue).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
4 entries across 4 versions & 1 rubygems