lib/cocina/models/dro_access.rb in cocina-models-0.35.0 vs lib/cocina/models/dro_access.rb in cocina-models-0.36.0
- old
+ new
@@ -2,9 +2,11 @@
module Cocina
module Models
class DROAccess < Struct
attribute :access, Types::Strict::String.default('dark').enum('world', 'stanford', 'location-based', 'citation-only', 'dark').meta(omittable: true)
+ # Available for controlled digital lending.
+ attribute :controlledDigitalLending, Types::Strict::Bool.meta(omittable: true)
# The human readable copyright statement that applies
# example: Copyright World Trade Organization
attribute :copyright, Types::Strict::String.meta(omittable: true)
attribute :embargo, Embargo.optional.meta(omittable: true)
# Download access level. This is used in the transition from Fedora as a way to set a default download level at registration that is copied down to all the files.