lib/cocina/models/dro.rb in cocina-models-0.63.1 vs lib/cocina/models/dro.rb in cocina-models-0.64.0
- old
+ new
@@ -19,9 +19,12 @@
'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
+ # The version of Cocina with which this object conforms.
+ # example: 1.2.3
+ attribute :cocinaVersion, Types::Strict::String.default(Cocina::Models::VERSION)
# The content type of the DRO. Selected from an established set of values.
attribute :type, Types::Strict::String.enum(*DRO::TYPES)
# example: druid:bc123df4567
attribute :externalIdentifier, Types::Strict::String
# Primary processing label (can be same as title) for a DRO.