UNPKG

json-schema-library

Version:

Customizable and hackable json-validator and json-schema utilities for traversal, data generation and validation

23 lines (22 loc) 926 B
/** * @draft-04 * * remove from draft06 * - booleans as schemas allowable anywhere, not just "additionalProperties" and "additionalItems" * - propertyNames * - contains * - const * - format: uri-reference * - format: uri-template * - format: json-pointer * - examples: array of examples with no validation effect; the value of "default" is usable as an example without repeating it under this keyword * * revert from draft06 * - $id replaces id * - $ref only allowed where a schema is expected * - "exclusiveMinimum" and exclusiveMaximum changed from a boolean to a number to be consistent with the principle of keyword independence * - type integer any number with a zero fractional part; 1.0 is now a valid "integer" type in draft-06 and later * - required allows an empty array * - dependencies allows an empty array for property dependencies */ export declare const draft04: import("./Draft").Draft;