JSON Schema
Use the $schema
meta key to specify the LetsForm schema, this will enable the autocompletion in some
modern JavaScript editor (i.e. Visual Studio Code).
For example:
{
"$schema": "https://unpkg.com/lets-form/schemas/react-rsuite5/form.json",
"name": "my form",
// ...
}
The LetsForm JSON schema is different for each UI framework
Framework | JSON Schema |
---|---|
React | https://unpkg.com/lets-form/schemas/react/form.json |
React + RSuite5 | https://unpkg.com/lets-form/schemas/react-rsuite5/form.json |
React + Material UI | https://unpkg.com/lets-form/schemas/react-material-ui/form.json |
React + AntD | https://unpkg.com/lets-form/schemas/react-antd/form.json |
React + Bootstrap | https://unpkg.com/lets-form/schemas/react-bootstrap/form.json |
React + Mantine | https://unpkg.com/lets-form/schemas/react-mantine/form.json |