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.70.0 lib/cocina/models/doi.rb
cocina-models-0.69.2 lib/cocina/models/doi.rb
cocina-models-0.69.1 lib/cocina/models/doi.rb
cocina-models-0.69.0 lib/cocina/models/doi.rb
cocina-models-0.68.0 lib/cocina/models/doi.rb
cocina-models-0.67.1 lib/cocina/models/doi.rb
cocina-models-0.67.0 lib/cocina/models/doi.rb
cocina-models-0.66.0 lib/cocina/models/doi.rb
cocina-models-0.65.1 lib/cocina/models/doi.rb
cocina-models-0.65.0 lib/cocina/models/doi.rb
cocina-models-0.64.0 lib/cocina/models/doi.rb
cocina-models-0.63.1 lib/cocina/models/doi.rb
cocina-models-0.63.0 lib/cocina/models/doi.rb
cocina-models-0.62.1 lib/cocina/models/doi.rb
cocina-models-0.62.0 lib/cocina/models/doi.rb
cocina-models-0.61.3 lib/cocina/models/doi.rb