lib/cocina/models/admin_policy.rb in cocina-models-0.7.0 vs lib/cocina/models/admin_policy.rb in cocina-models-0.8.0
- old
+ new
@@ -4,10 +4,12 @@
module Cocina
module Models
# An admin policy object.
class AdminPolicy < Dry::Struct
- TYPES = %w[http://cocina.sul.stanford.edu/models/admin_policy.jsonld].freeze
+ TYPES = [
+ Vocab.admin_policy
+ ].freeze
# Subschema for access concerns
class Access < Dry::Struct
def self.from_dynamic(_dyn)
params = {}