@Deprecated
    public AttributeCollector setStringMaxLength(ObjectNode node, Integer maxLength) {
        if (maxLength != null) {
            node.put(SchemaKeyword.TAG_LENGTH_MAX.forVersion(SchemaVersion.DRAFT_7), maxLength);
        }
        return this;
    }
Setter for "{@link SchemaKeyword#TAG_LENGTH_MAX}" attribute (considering Draft 7).

@param node schema node to set attribute on
@param maxLength attribute value to set
@return this instance (for chaining)
@deprecated use {@link #setStringMaxLength(ObjectNode, Integer, SchemaGenerationContext)} instead
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/impl/AttributeCollector.java