lib/cocina/models/dro.rb in cocina-models-0.25.0 vs lib/cocina/models/dro.rb in cocina-models-0.26.0
- old
+ new
@@ -34,9 +34,11 @@
end
attribute :embargo, Embargo.optional.meta(omittable: true)
attribute :access, Types::String.default('dark')
.enum('world', 'stanford', 'location-based', 'citation-only', 'dark')
+ attribute :copyright, Types::Strict::String.meta(omittable: true)
+ attribute :useAndReproductionStatement, Types::Strict::String.meta(omittable: true)
end
# Subschema for administrative concerns
class Administrative < Struct
attribute :releaseTags, Types::Strict::Array.of(ReleaseTag).meta(omittable: true).default([].freeze)