private void addQualifierSchemaNodes(Set<Class<? extends Enum<?>>> qualifiers, ObjectNode props) {
        for (Class<? extends Enum<?>> qualifier : qualifiers) {
            ObjectNode inner = JsonNodeFactory.instance.objectNode();
//            inner.put("type", "string");
            props.put(factory.getAttributeName(qualifier), inner);
            ArrayNode array = JsonNodeFactory.instance.arrayNode();
            inner.put("enum", array);
            Object[] vals = qualifier.getEnumConstants();
            for (Object val : vals) {
                array.add(val.toString());
            }
        }
    }