Sha256: 5e11075fd843865ecb8e30decb084495e8213f284d534068032fc2180b4917a4

Contents?: true

Size: 713 Bytes

Versions: 1

Compression:

Stored size: 713 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).default([])
      # 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

1 entries across 1 versions & 1 rubygems

Version Path
cocina-models-0.63.0 lib/cocina/models/standard.rb