{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yunqi/json-schema/yunqi-virtual-cluster-get-response-schema.json",
  "title": "VirtualClusterGetResponse",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/yunqi-virtualcluster-api-openapi.yml#/components/schemas/VirtualClusterGetResponse",
  "type": "object",
  "properties": {
    "requestId": {
      "type": "string"
    },
    "success": {
      "type": "boolean"
    },
    "code": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "data": {
      "$ref": "#/$defs/VCInfo"
    }
  },
  "required": [
    "data",
    "requestId",
    "success",
    "code",
    "message"
  ],
  "$defs": {
    "VCInfo": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int64"
        },
        "name": {
          "type": "string"
        },
        "currentReplicas": {
          "type": [
            "integer",
            "null"
          ]
        },
        "maxReplicas": {
          "type": [
            "integer",
            "null"
          ]
        },
        "queuedJobs": {
          "type": [
            "integer",
            "null"
          ]
        },
        "minReplicas": {
          "type": [
            "integer",
            "null"
          ]
        },
        "maxConcurrency": {
          "type": [
            "integer",
            "null"
          ]
        },
        "autoSuspendInSecond": {
          "type": "integer"
        },
        "runningJobs": {
          "type": [
            "integer",
            "null"
          ]
        },
        "errorMessage": {
          "type": [
            "string",
            "null"
          ]
        },
        "load": {
          "type": "number",
          "format": "double"
        },
        "size": {
          "type": "string"
        },
        "state": {
          "type": "string",
          "enum": [
            "RUNNING",
            "SUSPENDED",
            "RESUMING"
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "GENERAL",
            "ANALYTICS",
            "INTEGRATION"
          ]
        }
      },
      "required": [
        "id",
        "name",
        "size",
        "type"
      ]
    }
  }
}