lib/cocina/models/language.rb in cocina-models-0.79.0 vs lib/cocina/models/language.rb in cocina-models-0.80.0
- old
+ new
@@ -1,8 +1,9 @@
# frozen_string_literal: true
module Cocina
module Models
+ # Languages, scripts, symbolic systems, and notations used in all or part of a resource or its descriptive metadata.
class Language < Struct
attribute :appliesTo, Types::Strict::Array.of(DescriptiveBasicValue).default([].freeze)
# Code value of the descriptive element.
attribute? :code, Types::Strict::String
# The preferred display label to use for the descriptive element in access systems.