Sha256: bcda0af5aaf4f94723fb21c23f104c62834facd2fcbbff473a351b9e29341e16

Contents?: true

Size: 218 Bytes

Versions: 3

Compression:

Stored size: 218 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    DoiPattern = 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}$}
    )
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cocina-models-0.88.0 lib/cocina/models/doi_pattern.rb
cocina-models-0.87.1 lib/cocina/models/doi_pattern.rb
cocina-models-0.87.0 lib/cocina/models/doi_pattern.rb