-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validator field for the variable type #378
Comments
The Concerto -> JSON Schema conversion does include regex and number bounds validation information. I'm not sure I understand the examples above, which don't appear to be JSON Schema. |
@dselman
then I want that validator field to be present as a key in the |
That's an interesting question. I'm unsure if anything needs to change in Concerto itself, possibly this is more of an issue for the |
Why do you need the regular expression in the slate value? What's the use case? |
Feature Request 🛍️
Currently, the JSON schema that is generated by parsing a template does not contain any validator field for a particular variable. It would be really handy there is a validator key in the JSON object
Current object:
Requested :
Use Case
This would ensure the entering of bad data in the variable field in certain circumstances
The text was updated successfully, but these errors were encountered: