You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
I think I was a bit unclear.
I am adding an image for the reference
Here we see that the type is variable
This particular JSON object we get in the slateValue(present in web-components) which I assume is done when we parse a template and then draft a clause for the template.
Now when we parse a variable that variable comes from a model. If a model field has some validator like:
asset Model{
o String field regex=<any regex expression>/
}
then I want that validator field to be present as a key in the data element. I wonder if this can be made possible
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: