{
    "description": "tree schema, extensible",
    "$schema": "https://json-schema.org/draft/2019-09/schema",
    "$id": "http://localhost:1234/draft2019-09/tree.json",
    "$dynamicAnchor": "node",

    "type": "object",
    "properties": {
        "data": true,
        "children": {
            "type": "array",
            "items": {
                "$dynamicRef": "#node"
            }
        }
    }
}
