{
  "name": "HeartbeatRunnerSession",
  "plane": "control",
  "terraformEligible": false,
  "subProduct": "runner",
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudDeploy.Runner.HeartbeatRunnerSession",
    "service": "deploy"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "poolId": {
        "type": "string"
      },
      "sessionId": {
        "type": "string"
      },
      "status": {
        "type": "string"
      }
    },
    "required": [
      "poolId",
      "sessionId",
      "status"
    ],
    "title": "HeartbeatRunnerSessionRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
      "githubJobId": {
        "type": [
          "string",
          "null"
        ]
      },
      "machineFleet": {
        "type": [
          "string",
          "null"
        ]
      },
      "poolId": {
        "type": "string"
      },
      "sessionId": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "terminalReason": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "poolId",
      "sessionId",
      "status"
    ],
    "title": "RunnerSessionResponse",
    "type": "object"
  }
}
