Sha256: d554c51207e2e6cb3450a0a9954ff353ead58dedfbdd67620fefc524711a723b

Contents?: true

Size: 1.17 KB

Versions: 6

Compression:

Stored size: 1.17 KB

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class DescriptiveValue < Struct
      # String value of the descriptive element.
      attribute :value, Types::Strict::String.meta(omittable: true)
      # Type of value provided by the descriptive element.
      attribute :type, Types::Strict::String.meta(omittable: true)
      # Status of the descriptive element relative to other instances of the element.
      attribute :status, Types::Strict::String.meta(omittable: true)
      # Code value of the descriptive element.
      attribute :code, Types::Strict::String.meta(omittable: true)
      # URI value of the descriptive element.
      attribute :uri, Types::Strict::String.meta(omittable: true)
      attribute :standard, Types::Strict::Array.of(Types::Strict::String).meta(omittable: true)
      attribute :encoding, Types::Strict::Array.of(Types::Strict::String).meta(omittable: true)
      attribute :source, Source.optional.meta(omittable: true)
      attribute :structuredValue, Types::Strict::Array.of(DescriptiveBasicValue).meta(omittable: true)
      attribute :appliesTo, Types::Strict::Array.of(DescriptiveBasicValue).meta(omittable: true)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cocina-models-0.34.1 lib/cocina/models/descriptive_value.rb
cocina-models-0.34.0 lib/cocina/models/descriptive_value.rb
cocina-models-0.33.0 lib/cocina/models/descriptive_value.rb
cocina-models-0.32.0 lib/cocina/models/descriptive_value.rb
cocina-models-0.31.1 lib/cocina/models/descriptive_value.rb
cocina-models-0.31.0 lib/cocina/models/descriptive_value.rb