lib/cocina/models/descriptive_value_language.rb in cocina-models-0.58.1 vs lib/cocina/models/descriptive_value_language.rb in cocina-models-0.58.2
- old
+ new
@@ -2,17 +2,17 @@
module Cocina
module Models
class DescriptiveValueLanguage < Struct
# Code representing the standard or encoding.
- attribute :code, Types::Strict::String.optional.meta(omittable: true)
+ attribute :code, Types::Strict::String.meta(omittable: true)
# URI for the standard or encoding.
- attribute :uri, Types::Strict::String.optional.meta(omittable: true)
+ attribute :uri, Types::Strict::String.meta(omittable: true)
# String describing the standard or encoding.
- attribute :value, Types::Strict::String.optional.meta(omittable: true)
+ attribute :value, Types::Strict::String.meta(omittable: true)
attribute :note, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
# The version of the standard or encoding.
- attribute :version, Types::Strict::String.optional.meta(omittable: true)
+ attribute :version, Types::Strict::String.meta(omittable: true)
attribute :source, Source.optional.meta(omittable: true)
attribute :valueScript, Standard.optional.meta(omittable: true)
end
end
end