Class: JSONSchemer::Schema::Draft7
- Defined in:
- lib/json_schemer/schema/draft7.rb
Constant Summary collapse
- 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
Constants inherited from Base
Base::BOOLEANS, Base::DEFAULT_REF_RESOLVER, Base::ID_KEYWORD, Base::NET_HTTP_REF_RESOLVER, Base::RUBY_REGEX_ANCHORS_TO_ECMA_262
Constants included from Format
Format::DATE_TIME_OFFSET_REGEX, Format::EMAIL_REGEX, Format::HOSTNAME_REGEX, Format::INVALID_QUERY_REGEX, Format::JSON_POINTER_REGEX, Format::JSON_POINTER_REGEX_STRING, Format::LABEL_REGEX_STRING, Format::RELATIVE_JSON_POINTER_REGEX
Method Summary
Methods inherited from Base
#initialize, #valid?, #validate
Methods included from Format
#iri_escape, #parse_uri_scheme, #valid_date_time?, #valid_email?, #valid_hostname?, #valid_ip?, #valid_json?, #valid_json_pointer?, #valid_relative_json_pointer?, #valid_spec_format?, #valid_uri?, #valid_uri_reference?, #valid_uri_template?
Constructor Details
This class inherits a constructor from JSONSchemer::Schema::Base