private ObjectNode withObject(ObjectNode node, String keyword) {
            return node.has(keyword) ? (ObjectNode) node.get(keyword) : node.putObject(keyword);
        }
Example created in response to <a href="https://github.com/victools/jsonschema-generator/discussions/328">#328</a>.
<br/>
Creating "if"/"then"/"else" blocks via custom annotations, leveraging the Swagger @Schema annotation.
jsonschema-examples/src/main/java/com/github/victools/jsonschema/examples/IfThenElseExample.java