lib/cocina/models/admin_policy.rb in cocina-models-0.60.0 vs lib/cocina/models/admin_policy.rb in cocina-models-0.61.0
- old
+ new
@@ -5,10 +5,9 @@
class AdminPolicy < Struct
include Checkable
TYPES = ['http://cocina.sul.stanford.edu/models/admin_policy.jsonld'].freeze
- # example: item
attribute :type, Types::Strict::String.enum(*AdminPolicy::TYPES)
# example: druid:bc123df4567
attribute :externalIdentifier, Types::Strict::String
attribute :label, Types::Strict::String
attribute :version, Types::Strict::Integer