Class: JSONSchemer::Schema::Draft4
- Defined in:
- lib/json_schemer/schema/draft4.rb
Constant Summary collapse
- ID_KEYWORD =
'id'
- SUPPORTED_FORMATS =
Set[ 'date-time', 'email', 'hostname', 'ipv4', 'ipv6', 'uri', 'regex' ].freeze
Constants inherited from Base
Base::BOOLEANS, Base::DEFAULT_REF_RESOLVER, 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