Sha256: 1862fc0e921acafd4903293cbd2e138f909a60b708dc415112db93618e973dfd

Contents?: true

Size: 1000 Bytes

Versions: 16

Compression:

Stored size: 1000 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class CollectionIdentification < Struct
      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

16 entries across 16 versions & 1 rubygems

Version Path
cocina-models-0.86.0 lib/cocina/models/collection_identification.rb
cocina-models-0.85.0 lib/cocina/models/collection_identification.rb
cocina-models-0.84.5 lib/cocina/models/collection_identification.rb
cocina-models-0.84.4 lib/cocina/models/collection_identification.rb
cocina-models-0.84.3 lib/cocina/models/collection_identification.rb
cocina-models-0.84.2 lib/cocina/models/collection_identification.rb
cocina-models-0.84.1 lib/cocina/models/collection_identification.rb
cocina-models-0.84.0 lib/cocina/models/collection_identification.rb
cocina-models-0.83.0 lib/cocina/models/collection_identification.rb
cocina-models-0.82.0 lib/cocina/models/collection_identification.rb
cocina-models-0.81.0 lib/cocina/models/collection_identification.rb
cocina-models-0.80.0 lib/cocina/models/collection_identification.rb
cocina-models-0.79.0 lib/cocina/models/collection_identification.rb
cocina-models-0.78.0 lib/cocina/models/collection_identification.rb
cocina-models-0.77.0 lib/cocina/models/collection_identification.rb
cocina-models-0.76.0 lib/cocina/models/collection_identification.rb