private void addRawArrayItem(ArrayNode node, Object value) {
        // need to specifically add simple/primitive values by type
        if (value instanceof String) {
            // explicit inclusion as string results in wrapping quote symbols
            node.add((String) value);
        } else if (value instanceof BigDecimal) {
            node.add((BigDecimal) value);
        } else if (value instanceof BigInteger) {
            node.add((BigInteger) value);
        } else if (value instanceof Boolean) {
            node.add((Boolean) value);
        } else if (value instanceof Double) {
            node.add((Double) value);
        } else if (value instanceof Float) {
            node.add((Float) value);
        } else if (value instanceof Integer) {
            node.add((Integer) value);
        } else {
            // everything else is simply forwarded as-is to the JSON Schema, it's up to the configurator to ensure the value's correctness
            node.addPOJO(value);
        }
    }
Setter for "{@link SchemaKeyword#TAG_CONST}"/"{@link SchemaKeyword#TAG_ENUM}" attribute.

@param node schema node to set attribute on
@param enumValues attribute value to set
@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