JSON Schema
Documentation for how to use JSON Schema constructs in react-jsonschema-form.,
📄️ Arrays
Arrays are defined with a type equal to array, and array items' schemas are specified in the items keyword.
📄️ Schema definitions and references
This library partially supports inline schema definition dereferencing, which allows you to re-use parts of your schema:
📄️ Dependencies
react-jsonschema-form supports the dependencies keyword from an earlier draft of JSON Schema (note that this is not part of the latest JSON Schema spec, though). Dependencies can be used to create dynamic schemas that change fields based on what data is entered.
📄️ Objects
Object properties
📄️ oneOf, anyOf, and allOf
react-jsonschema-form supports custom widgets for oneOf, anyOf, and allOf.
📄️ Single fields
The simplest example of a JSON Schema contains only a single field. The field type is determined by the type parameter.