Open filipbartek opened 5 years ago
Required properties should be specified by an array of strings "required" at the record level rather than a boolean "required" at the property level.
See documentation: https://json-schema.org/understanding-json-schema/reference/object.html#required http://json-schema.org/latest/json-schema-validation.html#rfc.section.6.5.3 http://json-schema.org/learn/miscellaneous-examples.html
This change makes the schema compatible with some tools including https://jsoneditoronline.org/ .
Note that I have not updated the version number in the schema filename nor in package.json because I don't know the version numbering policy.
package.json
Required properties should be specified by an array of strings "required" at the record level rather than a boolean "required" at the property level.
See documentation: https://json-schema.org/understanding-json-schema/reference/object.html#required http://json-schema.org/latest/json-schema-validation.html#rfc.section.6.5.3 http://json-schema.org/learn/miscellaneous-examples.html
This change makes the schema compatible with some tools including https://jsoneditoronline.org/ .
Note that I have not updated the version number in the schema filename nor in
package.json
because I don't know the version numbering policy.