private ObjectNode generateBasicAttributes()

in schema-induction/src/main/java/aws/json/schema/induction/JsonSchemaGenerator.java [87:94]


    private ObjectNode generateBasicAttributes(SchemaNode current) {
        ObjectNode newSchemaNode = JsonNodeFactory.instance.objectNode();
        newSchemaNode.put("name", current.getLocalName());
        newSchemaNode.put("path", current.getPath());
        newSchemaNode.put("count", current.getOccurrences());
        newSchemaNode.put("level", current.getLevel());
        return newSchemaNode;
    }