Sha256: 72e4843bf1a4a5fe26830f1c6edd6ba6fc1c19c52d777e09f4a8c7b23223407f

Contents?: true

Size: 1.63 KB

Versions: 5

Compression:

Stored size: 1.63 KB

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class DescriptiveValueRequired < Struct
      attribute :structuredValue, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
      attribute :parallelValue, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
      # 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 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 :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 :appliesTo, Types::Strict::Array.of(DescriptiveBasicValue).meta(omittable: true)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cocina-models-0.39.0 lib/cocina/models/descriptive_value_required.rb
cocina-models-0.38.0 lib/cocina/models/descriptive_value_required.rb
cocina-models-0.37.0 lib/cocina/models/descriptive_value_required.rb
cocina-models-0.36.0 lib/cocina/models/descriptive_value_required.rb
cocina-models-0.35.0 lib/cocina/models/descriptive_value_required.rb