Regular expression for validating decimal numbers
Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
JSON Schema can be used to require that a given JSON document (an instance) satisfies a certain number of criteria.
The former group defines boolean operations on the subschema assertion results, while the latter evaluates one subschema and uses its assertion results to determine which of two other subschemas to apply as well.
Several keywords determine which subschemas are applied to array items, object property values, and object property names.
These criteria are asserted by using keywords described in this specification.
In addition, a set of keywords is also defined to assist in interactive user interface instance generation.
Additionally, "dependencies" is shorthand for a combination of conditional and assertion keywords.
The keywords in the boolean logic sections of this specification apply subschemas to the same location as the parent schema.Elements in an array value are said to be unique if no two elements of this array are equal .JSON Schema validation applies schemas to locations within the instance, and asserts constraints on the structure of the data at each location.An instance location that satisfies all asserted constraints is then annotated with any keywords that contain non-assertion information, such as descriptive metadata and usage hints.
If all locations within the instance satisfy all asserted constraints, then the instance is said to be valid against the schema.This specification will use the concepts, syntax, and terminology defined by the JSON Schema core specification.