andrewhathaway / Winterfell

Generate complex, validated and extendable JSON-based forms in React.
http://winterfell.andrewhathaway.net
MIT License
785 stars 116 forks source link

Is there a way to validate the schema prior to render? #82

Open jakelowen opened 7 years ago

jakelowen commented 7 years ago

I want to build a rest api which accepts as a parameter a winterfell form schema. I would write this on the backend outside of react. Is there a recommended way to validate the form schema on the backend before I attempt to render on front end? Is there a published JSON schema (http://json-schema.org/) doc I could use to validate the form schema?

andrewhathaway commented 7 years ago

Hi @jakelowen! This doesn't exist currently, but it's something I, or someone in the community, can look in to.