static ObjectNode createSingleTypeSchema(SchemaGeneratorConfig config, TypeContext typeContext,
            Type mainTargetType, Type... typeParameters) {
        SchemaBuilder instance = new SchemaBuilder(config, typeContext);
        return instance.createSchemaForSingleType(mainTargetType, typeParameters);
    }
Generate an {@link ObjectNode} containing the JSON Schema representation of the given type.

@param config configuration to be applied
@param typeContext type resolution/introspection context to be used during schema generation
@param mainTargetType type for which to generate the JSON Schema
@param typeParameters optional type parameters (in case of the {@code mainTargetType} being a parameterised type)
@return generated JSON Schema
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/SchemaBuilder.java