Sha256: 6b09884217bab7e03b86c89aec475d47cdaa001d45e2db2c545ae953e9cead6e

Contents?: true

Size: 212 Bytes

Versions: 36

Compression:

Stored size: 212 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    DOI = Types::String.constrained(
      format: %r{^10\.(25740|80343)/[b-df-hjkmnp-tv-z]{2}[0-9]{3}[b-df-hjkmnp-tv-z]{2}[0-9]{4}$}i
    )
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
cocina-models-0.83.0 lib/cocina/models/doi.rb
cocina-models-0.82.0 lib/cocina/models/doi.rb
cocina-models-0.81.0 lib/cocina/models/doi.rb
cocina-models-0.80.0 lib/cocina/models/doi.rb
cocina-models-0.79.0 lib/cocina/models/doi.rb
cocina-models-0.78.0 lib/cocina/models/doi.rb
cocina-models-0.77.0 lib/cocina/models/doi.rb
cocina-models-0.76.0 lib/cocina/models/doi.rb
cocina-models-0.75.0 lib/cocina/models/doi.rb
cocina-models-0.74.1 lib/cocina/models/doi.rb
cocina-models-0.74.0 lib/cocina/models/doi.rb
cocina-models-0.73.6 lib/cocina/models/doi.rb
cocina-models-0.73.5 lib/cocina/models/doi.rb
cocina-models-0.73.4 lib/cocina/models/doi.rb
cocina-models-0.73.3 lib/cocina/models/doi.rb
cocina-models-0.73.2 lib/cocina/models/doi.rb
cocina-models-0.73.1 lib/cocina/models/doi.rb
cocina-models-0.73.0 lib/cocina/models/doi.rb
cocina-models-0.72.0 lib/cocina/models/doi.rb
cocina-models-0.71.0 lib/cocina/models/doi.rb