Closed dosumis closed 3 years ago
Update - I think not possible to add to formal spec with the current (json schema v4 validator) as this part is only enforced by convention!
However, we could if we switch to JSON schema version 6+ or http://json-schema.org/understanding-json-schema/reference/object.html#property-names. The validator lib we use now supports this
https://python-jsonschema.readthedocs.io/en/latest/validate/#jsonschema.Draft6Validator
spec: alphanumeric + '', first character must not be number. In regex [a-zA-Z][a-zA-Z_0-9]*