Sha256: 047e3a438d0f3c003683890e0c9484635fdbd7d7d481269f32207b0d3b93c1ac
Contents?: true
Size: 600 Bytes
Versions: 28
Compression:
Stored size: 600 Bytes
Contents
# frozen_string_literal: true module JSONSchemer module Schema class Draft7 < Base SUPPORTED_FORMATS = Set[ 'date-time', 'date', 'time', 'email', 'idn-email', 'hostname', 'idn-hostname', 'ipv4', 'ipv6', 'uri', 'uri-reference', 'iri', 'iri-reference', 'uri-template', 'json-pointer', 'relative-json-pointer', 'regex' ].freeze private def supported_format?(format) SUPPORTED_FORMATS.include?(format) end end end end
Version data entries
28 entries across 28 versions & 1 rubygems