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

- old
+ new

@@ -2,17 +2,17 @@ module Cocina module Models class Standard < Struct # Code representing the standard or encoding. - attribute :code, Types::Strict::String.meta(omittable: true) + attribute? :code, Types::Strict::String # URI for the standard or encoding. - attribute :uri, Types::Strict::String.meta(omittable: true) + attribute? :uri, Types::Strict::String # String describing the standard or encoding. - attribute :value, Types::Strict::String.meta(omittable: true) + attribute? :value, Types::Strict::String attribute :note, Types::Strict::Array.of(DescriptiveValue).default([].freeze) # The version of the standard or encoding. - attribute :version, Types::Strict::String.meta(omittable: true) - attribute :source, Source.optional.meta(omittable: true) + attribute? :version, Types::Strict::String + attribute? :source, Source.optional end end end