lib/cocina/models/request_description.rb in cocina-models-0.75.0 vs lib/cocina/models/request_description.rb in cocina-models-0.76.0

- old
+ new

@@ -12,14 +12,14 @@ attribute :geographic, Types::Strict::Array.of(DescriptiveGeographicMetadata).default([].freeze) attribute :language, Types::Strict::Array.of(Language).default([].freeze) attribute :note, Types::Strict::Array.of(DescriptiveValue).default([].freeze) attribute :identifier, Types::Strict::Array.of(DescriptiveValue).default([].freeze) attribute :subject, Types::Strict::Array.of(DescriptiveValue).default([].freeze) - attribute :access, DescriptiveAccessMetadata.optional.meta(omittable: true) + attribute? :access, DescriptiveAccessMetadata.optional attribute :relatedResource, Types::Strict::Array.of(RelatedResource).default([].freeze) attribute :marcEncodedData, Types::Strict::Array.of(DescriptiveValue).default([].freeze) - attribute :adminMetadata, DescriptiveAdminMetadata.optional.meta(omittable: true) + attribute? :adminMetadata, DescriptiveAdminMetadata.optional # URL or other pointer to the location of the resource description. - attribute :valueAt, Types::Strict::String.meta(omittable: true) + attribute? :valueAt, Types::Strict::String end end end