Are there any rules for writing JSON Schema field name?
I have a JSON schema with a field name quoted in double quotes and it starts it integer.
But the same schema is not accepted by the big data tools!
If yes then why??
{ "properties": {"5checkSum": true }}
2
Answers
JSON Schema itself has no restrictions on property names. Other tooling may have restrictions, though. They should document such restrictions if they do.
RFC8259 which JSON Schema uses as a normative reference, does not constrain
member
(property) names beginning with a numberhttps://www.rfc-editor.org/rfc/rfc8259.html