Sha256: b7951a50769612bc99753b0ba70e7f59b4d7b8d253cd0913f80937074b05dcc0

Contents?: true

Size: 1.06 KB

Versions: 23

Compression:

Stored size: 1.06 KB

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class RequestIdentification < Struct
      # A barcode
      attribute :barcode, Types::Nominal::Any.meta(omittable: true)
      attribute :catalogLinks, Types::Strict::Array.of(CatalogLink).default([].freeze)
      # 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. The format is: "namespace:identifier"

      # example: sul:PC0170_s3_Fiesta_Bowl_2012-01-02_210609_2026
      attribute :sourceId, Types::Strict::String
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
cocina-models-0.75.0 lib/cocina/models/request_identification.rb
cocina-models-0.74.1 lib/cocina/models/request_identification.rb
cocina-models-0.74.0 lib/cocina/models/request_identification.rb
cocina-models-0.73.6 lib/cocina/models/request_identification.rb
cocina-models-0.73.5 lib/cocina/models/request_identification.rb
cocina-models-0.73.4 lib/cocina/models/request_identification.rb
cocina-models-0.73.3 lib/cocina/models/request_identification.rb
cocina-models-0.73.2 lib/cocina/models/request_identification.rb
cocina-models-0.73.1 lib/cocina/models/request_identification.rb
cocina-models-0.73.0 lib/cocina/models/request_identification.rb
cocina-models-0.72.0 lib/cocina/models/request_identification.rb
cocina-models-0.71.0 lib/cocina/models/request_identification.rb
cocina-models-0.70.0 lib/cocina/models/request_identification.rb
cocina-models-0.69.2 lib/cocina/models/request_identification.rb
cocina-models-0.69.1 lib/cocina/models/request_identification.rb
cocina-models-0.69.0 lib/cocina/models/request_identification.rb
cocina-models-0.68.0 lib/cocina/models/request_identification.rb
cocina-models-0.67.1 lib/cocina/models/request_identification.rb
cocina-models-0.67.0 lib/cocina/models/request_identification.rb
cocina-models-0.66.0 lib/cocina/models/request_identification.rb