[Feature] Request for JSON Schema
See original GitHub issueWhat problem does this feature solve?
It will allow the users to validate whether the Echarts option
they have authored is correct or not. Vega and Vega-Lite also provides it: https://github.com/vega/schema.
What does the proposed API look like?
.json
files can be released. Or an ESM module can be released from where the JSON schema can be simply imported and later used by users as needed.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:8 (2 by maintainers)
Top Results From Across the Web
JSON Schema | The home of JSON Schema
JSON Schema is a declarative language that allows you to annotate and validate JSON documents. JSON Schema enables the confident and reliable use...
Read more >Feature request: Datalog schema #609 - metosin/malli - GitHub
Like malli.json-schema but for datalog. Then with providers we can build a pipeline of inference -> schema -> datalog schema, which is neat....
Read more >JsonSchemaForm UI Schema horizontal layout - Retool Forum
Hi Biz, welcome to the community! Which component(s) are you trying to have elements flow horizontally in? (perhaps the JSON schema form?)
Read more >JSON to JSON Schema - Developer Tool - Itential
Itential's JSONtoSchema is a tool that intelligently and dynamically generates JSON Schema based on user provided JSON objects. This JSON Schema builder makes ......
Read more >Site template JSON schema - Microsoft Learn
Each action is specified by a "verb" value. Verb actions are run in the order they appear in the JSON script. Only the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pissang Was taking a deeper look. The format of the JSON schema seems inconsistent with the specifications.
For example, the value of the first property
$schema
seems incorrect.If providing the JSON schema is too much of a hassle, is there any other way (utility function), which can validate the
option
JSON during run time? Would be of great help.We have a JSON schema for our doc page. https://github.com/apache/echarts-website/blob/asf-site/en/documents/option.json But I’m not sure if it’s accurate enough for you. Perhaps you can have a try