Sha256: 200c9c5c4bb9218ee2500105895a4a455e199dd47fc5c34f048a1cd78e3a7f65

Contents?: true

Size: 616 Bytes

Versions: 1

Compression:

Stored size: 616 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class Source < Struct
      # Code representing the value source.
      attribute :code, Types::Strict::String.meta(omittable: true)
      # URI for the value source.
      attribute :uri, Types::Strict::String.meta(omittable: true)
      # String describing the value source.
      attribute :value, Types::Strict::String.meta(omittable: true)
      attribute :note, Types::Strict::Array.of(DescriptiveValue).default([])
      # The version of the value source.
      attribute :version, Types::Strict::String.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/source.rb