lib/cocina/models/descriptive_admin_metadata.rb in cocina-models-0.62.1 vs lib/cocina/models/descriptive_admin_metadata.rb in cocina-models-0.63.0

- old
+ new

@@ -1,14 +1,14 @@ # frozen_string_literal: true module Cocina module Models class DescriptiveAdminMetadata < Struct - attribute :contributor, Types::Strict::Array.of(Contributor).meta(omittable: true) - attribute :event, Types::Strict::Array.of(Event).meta(omittable: true) - attribute :language, Types::Strict::Array.of(Language).meta(omittable: true) - attribute :note, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true) - attribute :metadataStandard, Types::Strict::Array.of(Standard).meta(omittable: true) - attribute :identifier, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true) + attribute :contributor, Types::Strict::Array.of(Contributor).default([]) + attribute :event, Types::Strict::Array.of(Event).default([]) + attribute :language, Types::Strict::Array.of(Language).default([]) + attribute :note, Types::Strict::Array.of(DescriptiveValue).default([]) + attribute :metadataStandard, Types::Strict::Array.of(Standard).default([]) + attribute :identifier, Types::Strict::Array.of(DescriptiveValue).default([]) end end end