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

- old
+ new

@@ -1,12 +1,12 @@ # frozen_string_literal: true module Cocina module Models class DROStructural < Struct - attribute :contains, Types::Strict::Array.of(FileSet).meta(omittable: true) - attribute :hasMemberOrders, Types::Strict::Array.of(Sequence).meta(omittable: true) - attribute :isMemberOf, Types::Strict::Array.of(Druid).meta(omittable: true) + attribute :contains, Types::Strict::Array.of(FileSet).default([]) + attribute :hasMemberOrders, Types::Strict::Array.of(Sequence).default([]) + attribute :isMemberOf, Types::Strict::Array.of(Druid).default([]) # Agreement that covers the deposit of the DRO into SDR. attribute :hasAgreement, Types::Strict::String.meta(omittable: true) end end end