lib/cocina/models/file_set.rb in cocina-models-0.69.2 vs lib/cocina/models/file_set.rb in cocina-models-0.70.0
- old
+ new
@@ -27,9 +27,9 @@
attribute :externalIdentifier, Types::Strict::String
# Primary processing label for a Fileset.
attribute :label, Types::Strict::String
# Version for the Fileset within SDR.
attribute :version, Types::Strict::Integer
- attribute :structural, FileSetStructural.optional.meta(omittable: true)
+ attribute(:structural, FileSetStructural.default { FileSetStructural.new })
end
end
end