private void applyPrefixAndSuffixToPropertyNames(JsonNode definition, String prefix, String suffix, SchemaGenerationContext context) {
        JsonNode properties = definition.get(context.getKeyword(SchemaKeyword.TAG_PROPERTIES));
        if (properties instanceof ObjectNode && !properties.isEmpty()) {
            List<String> fieldNames = new ArrayList<>();
            properties.fieldNames().forEachRemaining(fieldNames::add);
            for (String fieldName : fieldNames) {
                JsonNode propertySchema = ((ObjectNode) properties).remove(fieldName);
                ((ObjectNode) properties).set(prefix + fieldName + suffix, propertySchema);
            }
        }
        JsonNode allOf = definition.get(context.getKeyword(SchemaKeyword.TAG_ALLOF));
        if (allOf instanceof ArrayNode) {
            // this only considers inlined parts and not any to-be-referenced subschema
            allOf.forEach(allOfEntry -> this.applyPrefixAndSuffixToPropertyNames(allOfEntry, prefix, suffix, context));
        }
        // keeping it simple for now (version 4.32.0) and not considering all potential nested properties
    }
Rename the properties defined in the given schema by prepending the given suffix and appending the given suffix.

@param definition schema in which to alter contained properties' names
@param prefix prefix to prepend to all contained properties' names (may be an empty string)
@param suffix suffix to append to all contained properties' names (may be an empty string)
@param context generation context
jsonschema-module-jackson/src/main/java/com/github/victools/jsonschema/module/jackson/JsonUnwrappedDefinitionProvider.java