37namespace nfx::serialization::json::vocabulary
50 inline constexpr std::string_view
SCHEMA_DRAFT_07{
"http://json-schema.org/draft-07/schema#" };
53 inline constexpr std::string_view
SCHEMA_DRAFT_06{
"http://json-schema.org/draft-06/schema#" };
56 inline constexpr std::string_view
SCHEMA_DRAFT_04{
"http://json-schema.org/draft-04/schema#" };
67 inline constexpr std::string_view
CORE_ID{
"$id" };
73 inline constexpr std::string_view
CORE_REF{
"$ref" };
79 inline constexpr std::string_view
CORE_DEFS{
"$defs" };
constexpr std::string_view FORMAT_UUID
A string instance is valid if it is a valid string representation of a UUID according to RFC 4122.
constexpr std::string_view VALIDATION_MAX_ITEMS
Array validation.
constexpr std::string_view VALIDATION_UNIQUE_ITEMS
If this keyword is set to the boolean value true, the instance validates successfully if all of its e...
constexpr std::string_view CONTENT_SCHEMA
This keyword declares a schema which describes the structure of the string.
constexpr std::string_view APPLICATOR_PROPERTIES
Validation succeeds if, for each name that appears in both the instance and as a name within this key...
constexpr std::string_view APPLICATOR_ANY_OF
An instance validates successfully against this keyword if it validates successfully against at least...
constexpr std::string_view METADATA_DEFAULT
This keyword can be used to supply a default JSON value associated with a particular schema.
constexpr std::string_view FORMAT_RELATIVE_JSON_POINTER
A string instance is valid if it is a valid Relative JSON Pointer.
constexpr std::string_view SCHEMA_DRAFT_2019_09
JSON Schema Draft 2019-09 URI.
constexpr std::string_view APPLICATOR_NOT
An instance is valid against this keyword if it fails to validate successfully against the schema def...
constexpr std::string_view VALIDATION_ENUM
Validation succeeds if the instance is equal to one of the elements in this keyword's array value.
constexpr std::string_view METADATA_EXAMPLES
This keyword is used to provide sample JSON values associated with a particular schema,...
constexpr std::string_view FORMAT_URI
A string instance is valid if it is a valid URI according to RFC 3986.
constexpr std::string_view FORMAT_HOSTNAME
A string instance is valid if it is a valid representation for an Internet hostname as defined by RFC...
constexpr std::string_view SCHEMA_DRAFT_04
JSON Schema Draft-04 URI.
constexpr std::string_view FORMAT_DATETIME
A string instance is valid if it is a valid representation according to the "date-time" ABNF rule.
constexpr std::string_view VALIDATION_MAXIMUM
Numeric validation.
constexpr std::string_view CORE_ID
This keyword declares an identifier for the schema resource.
constexpr std::string_view FORMAT_IRI_REFERENCE
A string instance is valid if it is a valid IRI Reference (either an IRI or a relative-reference) acc...
constexpr std::string_view VALIDATION_MIN_PROPERTIES
An object instance is valid if its number of properties is greater than, or equal to,...
constexpr std::string_view CORE_DYNAMIC_REF
This keyword is used to reference an identified schema, deferring the full resolution until runtime,...
constexpr std::string_view APPLICATOR_CONTAINS
Validation succeeds if the instance contains an element that validates against this schema.
constexpr std::string_view FORMAT_URI_TEMPLATE
A string instance is valid if it is a valid URI Template (of any level) according to RFC 6570.
constexpr std::string_view CONTENT_ENCODING
The string instance should be interpreted as encoded binary data and decoded using the encoding named...
constexpr std::string_view UNEVALUATED_ITEMS
Validates array elements that did not successfully validate against other standard array applicators.
constexpr std::string_view FORMAT_TIME
A string instance is valid if it is a valid representation according to the "full-time" ABNF rule.
constexpr std::string_view APPLICATOR_ALL_OF
An instance validates successfully against this keyword if it validates successfully against all sche...
constexpr std::string_view FORMAT_IPV4
A string instance is valid if it is a valid IPv4 address according to the "dotted-quad" ABNF syntax a...
constexpr std::string_view FORMAT_IRI
A string instance is valid if it is a valid IRI according to RFC 3987.
constexpr std::string_view CONTENT_MEDIA_TYPE
This keyword declares the media type of the string instance.
constexpr std::string_view CORE_DEFS
This keyword reserves a location for schema authors to inline reusable JSON Schemas into a more gener...
constexpr std::string_view APPLICATOR_ONE_OF
An instance validates successfully against this keyword if it validates successfully against exactly ...
constexpr std::string_view FORMAT_JSON_POINTER
A string instance is valid if it is a valid JSON string representation of a JSON Pointer according to...
constexpr std::string_view FORMAT_IDN_EMAIL
A string instance is valid if it is a valid internationalized email address as defined by RFC 6531,...
constexpr std::string_view APPLICATOR_ELSE
When if is present, and the instance fails to validate against its subschema, then validation succeed...
constexpr std::string_view METADATA_WRITE_ONLY
This keyword indicates that the value is never present when the instance is retrieved from the owning...
constexpr std::string_view VALIDATION_MULTIPLE_OF
A numeric instance is valid only if division by this keyword's value results in an integer.
constexpr std::string_view APPLICATOR_ADDITIONAL_PROPERTIES
Validation succeeds if the schema validates against each value not matched by other object applicator...
constexpr std::string_view VALIDATION_MIN_CONTAINS
The number of times that the contains keyword (if set) successfully validates against the instance mu...
constexpr std::string_view METADATA_DEPRECATED
This keyword indicates that applications should refrain from using the declared property.
constexpr std::string_view VALIDATION_EXCLUSIVE_MINIMUM
Validation succeeds if the numeric instance is greater than the given number.
constexpr std::string_view FORMAT_REGEX
A regular expression which should be valid according to the ECMA-262 regular expression dialect.
constexpr std::string_view VALIDATION_MAX_LENGTH
String validation.
constexpr std::string_view VALIDATION_REQUIRED
An object instance is valid against this keyword if every item in the array is the name of a property...
constexpr std::string_view CORE_ANCHOR
This keyword is used to create plain name fragments that are not tied to any particular structural lo...
constexpr std::string_view APPLICATOR_THEN
When if is present, and the instance successfully validates against its subschema,...
constexpr std::string_view CORE_DYNAMIC_ANCHOR
This keyword is used to create plain name fragments that are not tied to any particular structural lo...
constexpr std::string_view FORMAT_DATE
A string instance is valid if it is a valid representation according to the "full-date" ABNF rule.
constexpr std::string_view SCHEMA_DRAFT_06
JSON Schema Draft-06 URI.
constexpr std::string_view APPLICATOR_PROPERTY_NAMES
Validation succeeds if the schema validates against every property name in the instance.
constexpr std::string_view VALIDATION_MAX_CONTAINS
The number of times that the contains keyword (if set) successfully validates against the instance mu...
constexpr std::string_view VALIDATION_MINIMUM
Validation succeeds if the numeric instance is greater than or equal to the given number.
constexpr std::string_view VALIDATION_EXCLUSIVE_MAXIMUM
Validation succeeds if the numeric instance is less than the given number.
constexpr std::string_view APPLICATOR_PATTERN_PROPERTIES
Validation succeeds if, for each instance name that matches any regular expressions that appear as a ...
constexpr std::string_view FORMAT_ASSERTION
Define and assert semantic information about a string instance.
constexpr std::string_view FORMAT_EMAIL
A string instance is valid if it is a valid Internet email address as defined by RFC 5321,...
constexpr std::string_view FORMAT_IPV6
A string instance is valid if it is a valid IPv6 address as defined in RFC 4291, section 2....
constexpr std::string_view FORMAT_URI_REFERENCE
A string instance is valid if it is a valid URI Reference (either a URI or a relative-reference) acco...
constexpr std::string_view VALIDATION_MIN_ITEMS
An array instance is valid if its size is greater than, or equal to, the value of this keyword.
constexpr std::string_view APPLICATOR_DEPENDENT_SCHEMAS
This keyword specifies subschemas that are evaluated if the instance is an object and contains a cert...
constexpr std::string_view FORMAT_IDN_HOSTNAME
A string instance is valid if it is a valid internationalized hostname as defined by RFC 5890,...
constexpr std::string_view FORMAT_ANNOTATION
Define semantic information about a string instance.
constexpr std::string_view VALIDATION_CONST
Validation succeeds if the instance is equal to this keyword's value.
constexpr std::string_view VALIDATION_DEPENDENT_REQUIRED
Validation succeeds if, for each name that appears in both the instance and as a name within this key...
constexpr std::string_view VALIDATION_MIN_LENGTH
A string instance is valid against this keyword if its length is greater than, or equal to,...
constexpr std::string_view CORE_REF
This keyword is used to reference a statically identified schema.
constexpr std::string_view CORE_SCHEMA
This keyword is both used as a JSON Schema dialect identifier and as a reference to a JSON Schema whi...
constexpr std::string_view APPLICATOR_IF
This keyword declares a condition based on the validation result of the given schema.
constexpr std::string_view CORE_VOCABULARY
This keyword is used in dialect meta-schemas to identify the required and optional vocabularies avail...
constexpr std::string_view VALIDATION_PATTERN
A string instance is considered valid if the regular expression matches the instance successfully.
constexpr std::string_view APPLICATOR_PREFIX_ITEMS
Validation succeeds if each element of the instance validates against the schema at the same position...
constexpr std::string_view UNEVALUATED_PROPERTIES
Validates object properties that did not successfully validate against other standard object applicat...
constexpr std::string_view SCHEMA_DRAFT_07
JSON Schema Draft-07 URI.
constexpr std::string_view CORE_COMMENT
This keyword reserves a location for comments from schema authors to readers or maintainers of the sc...
constexpr std::string_view APPLICATOR_ITEMS
Validation succeeds if each element of the instance not covered by prefixItems validates against this...
constexpr std::string_view FORMAT_DURATION
A string instance is valid if it is a valid representation according to the "duration" ABNF rule.
constexpr std::string_view METADATA_DESCRIPTION
An explanation about the purpose of the instance described by the schema.
constexpr std::string_view VALIDATION_MAX_PROPERTIES
Object validation.
constexpr std::string_view SCHEMA_DRAFT_2020_12
JSON Schema Draft 2020-12 URI.
constexpr std::string_view METADATA_TITLE
A preferably short description about the purpose of the instance described by the schema.
constexpr std::string_view VALIDATION_TYPE
Validation succeeds if the type of the instance matches the type represented by the given type,...
constexpr std::string_view METADATA_READ_ONLY
This keyword indicates that the value of the instance is managed exclusively by the owning authority,...