Sha256: 5b775a2b865cf522eef8d2e04201b81039a7e01c7b82131d3057dbe467180b2d

Contents?: true

Size: 961 Bytes

Versions: 4

Compression:

Stored size: 961 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class RequestIdentification < Struct
      # Unique identifier in some other system. This is because a large proportion of what is deposited in SDR, historically and currently, are representations of objects that are also represented in other systems. For example, digitized paper and A/V collections have physical manifestations, and those physical objects are managed in systems that have their own identifiers. Similarly, books have barcodes, archival materials have collection numbers and physical locations, etc. The sourceId allows determining if an item has been deposited before and where to look for the original item if you're looking at its SDR representation.

      # example: sul:PC0170_s3_Fiesta_Bowl_2012-01-02_210609_2026
      attribute :sourceId, Types::Strict::String
      attribute :catalogLinks, Types::Strict::Array.of(CatalogLink).meta(omittable: true)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cocina-models-0.37.0 lib/cocina/models/request_identification.rb
cocina-models-0.36.0 lib/cocina/models/request_identification.rb
cocina-models-0.35.0 lib/cocina/models/request_identification.rb
cocina-models-0.34.1 lib/cocina/models/request_identification.rb