Sha256: 0601f97aad5df30b738bb487f2e785890ae836588fde39d6142eb25bb3b32ef3

Contents?: true

Size: 1.96 KB

Versions: 27

Compression:

Stored size: 1.96 KB

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class DescriptiveBasicValue < Struct
      attribute :structuredValue, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
      attribute :parallelValue, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
      attribute :groupedValue, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
      # String or integer value of the descriptive element.
      attribute :value, Types::Nominal::Any.meta(omittable: true)
      # Type of value provided by the descriptive element.
      attribute :type, Types::Strict::String.meta(omittable: true)
      # Status of the descriptive element value 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, Standard.optional.meta(omittable: true)
      attribute :encoding, Standard.optional.meta(omittable: true)
      attribute :identifier, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
      attribute :source, Source.optional.meta(omittable: true)
      # The preferred display label to use for the descriptive element in access systems.
      attribute :displayLabel, Types::Strict::String.meta(omittable: true)
      # A term providing information about the circumstances of the statement (e.g., approximate dates).
      attribute :qualifier, Types::Strict::String.meta(omittable: true)
      attribute :note, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
      attribute :valueLanguage, DescriptiveValueLanguage.optional.meta(omittable: true)
      # URL or other pointer to the location of the value of the descriptive element.
      attribute :valueAt, Types::Strict::String.meta(omittable: true)
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
cocina-models-0.62.1 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.62.0 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.61.3 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.61.2 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.61.1 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.61.0 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.60.0 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.59.1 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.59.0 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.58.2 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.57.0 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.56.1 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.56.0 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.55.0 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.54.0 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.54.0.beta.2 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.53.1 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.54.0.beta.1 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.53.0 lib/cocina/models/descriptive_basic_value.rb
cocina-models-0.52.0 lib/cocina/models/descriptive_basic_value.rb