lib/cocina/models/request_admin_policy.rb in cocina-models-0.66.0 vs lib/cocina/models/request_admin_policy.rb in cocina-models-0.67.0
- old
+ new
@@ -12,10 +12,10 @@
# The version of Cocina with which this object conforms.
# example: 1.2.3
attribute :cocinaVersion, Types::Strict::String.default(Cocina::Models::VERSION)
attribute :type, Types::Strict::String.enum(*RequestAdminPolicy::TYPES)
attribute :label, Types::Strict::String
- attribute :version, Types::Strict::Integer
+ attribute :version, Types::Strict::Integer.default(1).enum(1)
attribute(:administrative, AdminPolicyAdministrative.default { AdminPolicyAdministrative.new })
attribute :description, RequestDescription.optional.meta(omittable: true)
end
end
end