Sha256: cc8433237bb40eac939456d9dd79ab1ea867cb761bf35c097038f4f62ece292d

Contents?: true

Size: 982 Bytes

Versions: 12

Compression:

Stored size: 982 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    # Administrative properties for an AdminPolicy
    class AdminPolicyAdministrative < Struct
      attribute(:accessTemplate, AdminPolicyAccessTemplate.default { AdminPolicyAccessTemplate.new })
      attribute :registrationWorkflow, Types::Strict::Array.of(Types::Strict::String).default([].freeze)
      # An additional workflow to start for objects managed by this admin policy once the end-accession workflow step is complete
      # example: wasCrawlPreassemblyWF
      attribute? :disseminationWorkflow, Types::Strict::String
      attribute :collectionsForRegistration, Types::Strict::Array.of(Types::Strict::String).default([].freeze)
      # example: druid:bc123df4567
      attribute :hasAdminPolicy, Types::Strict::String
      # example: druid:bc123df4567
      attribute :hasAgreement, Types::Strict::String
      attribute :roles, Types::Strict::Array.of(AccessRole).default([].freeze)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cocina-models-0.86.0 lib/cocina/models/admin_policy_administrative.rb
cocina-models-0.85.0 lib/cocina/models/admin_policy_administrative.rb
cocina-models-0.84.5 lib/cocina/models/admin_policy_administrative.rb
cocina-models-0.84.4 lib/cocina/models/admin_policy_administrative.rb
cocina-models-0.84.3 lib/cocina/models/admin_policy_administrative.rb
cocina-models-0.84.2 lib/cocina/models/admin_policy_administrative.rb
cocina-models-0.84.1 lib/cocina/models/admin_policy_administrative.rb
cocina-models-0.84.0 lib/cocina/models/admin_policy_administrative.rb
cocina-models-0.83.0 lib/cocina/models/admin_policy_administrative.rb
cocina-models-0.82.0 lib/cocina/models/admin_policy_administrative.rb
cocina-models-0.81.0 lib/cocina/models/admin_policy_administrative.rb
cocina-models-0.80.0 lib/cocina/models/admin_policy_administrative.rb