Sha256: 3ac8496a0923e69e317b626552082eaefd1ade1b14ee6913520bf7913e57b018

Contents?: true

Size: 615 Bytes

Versions: 4

Compression:

Stored size: 615 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    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

4 entries across 4 versions & 1 rubygems

Version Path
cocina-models-0.79.0 lib/cocina/models/standard.rb
cocina-models-0.78.0 lib/cocina/models/standard.rb
cocina-models-0.77.0 lib/cocina/models/standard.rb
cocina-models-0.76.0 lib/cocina/models/standard.rb