Schema
Currently we only support JSON Schema Draft-07 and discriminator.propertyName keyword.
String formats
Section titled “String formats”Some string formats has special meaning:
date-time-datetime-localinput typeuri-urlinput typecolor,date,time,email- corresponding input type- You can use
useDatePickerForDateFormatfunction from@sjsf/form/fields/extra-widgets/date-pickerto usedatePickerWidgetfordateformat
- You can use
data-url- file field (withcompatresolver)
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.
containspropertyNamesnot
exclusiveMaximum,exclusiveMinimumare not currently passed to input elements.writeOnly,contentMediaTypeandcontentEncodinghas no special meaning.additionalProperties: falseproduces incorrect schemas when used with schema dependencies.- Properties declared inside the
anyOf/oneOfshould not overlap with properties “outside” of theanyOf/oneOf.