lib/cocina/models/request_dro.rb in cocina-models-0.60.0 vs lib/cocina/models/request_dro.rb in cocina-models-0.61.0
- old
+ new
@@ -19,10 +19,9 @@
'http://cocina.sul.stanford.edu/models/media.jsonld',
'http://cocina.sul.stanford.edu/models/track.jsonld',
'http://cocina.sul.stanford.edu/models/webarchive-binary.jsonld',
'http://cocina.sul.stanford.edu/models/webarchive-seed.jsonld'].freeze
- # example: item
attribute :type, Types::Strict::String.enum(*RequestDRO::TYPES)
attribute :label, Types::Strict::String
attribute :version, Types::Strict::Integer
attribute :access, DROAccess.optional.meta(omittable: true)
attribute(:administrative, Administrative.default { Administrative.new })