Sha256: 5f4fc67bd8c144f4e6cbfb4d7c70f5aeaef61dc4b82bf7359873af1bada77890

Contents?: true

Size: 680 Bytes

Versions: 4

Compression:

Stored size: 680 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class DescriptiveValueLanguage < Struct
      # Code representing the standard or encoding.
      attribute? :code, Types::Strict::String
      # URI for the standard or encoding.
      attribute? :uri, Types::Strict::String
      # String describing the standard or encoding.
      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
      attribute? :source, Source.optional
      attribute? :valueScript, Standard.optional
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cocina-models-0.79.0 lib/cocina/models/descriptive_value_language.rb
cocina-models-0.78.0 lib/cocina/models/descriptive_value_language.rb
cocina-models-0.77.0 lib/cocina/models/descriptive_value_language.rb
cocina-models-0.76.0 lib/cocina/models/descriptive_value_language.rb