{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lium-io/json-schema/lium-io-executor-pod-response-schema.json",
  "title": "ExecutorPodResponse",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/provider-api-lium-io-openapi.json#/components/schemas/ExecutorPodResponse",
  "properties": {
    "id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Id"
    },
    "executor_id": {
      "type": "string",
      "format": "uuid",
      "title": "Executor Id"
    },
    "pod_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pod Name"
    },
    "gpu_count": {
      "type": "string",
      "title": "Gpu Count"
    },
    "cpu_name": {
      "type": "string",
      "title": "Cpu Name"
    },
    "ram_total": {
      "type": "integer",
      "title": "Ram Total"
    },
    "status": {
      "$ref": "#/$defs/PodStatus"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Updated At"
    },
    "price": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price"
    },
    "gpu_uuids": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Gpu Uuids"
    },
    "cluster_membership": {
      "anyOf": [
        {
          "$ref": "#/$defs/PodClusterMembership"
        },
        {
          "type": "null"
        }
      ]
    },
    "discord_channel_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Discord Channel Id"
    },
    "discord_channel_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Discord Channel Url"
    },
    "renter_discord_connected": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Renter Discord Connected"
    },
    "net_rx_bytes": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Net Rx Bytes"
    },
    "net_tx_bytes": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Net Tx Bytes"
    },
    "close_reason": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Close Reason"
    },
    "closed_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Closed At"
    },
    "removal_scheduled_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Removal Scheduled At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "executor_id",
    "pod_name",
    "gpu_count",
    "cpu_name",
    "ram_total",
    "status",
    "created_at",
    "updated_at",
    "price",
    "gpu_uuids"
  ],
  "$defs": {
    "PodClusterMembership": {
      "properties": {
        "node_index": {
          "type": "integer",
          "title": "Node Index"
        },
        "node_count": {
          "type": "integer",
          "title": "Node Count"
        }
      },
      "type": "object",
      "required": [
        "node_index",
        "node_count"
      ],
      "title": "PodClusterMembership",
      "description": "Place of the pod's node inside a multi-node InfiniBand cluster rental.\n\nnode_index is zero-based, as the renter-facing docs show it. node_count is how many\nnodes the whole cluster order holds, possibly across several providers."
    },
    "PodStatus": {
      "type": "string",
      "enum": [
        "PENDING",
        "RUNNING",
        "STOPPED",
        "FAILED",
        "DELETING",
        "STOP_PENDING",
        "START_PENDING",
        "CREATION_FAILED",
        "BROKEN",
        "REBOOT_PENDING",
        "REBOOT_FAILED"
      ],
      "title": "PodStatus"
    }
  }
}