Unable to generate forms for combined schemas
See original GitHub issueI have setup this liform library within my project and it works fine, (without styling though). However some schemas, (like the one i need to use it for) don’t generate any form, just a submit button. I don’t understand this behaviour. But i have noticed it happens with all schemas I have tried that have schema combination key words like anyOff, allOf, oneOf. A sample form of a schema that fails is this:
{
"definitions": {
"address": {
"type": "object",
"properties": {
"street_address": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
}
},
"required": [
"street_address",
"city",
"state"
]
}
},
"allOf": [
{
"$ref": "#/definitions/address"
},
{
"properties": {
"type": {
"enum": [
"residential",
"business"
]
}
}
}
]
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Schema Validation Failed: 'DueDate' + Get Response Details
hi friends, i need some help with a Microsoft Forms + Planner automation. i was receiving an " Action 'Create_a_task' failed" error on...
Read more >Unable to generate json schema · Issue #88
My eventual goal is to be able to use the json schema with the brutusin:json-forms package to browse, edit, and validate schema instances....
Read more >formio - How to generate form back from JSON Schema in ...
I am looking for how to reinitialize the form builder back from JSON. JSON was generated from the form builder's builder.instance.schema .
Read more >How do I avoid Schema Validation Errors in my e-filed returns ...
A schema validation error is an error in the required formatting of the electronic file established by the taxing ... Avoid using government...
Read more >Understanding JSON Schema 2020-12 documentation
JSON Schema includes a few keywords for combining schemas together. ... constraints that can't otherwise be expressed with standard JSON Schema keywords.
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 Free
Top 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

Yeah, I cloned the repo already, I will start going through, hopefully I will get upto speed soon enough to try out any other option.
@nacmartin okay. I will get back to you soon, once I have done something on that. Thanks again