Sha256: 5da1edfe05a391401b4dc2a0dee5918e7e4a2ccf70eda3c378206fd646dd9138

Contents?: true

Size: 723 Bytes

Versions: 34

Compression:

Stored size: 723 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class Standard < Struct
      # Code representing the standard or encoding.
      attribute :code, Types::Strict::String.meta(omittable: true)
      # URI for the standard or encoding.
      attribute :uri, Types::Strict::String.meta(omittable: true)
      # String describing the standard or encoding.
      attribute :value, Types::Strict::String.meta(omittable: true)
      attribute :note, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
      # The version of the standard or encoding.
      attribute :version, Types::Strict::String.meta(omittable: true)
      attribute :source, Source.optional.meta(omittable: true)
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
cocina-models-0.51.0 lib/cocina/models/standard.rb
cocina-models-0.50.0 lib/cocina/models/standard.rb
cocina-models-0.49.0 lib/cocina/models/standard.rb
cocina-models-0.48.0 lib/cocina/models/standard.rb
cocina-models-0.47.2 lib/cocina/models/standard.rb
cocina-models-0.47.1 lib/cocina/models/standard.rb
cocina-models-0.47.0 lib/cocina/models/standard.rb
cocina-models-0.46.0 lib/cocina/models/standard.rb
cocina-models-0.45.0 lib/cocina/models/standard.rb
cocina-models-0.44.0 lib/cocina/models/standard.rb
cocina-models-0.43.0 lib/cocina/models/standard.rb
cocina-models-0.42.1 lib/cocina/models/standard.rb
cocina-models-0.42.0 lib/cocina/models/standard.rb
cocina-models-0.41.0 lib/cocina/models/standard.rb