{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tyk/json-schema/tyk-node-schema.json",
  "title": "Node",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tyk-data-planes-api-openapi.yml#/components/schemas/Node",
  "type": "object",
  "properties": {
    "node_id": {
      "type": "string"
    },
    "api_key": {
      "type": "string"
    },
    "group_id": {
      "type": "string"
    },
    "node_version": {
      "type": "string"
    },
    "ttl": {
      "type": "integer"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "health": {
      "$ref": "#/$defs/Health"
    },
    "stats": {
      "$ref": "#/$defs/Stats"
    },
    "host_details": {
      "$ref": "#/$defs/HostDetails"
    }
  },
  "$defs": {
    "ComponentStatus": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string"
        },
        "componentType": {
          "type": "string"
        },
        "time": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "Health": {
      "type": "object",
      "properties": {
        "redis": {
          "$ref": "#/$defs/ComponentStatus"
        },
        "rpc": {
          "$ref": "#/$defs/ComponentStatus"
        }
      }
    },
    "HostDetails": {
      "type": "object",
      "properties": {
        "Hostname": {
          "type": "string"
        },
        "PID": {
          "type": "integer"
        },
        "Address": {
          "type": "string"
        }
      }
    },
    "Stats": {
      "type": "object",
      "properties": {
        "apis_count": {
          "type": "integer"
        },
        "policies_count": {
          "type": "integer"
        }
      }
    }
  }
}