lib/cocina/models/source.rb in cocina-models-0.57.0 vs lib/cocina/models/source.rb in cocina-models-0.58.0

- old
+ new

@@ -2,16 +2,16 @@ module Cocina module Models class Source < Struct # Code representing the value source. - attribute :code, Types::Strict::String.meta(omittable: true) + attribute :code, Types::Strict::String.optional.meta(omittable: true) # URI for the value source. - attribute :uri, Types::Strict::String.meta(omittable: true) + attribute :uri, Types::Strict::String.optional.meta(omittable: true) # String describing the value source. - attribute :value, Types::Strict::String.meta(omittable: true) + attribute :value, Types::Strict::String.optional.meta(omittable: true) attribute :note, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true) # The version of the value source. - attribute :version, Types::Strict::String.meta(omittable: true) + attribute :version, Types::Strict::String.optional.meta(omittable: true) end end end