{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-flink/refs/heads/main/json-schema/flink-rest-task-manager-details-info-schema.json",
  "title": "TaskManagerDetailsInfo",
  "description": "TaskManagerDetailsInfo schema from Apache Flink REST API",
  "type": "object",
  "properties": {
    "allocatedSlots": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/SlotInfo"
      }
    },
    "blocked": {
      "type": "boolean"
    },
    "dataPort": {
      "type": "integer",
      "format": "int32"
    },
    "freeResource": {
      "$ref": "#/components/schemas/ResourceProfileInfo"
    },
    "freeSlots": {
      "type": "integer",
      "format": "int32"
    },
    "hardware": {
      "$ref": "#/components/schemas/HardwareDescription"
    },
    "id": {
      "$ref": "#/components/schemas/ResourceID"
    },
    "jmxPort": {
      "type": "integer",
      "format": "int32"
    },
    "memoryConfiguration": {
      "$ref": "#/components/schemas/TaskExecutorMemoryConfiguration"
    },
    "metrics": {
      "$ref": "#/components/schemas/TaskManagerMetricsInfo"
    },
    "path": {
      "type": "string"
    },
    "slotsNumber": {
      "type": "integer",
      "format": "int32"
    },
    "timeSinceLastHeartbeat": {
      "type": "integer",
      "format": "int64"
    },
    "totalResource": {
      "$ref": "#/components/schemas/ResourceProfileInfo"
    }
  }
}