lib/cocina/models/dro.rb in cocina-models-0.33.0 vs lib/cocina/models/dro.rb in cocina-models-0.34.0
- old
+ new
@@ -29,10 +29,10 @@
# Primary processing label (can be same as title) for a DRO.
attribute :label, Types::Strict::String
# Version for the DRO within SDR.
attribute :version, Types::Strict::Integer
attribute(:access, DROAccess.default { DROAccess.new })
- attribute :administrative, Administrative.optional.meta(omittable: true)
+ attribute(:administrative, Administrative.default { Administrative.new })
attribute :description, Description.optional.meta(omittable: true)
attribute :identification, Identification.optional.meta(omittable: true)
attribute :structural, DROStructural.optional.meta(omittable: true)
attribute :geographic, Geographic.optional.meta(omittable: true)