If the node is null, and it isn't required, don't perform any validations on it (since the default for "required" is false).
Support required map-type properties.
Also protect against panic by checking explicitly for nil.
Checklist
[X] Code compiles correctly
[X] Relevant tests were added (unit / contract / integration)
[ ] Relevant logs were added
[X] Formatting and linting run locally successfully
[X] All tests passing
[ ] UA review
[ ] Design is documented
[ ] Extended the README / documentation, if necessary
If the node is null, and it isn't required, don't perform any validations on it (since the default for "required" is false). Support required map-type properties. Also protect against panic by checking explicitly for nil.
Checklist