lib/cocina/models/dro_structural.rb in cocina-models-0.37.0 vs lib/cocina/models/dro_structural.rb in cocina-models-0.38.0
- old
+ new
@@ -3,11 +3,10 @@
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)
- # example: druid:bc123df4567
- attribute :isMemberOf, Types::Strict::String.meta(omittable: true)
+ attribute :isMemberOf, Types::Strict::Array.of(Druid).meta(omittable: true)
# Agreement that covers the deposit of the DRO into SDR.
attribute :hasAgreement, Types::Strict::String.meta(omittable: true)
end
end
end