Sha256: 52a8aa603a887665ab581424b79b7fe7bdc39ed92f60318e2c18ac07538c1b10
Contents?: true
Size: 1.09 KB
Versions: 36
Compression:
Stored size: 1.09 KB
Contents
# frozen_string_literal: true module Cocina module Models # Property model for describing events in the history of the resource. class Event < Struct attribute :structuredValue, Types::Strict::Array.of(DescriptiveValue).default([].freeze) # Description of the event (creation, publication, etc.). attribute? :type, Types::Strict::String # The preferred display label to use for the event in access systems. attribute? :displayLabel, Types::Strict::String 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 attribute :parallelEvent, Types::Strict::Array.of(DescriptiveParallelEvent).default([].freeze) end end end
Version data entries
36 entries across 36 versions & 1 rubygems