@Override
    public ObjectNode createStandardDefinition(ResolvedType targetType, CustomDefinitionProviderV2 ignoredDefinitionProvider) {
        ObjectNode definition = this.generatorConfig.createObjectNode();
        TypeScope scope = this.typeContext.createTypeScope(targetType);
        GenericTypeDetails typeDetails = new GenericTypeDetails(scope, false, true, ignoredDefinitionProvider);
        this.traverseGenericType(definition, typeDetails);
        return definition;
    }
Determine whether the definition for the given type should always be included in the {@link SchemaKeyword#TAG_DEFINITIONS}, even if only
occurring once.

@param key definition key to determine desired definition behaviour for
@return whether to always produce a referenced definition for the given type

@since 4.27.0
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/impl/SchemaGenerationContextImpl.java