JSON Schema
Currently we only support JSON Schema Draft-07.
Details and limitations
- Library only supports local definition referencing. The value in the
$ref
keyword should be a JSON Pointer in URI fragment identifier format. $schema
keyword is ignored- Some keywords are only involved in validation.
contains
patternProperties
propertyNames
not
exclusiveMaximum
,exclusiveMinimum
are not currently passed to input elements.writeOnly
,contentMediaType
andcontentEncoding
has no special meaning.additionalItems: true
will be treated as no additional items allowed.additionalProperties: false
produces incorrect schemas when used with schema dependencies.- Properties declared inside the
anyOf
/oneOf
should not overlap with properties “outside” of theanyOf
/oneOf
. - The
allOf
keyword uses json-schema-merge-allof to merge subschemas.
String formats
Some string formats has special meaning:
date-time
-datetime-local
input typeuri
-url
input typecolor
,date
,time
,email
- corresponding input typedata-url
- file field