I am defining a JSON Schema with a conditional part dependent on the value of a required field. Here is a simplified example:
<