Sha256: 0c901dd1e90a8f8bef1c4a13bc02badd45a6dc2d10df074b276398e7a9d22174

Contents?: true

Size: 539 Bytes

Versions: 4

Compression:

Stored size: 539 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class Source < Struct
      # Code representing the value source.
      attribute? :code, Types::Strict::String
      # URI for the value source.
      attribute? :uri, Types::Strict::String
      # String describing the value source.
      attribute? :value, Types::Strict::String
      attribute :note, Types::Strict::Array.of(DescriptiveValue).default([].freeze)
      # The version of the value source.
      attribute? :version, Types::Strict::String
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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