lib/cocina/models/language.rb in cocina-models-0.42.1 vs lib/cocina/models/language.rb in cocina-models-0.43.0
- old
+ new
@@ -13,10 +13,10 @@
attribute :parallelValue, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
# present for mapping to additional schemas in the future and for consistency but not otherwise used
attribute :qualifier, Types::Strict::String.meta(omittable: true)
attribute :script, DescriptiveValue.optional.meta(omittable: true)
attribute :source, Source.optional.meta(omittable: true)
- # Status of the contributor relative to other parallel contributors (e.g. the primary author among a group of contributors).
+ # Status of the language relative to other parallel language elements (e.g. the primary language)
attribute :status, Types::Strict::String.enum('primary').meta(omittable: true)
attribute :standard, Standard.optional.meta(omittable: true)
attribute :structuredValue, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
# URI value of the descriptive element.
attribute :uri, Types::Strict::String.meta(omittable: true)