lib/cocina/models/admin_policy_administrative.rb in cocina-models-0.49.0 vs lib/cocina/models/admin_policy_administrative.rb in cocina-models-0.50.0
- old
+ new
@@ -2,11 +2,12 @@
module Cocina
module Models
class AdminPolicyAdministrative < Struct
attribute :defaultObjectRights, Types::Strict::String.default('<?xml version="1.0" encoding="UTF-8"?><rightsMetadata><access type="discover"><machine><world/></machine></access><access type="read"><machine><world/></machine></access><use><human type="useAndReproduction"/><human type="creativeCommons"/><machine type="creativeCommons" uri=""/><human type="openDataCommons"/><machine type="openDataCommons" uri=""/></use><copyright><human/></copyright></rightsMetadata>').meta(omittable: true)
- attribute :registrationWorkflow, Types::Strict::String.meta(omittable: true)
+ attribute :registrationWorkflow, Types::Strict::Array.of(Types::Strict::String).meta(omittable: true)
attribute :collectionsForRegistration, Types::Strict::Array.of(Types::Strict::String).meta(omittable: true)
+ attribute :roles, Types::Strict::Array.of(AccessRole).meta(omittable: true)
attribute :hasAdminPolicy, Types::Strict::String
end
end
end