Sha256: abbf7bb89c97d6c3b5b6192715945932879cb5a46db651b0f8e9d6c1d4444c6a

Contents?: true

Size: 723 Bytes

Versions: 36

Compression:

Stored size: 723 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    # Property model for indicating the encoding, standard, or syntax to which a value conforms (e.g. RDA).
    class Standard < 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
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
cocina-models-0.99.1 lib/cocina/models/standard.rb
cocina-models-0.99.0 lib/cocina/models/standard.rb
cocina-models-0.98.1 lib/cocina/models/standard.rb
cocina-models-0.98.0 lib/cocina/models/standard.rb
cocina-models-0.96.0 lib/cocina/models/standard.rb
cocina-models-0.95.1 lib/cocina/models/standard.rb
cocina-models-0.95.0 lib/cocina/models/standard.rb
cocina-models-0.94.2 lib/cocina/models/standard.rb
cocina-models-0.94.1 lib/cocina/models/standard.rb
cocina-models-0.94.0 lib/cocina/models/standard.rb
cocina-models-0.93.1 lib/cocina/models/standard.rb
cocina-models-0.93.0 lib/cocina/models/standard.rb
cocina-models-0.92.0 lib/cocina/models/standard.rb
cocina-models-0.91.4 lib/cocina/models/standard.rb
cocina-models-0.91.3 lib/cocina/models/standard.rb
cocina-models-0.91.2 lib/cocina/models/standard.rb
cocina-models-0.91.1 lib/cocina/models/standard.rb
cocina-models-0.91.0 lib/cocina/models/standard.rb
cocina-models-0.90.0 lib/cocina/models/standard.rb
cocina-models-0.89.1 lib/cocina/models/standard.rb