Sha256: 780cb20558023609957f469adfbe2eb839eb99fa82fd5fd704205078d191e925
Contents?: true
Size: 601 Bytes
Versions: 9
Compression:
Stored size: 601 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
9 entries across 9 versions & 1 rubygems