Sha256: fbaf16e0076b51f77b66f0920c28ce0ccd093d507029c3b0d10a49ce529a29b8

Contents?: true

Size: 1 KB

Versions: 18

Compression:

Stored size: 1 KB

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class CollectionIdentification < 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. The format is: "namespace:identifier"

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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
cocina-models-0.60.0 lib/cocina/models/collection_identification.rb
cocina-models-0.59.1 lib/cocina/models/collection_identification.rb
cocina-models-0.59.0 lib/cocina/models/collection_identification.rb
cocina-models-0.58.2 lib/cocina/models/collection_identification.rb
cocina-models-0.57.0 lib/cocina/models/collection_identification.rb
cocina-models-0.56.1 lib/cocina/models/collection_identification.rb
cocina-models-0.56.0 lib/cocina/models/collection_identification.rb
cocina-models-0.55.0 lib/cocina/models/collection_identification.rb
cocina-models-0.54.0 lib/cocina/models/collection_identification.rb
cocina-models-0.54.0.beta.2 lib/cocina/models/collection_identification.rb
cocina-models-0.53.1 lib/cocina/models/collection_identification.rb
cocina-models-0.54.0.beta.1 lib/cocina/models/collection_identification.rb
cocina-models-0.53.0 lib/cocina/models/collection_identification.rb
cocina-models-0.52.0 lib/cocina/models/collection_identification.rb
cocina-models-0.51.0 lib/cocina/models/collection_identification.rb
cocina-models-0.50.0 lib/cocina/models/collection_identification.rb
cocina-models-0.49.0 lib/cocina/models/collection_identification.rb
cocina-models-0.48.0 lib/cocina/models/collection_identification.rb