{
  "$defs": {
    "RecursiveExample": {
      "additionalProperties": false,
      "properties": {
        "children": {
          "items": {
            "$ref": "#/$defs/RecursiveExample"
          },
          "type": "array"
        },
        "text": {
          "type": "string"
        }
      },
      "required": [
        "text"
      ],
      "type": "object"
    }
  },
  "$id": "https://github.com/invopop/jsonschema/recursive-example",
  "$ref": "#/$defs/RecursiveExample",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}