@Override
    public ObjectNode generateSchema() {
        SchemaGeneratorConfigBuilder configBuilder = new SchemaGeneratorConfigBuilder(SchemaVersion.DRAFT_2020_12, OptionPreset.PLAIN_JSON);
        configBuilder.with(Option.DEFINITIONS_FOR_ALL_OBJECTS);
        configBuilder.forTypesInGeneral()
                .withDefinitionNamingStrategy(new SuffixRemovalNamingStrategy("Model"));
        SchemaGeneratorConfig config = configBuilder.build();
        SchemaGenerator generator = new SchemaGenerator(config);
        return generator.generateSchema(Example.class);
    }
Example created in response to <a href="https://github.com/victools/jsonschema-generator/issues/505">#505</a>.
<br/>
Demonstrating usage of the {@code SchemaDefinitionNamingStrategy} feature.
jsonschema-examples/src/main/java/com/github/victools/jsonschema/examples/NamingStrategyExample.java