Sha256: 427f44d9db355bc2618ebe5a02a0f97dbfe52207f79e443d7e6b9d232796b6ee
Contents?: true
Size: 800 Bytes
Versions: 2
Compression:
Stored size: 800 Bytes
Contents
# frozen_string_literal: true module Cocina module Models class RequestAdminPolicy < Struct include Validatable include Checkable TYPES = ['http://cocina.sul.stanford.edu/models/admin_policy.jsonld'].freeze # 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.default(1).enum(1) attribute(:administrative, AdminPolicyAdministrative.default { AdminPolicyAdministrative.new }) attribute :description, RequestDescription.optional.meta(omittable: true) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cocina-models-0.67.1 | lib/cocina/models/request_admin_policy.rb |
cocina-models-0.67.0 | lib/cocina/models/request_admin_policy.rb |