UNPKG

json-schema-library

Version:

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

23 lines (22 loc) 957 B
/** * @draft-06 https://json-schema.org/draft-06/json-schema-release-notes * * new * - 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 * * changes * - $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 draft06: import("./Draft").Draft;