Sha256: 03a2d67067bec1c954af9fb785b53de08e215760a12951ab947ecb77d82410d4

Contents?: true

Size: 157 Bytes

Versions: 56

Compression:

Stored size: 157 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    CatkeyBarcode = Types::String.constrained(
      format: /^[0-9]+-[0-9]+$/i
    )
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
cocina-models-0.63.0 lib/cocina/models/catkey_barcode.rb
cocina-models-0.62.1 lib/cocina/models/catkey_barcode.rb
cocina-models-0.62.0 lib/cocina/models/catkey_barcode.rb
cocina-models-0.61.3 lib/cocina/models/catkey_barcode.rb
cocina-models-0.61.2 lib/cocina/models/catkey_barcode.rb
cocina-models-0.61.1 lib/cocina/models/catkey_barcode.rb
cocina-models-0.61.0 lib/cocina/models/catkey_barcode.rb
cocina-models-0.60.0 lib/cocina/models/catkey_barcode.rb
cocina-models-0.59.1 lib/cocina/models/catkey_barcode.rb
cocina-models-0.59.0 lib/cocina/models/catkey_barcode.rb
cocina-models-0.58.2 lib/cocina/models/catkey_barcode.rb
cocina-models-0.58.1 lib/cocina/models/catkey_barcode.rb
cocina-models-0.58.0 lib/cocina/models/catkey_barcode.rb
cocina-models-0.57.0 lib/cocina/models/catkey_barcode.rb
cocina-models-0.56.1 lib/cocina/models/catkey_barcode.rb
cocina-models-0.56.0 lib/cocina/models/catkey_barcode.rb