lib/cocina/models/access.rb in cocina-models-0.67.1 vs lib/cocina/models/access.rb in cocina-models-0.68.0
- old
+ new
@@ -3,16 +3,16 @@
module Cocina
module Models
class Access < Struct
# Access level.
# Validation of this property is relaxed. See the openapi for full validation.
- attribute :access, Types::Strict::String.optional.default('dark').meta(omittable: true)
+ attribute :view, Types::Strict::String.optional.default('dark').meta(omittable: true)
# Download access level.
# Validation of this property is relaxed. See the openapi for full validation.
attribute :download, Types::Strict::String.optional.default('none').meta(omittable: true)
- # If access is "location-based", which location should have access.
+ # Not used for this access type, must be null.
# Validation of this property is relaxed. See the openapi for full validation.
- attribute :readLocation, Types::Strict::String.optional.meta(omittable: true)
+ attribute :location, Types::Strict::String.optional.meta(omittable: true)
# Validation of this property is relaxed. See the openapi for full validation.
attribute :controlledDigitalLending, Types::Strict::Bool.optional.meta(omittable: true)
end
end
end