@Override
    public CustomDefinition getCustomDefinition(ResolvedType javaType, SchemaGenerationContext context,
            CustomDefinitionProviderV2 ignoredDefinitionProvider) {
        final List<CustomDefinitionProviderV2> providers = this.typesInGeneralConfigPart.getCustomDefinitionProviders();
        int providerCountToIgnore = 1 + providers.indexOf(ignoredDefinitionProvider);
        return providers.stream()
                .skip(providerCountToIgnore)
                .map(provider -> provider.provideCustomSchemaDefinition(javaType, context))
                .filter(Objects::nonNull)
                .findFirst()
                .orElse(null);
    }
Look-up the non-standard JSON schema definition for a given property. If this returns null, the per-type custom definitions are checked next.

@param <M> type of targeted property
@param configPart configuration part associated with targeted type of property
@param scope targeted scope for which to provide a custom definition
@param context generation context allowing to let the standard generation take over nested parts of the custom definition
@param ignoredDefinitionProvider custom definition provider to ignore
@return non-standard JSON schema definition (may be null)
@see #getCustomDefinition(ResolvedType, SchemaGenerationContext, CustomDefinitionProviderV2)
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/impl/SchemaGeneratorConfigImpl.java