{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "notAllowed": [
    "field3"
  ],
  "properties": {
    "field1": {},
    "field2": {}
  },
  "type": "object"
}