{
  "name": "HeartbeatRunnerHost",
  "plane": "control",
  "terraformEligible": false,
  "subProduct": "runner",
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudDeploy.Runner.HeartbeatRunnerHost",
    "service": "deploy"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "hostId": {
        "type": "string"
      }
    },
    "required": [
      "hostId"
    ],
    "title": "HeartbeatRunnerHostRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "definitions": {
      "RunnerFamily": {
        "enum": [
          "linux_x64",
          "linux_arm64",
          "windows_x64",
          "darwin_arm64"
        ],
        "type": "string"
      }
    },
    "properties": {
      "family": {
        "$ref": "#/definitions/RunnerFamily"
      },
      "freeSlots": {
        "format": "uint32",
        "minimum": 0.0,
        "type": "integer"
      },
      "hostId": {
        "type": "string"
      },
      "revision": {
        "format": "uint64",
        "minimum": 0.0,
        "type": "integer"
      },
      "slotBudget": {
        "format": "uint32",
        "minimum": 0.0,
        "type": "integer"
      }
    },
    "required": [
      "family",
      "freeSlots",
      "hostId",
      "revision",
      "slotBudget"
    ],
    "title": "RunnerHostResponse",
    "type": "object"
  }
}
