Only allow properties that are declared in JSON schema

I believe what you need to do to achieve this is set additionalProperties to false. See the specification here

Leave a Comment