JSON Schema
Currently we only support JSON Schema Draft-07.
Details and limitations
Section titled “Details and limitations”- Library only supports local definition referencing. The value in the
$refkeyword should be a JSON Pointer in URI fragment identifier format. $schemakeyword is ignored- Some keywords are only involved in validation.
containspatternPropertiespropertyNamesnot
exclusiveMaximum,exclusiveMinimumare not currently passed to input elements.writeOnly,contentMediaTypeandcontentEncodinghas no special meaning.additionalItems: truewill be treated as no additional items allowed.additionalProperties: falseproduces incorrect schemas when used with schema dependencies.- Properties declared inside the
anyOf/oneOfshould not overlap with properties “outside” of theanyOf/oneOf. - The
allOfkeyword uses json-schema-merge-allof to merge subschemas.
String formats
Section titled “String formats”Some string formats has special meaning:
date-time-datetime-localinput typeuri-urlinput typecolor,date,time,email- corresponding input typedata-url- file field