public AttributeCollector setPatternProperties(ObjectNode node, Map<String, JsonNode> patternProperties,
            SchemaGenerationContext generationContext) {
        if (patternProperties != null && !patternProperties.isEmpty()) {
            ObjectNode patternPropertiesNode = this.objectMapper.createObjectNode();
            patternPropertiesNode.setAll(patternProperties);
            node.set(generationContext.getKeyword(SchemaKeyword.TAG_PATTERN_PROPERTIES), patternPropertiesNode);
        }
        return this;
    }
Setter for "{@link SchemaKeyword#TAG_PATTERN_PROPERTIES}" attribute.

@param node schema node to set attribute on
@param patternProperties resolved attribute value to set (sub-schema mapped by respective property name pattern)
@param generationContext generation context, including configuration to apply when looking-up attribute values
@return this instance (for chaining)
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/impl/AttributeCollector.java