Svelte JSON Schema Form
Supports JSON Schema Draft-07. You can assert for this by checking the $schema keyword within your schema before sending it to the form element.
Supports only a subset of JSON Schema Draft-07.
ajv strict mode compliant schema:Inspired by React JSON Schema Form.
But there will be a few differences in approach.
Form
schemasharedContextgetFieldLayout: (schema, value) -> SvelteComponentgetWidget: (schema, value) -> SvelteComponent | ElementgetField: (schema, value) -> SvelteComponentFieldLayout
schemasharedContextField
schemagetWidget: (schema, value) -> SvelteComponent | ElementWidget
schemavaluegetComponent contract
schema.widget is defined, then look up by schema.type.widget.schema.format is defined, then look up by schema.type.format.schema.typegetProps contract
schema.widget is defined, then look up by schema.type.widget.schema.format is defined, then look up by schema.type.format.schema.typeWIP Expect 💥 bugs 💥