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