{
  "openapi": "3.0.3",
  "info": {
    "title": "PLEXA Robot Runtime HTTP API",
    "version": "0.1.0",
    "description": "HTTP mappings from the versioned PLEXA Robot Runtime contract."
  },
  "servers": [],
  "paths": {
    "/api/runtime/control/target": {
      "post": {
        "operationId": "RobotControlService_SwitchRuntimeTarget",
        "tags": [
          "RobotControlService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SwitchRuntimeTargetRequest"
              }
            }
          }
        }
      },
      "get": {
        "operationId": "RobotControlService_GetRuntimeTargetProfile",
        "tags": [
          "RobotControlService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RuntimeTargetProfile"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/control/motion-limit-factor": {
      "post": {
        "operationId": "RobotControlService_SetMotionLimitFactor",
        "tags": [
          "RobotControlService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetMotionLimitFactorRequest"
              }
            }
          }
        }
      },
      "get": {
        "operationId": "RobotControlService_GetMotionLimitProfile",
        "tags": [
          "RobotControlService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MotionLimitProfile"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/control/collision-detection": {
      "post": {
        "operationId": "RobotControlService_SetCollisionDetectionEnabled",
        "tags": [
          "RobotControlService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetCollisionDetectionEnabledRequest"
              }
            }
          }
        }
      },
      "get": {
        "operationId": "RobotControlService_GetCollisionDetectionStatus",
        "tags": [
          "RobotControlService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollisionDetectionStatus"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/control/simulation/robot": {
      "post": {
        "operationId": "RobotControlService_SwitchSimulationRobot",
        "tags": [
          "RobotControlService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SwitchSimulationRobotRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/control/joints/active": {
      "post": {
        "operationId": "RobotControlService_SetJointsActive",
        "tags": [
          "RobotControlService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JointActivationCommand"
              }
            }
          }
        }
      }
    },
    "/api/runtime/control/outputs": {
      "post": {
        "operationId": "RobotControlService_SetOutput",
        "tags": [
          "RobotControlService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IoValue"
              }
            }
          }
        }
      }
    },
    "/api/runtime/control/outputs/{name}": {
      "get": {
        "operationId": "RobotControlService_GetOutput",
        "tags": [
          "RobotControlService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntValue"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/control/inputs/{name}": {
      "get": {
        "operationId": "RobotControlService_GetInput",
        "tags": [
          "RobotControlService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntValue"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/kinematics/forward": {
      "post": {
        "operationId": "PathExecutionService_ForwardKinematics",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ForwardKinematicsResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ForwardKinematicsRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/kinematics/inverse": {
      "post": {
        "operationId": "PathExecutionService_InverseKinematics",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InverseKinematicsResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InverseKinematicsRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/cartesian-trajectory/plan": {
      "post": {
        "operationId": "PathExecutionService_PlanCartesianTrajectory",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MotionPlan"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlanCartesianTrajectoryRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/preview": {
      "post": {
        "operationId": "PathExecutionService_PreviewMotion",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MotionPlan"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PreviewMotionRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/linear": {
      "post": {
        "operationId": "PathExecutionService_MoveLinear",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MoveToPoseRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/pose": {
      "post": {
        "operationId": "PathExecutionService_MoveToPose",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MoveToPoseRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/rigid-object/preview": {
      "post": {
        "operationId": "PathExecutionService_PreviewRigidObjectMotion",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MotionPlan"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RigidObjectMotionRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/rigid-object": {
      "post": {
        "operationId": "PathExecutionService_MoveRigidObject",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RigidObjectMotionRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/joints": {
      "post": {
        "operationId": "PathExecutionService_MoveToJoints",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MoveToJointsRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/initialization-jog": {
      "post": {
        "operationId": "PathExecutionService_JogUninitializedJoint",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UninitializedJointJogRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/axis/rotate": {
      "post": {
        "operationId": "PathExecutionService_RotateAroundAxis",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AxisMovementRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/axis/move": {
      "post": {
        "operationId": "PathExecutionService_MoveInAxisDirection",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AxisMovementRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/stop": {
      "post": {
        "operationId": "PathExecutionService_StopRobotMotion",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RobotSelectorRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/trajectory": {
      "post": {
        "operationId": "PathExecutionService_ExecuteTrajectory",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExecuteTrajectoryRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/path/motions/{motion_id}/stop": {
      "post": {
        "operationId": "PathExecutionService_StopMotion",
        "tags": [
          "PathExecutionService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StopMotionRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/status/visualization-trackers": {
      "post": {
        "operationId": "RobotStatusService_UpsertVisualizationTracker",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VisualizationTracker"
              }
            }
          }
        }
      }
    },
    "/api/runtime/status/visualization-trackers/stream": {
      "get": {
        "operationId": "RobotStatusService_StreamVisualizationTrackers",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "text/event-stream": {
                "schema": {
                  "$ref": "#/components/schemas/VisualizationTrackerList"
                }
              }
            }
          }
        },
        "x-streaming": "sse"
      }
    },
    "/api/runtime/status/visualization-paths": {
      "post": {
        "operationId": "RobotStatusService_UpsertVisualizationPath",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VisualizationPath"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "RobotStatusService_DeleteAllVisualizationPaths",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/status/visualization-paths/stream": {
      "get": {
        "operationId": "RobotStatusService_StreamVisualizationPaths",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "text/event-stream": {
                "schema": {
                  "$ref": "#/components/schemas/VisualizationPathList"
                }
              }
            }
          }
        },
        "x-streaming": "sse"
      }
    },
    "/api/runtime/status/visualization-points": {
      "post": {
        "operationId": "RobotStatusService_UpsertVisualizationPoint",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VisualizationPoint"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "RobotStatusService_DeleteAllVisualizationPoints",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/status/visualization-points/stream": {
      "get": {
        "operationId": "RobotStatusService_StreamVisualizationPoints",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "text/event-stream": {
                "schema": {
                  "$ref": "#/components/schemas/VisualizationPointList"
                }
              }
            }
          }
        },
        "x-streaming": "sse"
      }
    },
    "/api/runtime/status/robots": {
      "get": {
        "operationId": "RobotStatusService_ListRobots",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RobotList"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/status/function-flags": {
      "get": {
        "operationId": "RobotStatusService_GetFunctionFlagStatus",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FunctionFlagStatusList"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/status/joints/active": {
      "get": {
        "operationId": "RobotStatusService_GetJointActivationStatus",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JointActivationStatus"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/status/pose": {
      "get": {
        "operationId": "RobotStatusService_GetCurrentRobotPosition",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RobotPose"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/status/joints": {
      "get": {
        "operationId": "RobotStatusService_GetCurrentRobotJoints",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JointAngles"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/status/motions/{motion_id}": {
      "get": {
        "operationId": "RobotStatusService_GetMotionStatus",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MotionStatus"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/status/joints/initialization": {
      "get": {
        "operationId": "RobotStatusService_GetJointInitializationStatus",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JointInitializationStatus"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/status/pose/stream": {
      "get": {
        "operationId": "RobotStatusService_StreamCurrentRobotPosition",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "text/event-stream": {
                "schema": {
                  "$ref": "#/components/schemas/RobotPose"
                }
              }
            }
          }
        },
        "x-streaming": "sse"
      }
    },
    "/api/runtime/status/joints/stream": {
      "get": {
        "operationId": "RobotStatusService_StreamCurrentRobotJoints",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "text/event-stream": {
                "schema": {
                  "$ref": "#/components/schemas/JointAngles"
                }
              }
            }
          }
        },
        "x-streaming": "sse"
      }
    },
    "/api/runtime/status/collision-geometry": {
      "get": {
        "operationId": "RobotStatusService_GetCurrentCollisionGeometry",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollisionGeometry"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/status/collision-geometry/stream": {
      "get": {
        "operationId": "RobotStatusService_StreamCurrentCollisionGeometry",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "text/event-stream": {
                "schema": {
                  "$ref": "#/components/schemas/CollisionGeometry"
                }
              }
            }
          }
        },
        "x-streaming": "sse"
      }
    },
    "/api/runtime/status/errors": {
      "get": {
        "operationId": "RobotStatusService_ListActiveErrors",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RuntimeErrorList"
                }
              }
            }
          }
        }
      }
    },
    "/api/runtime/status/errors/{error_id}/confirm": {
      "post": {
        "operationId": "RobotStatusService_ConfirmRuntimeError",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmRuntimeErrorRequest"
              }
            }
          }
        }
      }
    },
    "/api/runtime/status/errors/confirm": {
      "post": {
        "operationId": "RobotStatusService_ConfirmAllRuntimeErrors",
        "tags": [
          "RobotStatusService"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmptyRequest"
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "EmptyRequest": {
        "type": "object",
        "properties": {}
      },
      "RobotSelectorRequest": {
        "type": "object",
        "properties": {
          "robotName": {
            "type": "string"
          },
          "group": {
            "type": "string"
          }
        }
      },
      "SwitchSimulationRobotRequest": {
        "type": "object",
        "properties": {
          "robotName": {
            "type": "string"
          },
          "axisCount": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "SetMotionLimitFactorRequest": {
        "type": "object",
        "properties": {
          "factor": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "MotionLimitProfile": {
        "type": "object",
        "properties": {
          "activeFactor": {
            "type": "number",
            "format": "double"
          },
          "maximumFactor": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "SetCollisionDetectionEnabledRequest": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        }
      },
      "CollisionDetectionStatus": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        }
      },
      "SwitchRuntimeTargetRequest": {
        "type": "object",
        "properties": {
          "targetId": {
            "type": "string"
          }
        }
      },
      "RuntimeTarget": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "active": {
            "type": "boolean"
          }
        }
      },
      "RuntimeTargetProfile": {
        "type": "object",
        "properties": {
          "targets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RuntimeTarget"
            }
          },
          "activeRobotSystem": {
            "$ref": "#/components/schemas/RobotSystemProfile"
          }
        }
      },
      "RobotSystemModule": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "robotName": {
            "type": "string"
          },
          "systemAxisIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "kinematicGroup": {
            "type": "string"
          },
          "toolX": {
            "type": "number",
            "format": "double"
          },
          "toolY": {
            "type": "number",
            "format": "double"
          },
          "toolZ": {
            "type": "number",
            "format": "double"
          },
          "toolQ0": {
            "type": "number",
            "format": "double"
          },
          "toolQ1": {
            "type": "number",
            "format": "double"
          },
          "toolQ2": {
            "type": "number",
            "format": "double"
          },
          "toolQ3": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "RobotSystemProfile": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "modelId": {
            "type": "string"
          },
          "modules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RobotSystemModule"
            }
          }
        }
      },
      "OperationResult": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "motionId": {
            "type": "string"
          }
        }
      },
      "MotionState": {
        "type": "integer",
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ]
      },
      "MotionStatusRequest": {
        "type": "object",
        "properties": {
          "motionId": {
            "type": "string"
          }
        }
      },
      "StopMotionRequest": {
        "type": "object",
        "properties": {
          "motionId": {
            "type": "string"
          }
        }
      },
      "MotionStatus": {
        "type": "object",
        "properties": {
          "motionId": {
            "type": "string"
          },
          "robotName": {
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/MotionState"
          },
          "pathRatio": {
            "type": "number",
            "format": "double"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "RuntimeError": {
        "type": "object",
        "properties": {
          "errorId": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "firstObservedAtEpochMillis": {
            "type": "integer",
            "format": "int64"
          },
          "lastObservedAtEpochMillis": {
            "type": "integer",
            "format": "int64"
          },
          "occurrenceCount": {
            "type": "integer",
            "format": "int32"
          },
          "acknowledged": {
            "type": "boolean"
          },
          "recoveryState": {
            "type": "string"
          }
        }
      },
      "RuntimeErrorList": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RuntimeError"
            }
          }
        }
      },
      "ConfirmRuntimeErrorRequest": {
        "type": "object",
        "properties": {
          "errorId": {
            "type": "string"
          }
        }
      },
      "ErrorCodeResult": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "StringValue": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string"
          }
        }
      },
      "IntValue": {
        "type": "object",
        "properties": {
          "value": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "DoubleValue": {
        "type": "object",
        "properties": {
          "value": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "BoolValue": {
        "type": "object",
        "properties": {
          "value": {
            "type": "boolean"
          }
        }
      },
      "StringList": {
        "type": "object",
        "properties": {
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "BoolList": {
        "type": "object",
        "properties": {
          "values": {
            "type": "array",
            "items": {
              "type": "boolean"
            }
          }
        }
      },
      "Quaternion": {
        "type": "object",
        "properties": {
          "q0": {
            "type": "number",
            "format": "double"
          },
          "q1": {
            "type": "number",
            "format": "double"
          },
          "q2": {
            "type": "number",
            "format": "double"
          },
          "q3": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "EulerAngles": {
        "type": "object",
        "properties": {
          "rx": {
            "type": "number",
            "format": "double"
          },
          "ry": {
            "type": "number",
            "format": "double"
          },
          "rz": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "CartesianPosition": {
        "type": "object",
        "properties": {
          "x": {
            "type": "number",
            "format": "double"
          },
          "y": {
            "type": "number",
            "format": "double"
          },
          "z": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "Pose": {
        "type": "object",
        "properties": {
          "position": {
            "$ref": "#/components/schemas/CartesianPosition"
          },
          "orientation": {
            "$ref": "#/components/schemas/Quaternion"
          }
        }
      },
      "RobotPose": {
        "type": "object",
        "properties": {
          "position": {
            "$ref": "#/components/schemas/CartesianPosition"
          },
          "quaternion": {
            "$ref": "#/components/schemas/Quaternion"
          },
          "euler": {
            "$ref": "#/components/schemas/EulerAngles"
          }
        }
      },
      "RobotInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string"
          },
          "axisCount": {
            "type": "integer",
            "format": "int32"
          },
          "modelId": {
            "type": "string"
          }
        }
      },
      "RobotList": {
        "type": "object",
        "properties": {
          "robots": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RobotInfo"
            }
          }
        }
      },
      "CollisionGeometry": {
        "type": "object",
        "properties": {
          "modelId": {
            "type": "string"
          },
          "coordinateFrame": {
            "type": "string"
          },
          "requiredClearanceMillimetres": {
            "type": "number",
            "format": "double"
          },
          "primitives": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CollisionPrimitive"
            }
          }
        }
      },
      "CollisionPrimitiveKind": {
        "type": "integer",
        "enum": [
          0,
          1,
          2,
          3
        ]
      },
      "CollisionPrimitive": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/CollisionPrimitiveKind"
          },
          "capsule": {
            "$ref": "#/components/schemas/CollisionCapsule"
          },
          "sphere": {
            "$ref": "#/components/schemas/CollisionSphere"
          }
        }
      },
      "CollisionCapsule": {
        "type": "object",
        "properties": {
          "start": {
            "$ref": "#/components/schemas/CartesianPosition"
          },
          "end": {
            "$ref": "#/components/schemas/CartesianPosition"
          },
          "radiusMillimetres": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "CollisionSphere": {
        "type": "object",
        "properties": {
          "center": {
            "$ref": "#/components/schemas/CartesianPosition"
          },
          "radiusMillimetres": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "JointAngles": {
        "type": "object",
        "properties": {
          "values": {
            "type": "array",
            "items": {
              "type": "number",
              "format": "double"
            }
          }
        }
      },
      "JointTrajectorySample": {
        "type": "object",
        "properties": {
          "positions": {
            "$ref": "#/components/schemas/JointAngles"
          },
          "velocities": {
            "$ref": "#/components/schemas/JointAngles"
          },
          "accelerations": {
            "$ref": "#/components/schemas/JointAngles"
          }
        }
      },
      "JointInitializationStatus": {
        "type": "object",
        "properties": {
          "initialized": {
            "type": "array",
            "items": {
              "type": "boolean"
            }
          },
          "statusAvailable": {
            "type": "boolean"
          }
        }
      },
      "AxisVector": {
        "type": "object",
        "properties": {
          "x": {
            "type": "number",
            "format": "double"
          },
          "y": {
            "type": "number",
            "format": "double"
          },
          "z": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "ToolName": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          }
        }
      },
      "CoordinateSystemName": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          }
        }
      },
      "ToolOffset": {
        "type": "object",
        "properties": {
          "x": {
            "type": "number",
            "format": "double"
          },
          "y": {
            "type": "number",
            "format": "double"
          },
          "z": {
            "type": "number",
            "format": "double"
          },
          "rx": {
            "type": "number",
            "format": "double"
          },
          "ry": {
            "type": "number",
            "format": "double"
          },
          "rz": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "IoName": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "robotName": {
            "type": "string"
          }
        }
      },
      "IoValue": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "integer",
            "format": "int32"
          },
          "robotName": {
            "type": "string"
          }
        }
      },
      "OutputModeRequest": {
        "type": "object",
        "properties": {
          "outputName": {
            "type": "string"
          },
          "pushPull": {
            "type": "boolean"
          }
        }
      },
      "RegisterIndex": {
        "type": "object",
        "properties": {
          "index": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "FloatRegisterValue": {
        "type": "object",
        "properties": {
          "index": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "IntRegisterValue": {
        "type": "object",
        "properties": {
          "index": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "BoolRegisterValue": {
        "type": "object",
        "properties": {
          "index": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "boolean"
          }
        }
      },
      "DynamicMap": {
        "type": "object",
        "properties": {
          "fields": {
            "$ref": "#/components/schemas/Struct"
          }
        }
      },
      "DynamicMapList": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Struct"
            }
          }
        }
      },
      "TextResult": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string"
          }
        }
      },
      "VisualizationTracker": {
        "type": "object",
        "properties": {
          "trackerId": {
            "type": "string"
          },
          "position": {
            "$ref": "#/components/schemas/CartesianPosition"
          },
          "color": {
            "type": "string"
          },
          "radiusMillimetres": {
            "type": "number",
            "format": "double"
          },
          "receivedAtEpochMillis": {
            "type": "integer",
            "format": "int64"
          },
          "kind": {
            "$ref": "#/components/schemas/VisualizationTrackerKind"
          }
        }
      },
      "VisualizationTrackerKind": {
        "type": "integer",
        "enum": [
          0,
          1,
          2
        ]
      },
      "VisualizationTrackerList": {
        "type": "object",
        "properties": {
          "trackers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VisualizationTracker"
            }
          }
        }
      },
      "VisualizationPath": {
        "type": "object",
        "properties": {
          "pathId": {
            "type": "string"
          },
          "points": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CartesianPosition"
            }
          },
          "color": {
            "type": "string"
          },
          "lineWidthMillimetres": {
            "type": "number",
            "format": "double"
          },
          "receivedAtEpochMillis": {
            "type": "integer",
            "format": "int64"
          },
          "dashed": {
            "type": "boolean"
          },
          "fadeAfterMillis": {
            "type": "integer",
            "format": "int64"
          },
          "removeAfterMillis": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "VisualizationPathList": {
        "type": "object",
        "properties": {
          "paths": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VisualizationPath"
            }
          }
        }
      },
      "VisualizationPoint": {
        "type": "object",
        "properties": {
          "pointId": {
            "type": "string"
          },
          "position": {
            "$ref": "#/components/schemas/CartesianPosition"
          },
          "label": {
            "type": "string"
          },
          "color": {
            "type": "string"
          },
          "receivedAtEpochMillis": {
            "type": "integer",
            "format": "int64"
          },
          "fadeAfterMillis": {
            "type": "integer",
            "format": "int64"
          },
          "removeAfterMillis": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "VisualizationPointList": {
        "type": "object",
        "properties": {
          "points": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VisualizationPoint"
            }
          }
        }
      },
      "MotionType": {
        "type": "integer",
        "enum": [
          0,
          1,
          2,
          3
        ]
      },
      "PreviewMotionRequest": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/MotionType"
          },
          "motion": {
            "$ref": "#/components/schemas/MoveToPoseRequest"
          }
        }
      },
      "MotionPlan": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/MotionType"
          },
          "modelId": {
            "type": "string"
          },
          "durationMillis": {
            "type": "integer",
            "format": "int64"
          },
          "groups": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "jointPath": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JointAngles"
            }
          },
          "cartesianPaths": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CartesianMotionPath"
            }
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "jointNames": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "samplePeriodSeconds": {
            "type": "number",
            "format": "double"
          },
          "trajectorySamples": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JointTrajectorySample"
            }
          }
        }
      },
      "ForwardKinematicsRequest": {
        "type": "object",
        "properties": {
          "robotName": {
            "type": "string"
          },
          "group": {
            "type": "string"
          },
          "joints": {
            "$ref": "#/components/schemas/JointAngles"
          },
          "coordinateFrame": {
            "type": "string"
          }
        }
      },
      "ForwardKinematicsResponse": {
        "type": "object",
        "properties": {
          "modelId": {
            "type": "string"
          },
          "jointNames": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "pose": {
            "$ref": "#/components/schemas/Pose"
          },
          "coordinateFrame": {
            "type": "string"
          }
        }
      },
      "InverseKinematicsRequest": {
        "type": "object",
        "properties": {
          "robotName": {
            "type": "string"
          },
          "targets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CartesianPoseTarget"
            }
          },
          "seed": {
            "$ref": "#/components/schemas/JointAngles"
          },
          "coordinateFrame": {
            "type": "string"
          }
        }
      },
      "InverseKinematicsResponse": {
        "type": "object",
        "properties": {
          "modelId": {
            "type": "string"
          },
          "jointNames": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "joints": {
            "$ref": "#/components/schemas/JointAngles"
          },
          "coordinateFrame": {
            "type": "string"
          }
        }
      },
      "CartesianWaypoint": {
        "type": "object",
        "properties": {
          "targets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CartesianPoseTarget"
            }
          }
        }
      },
      "PlanCartesianTrajectoryRequest": {
        "type": "object",
        "properties": {
          "robotName": {
            "type": "string"
          },
          "waypoints": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CartesianWaypoint"
            }
          },
          "seed": {
            "$ref": "#/components/schemas/JointAngles"
          },
          "samplePeriodSeconds": {
            "type": "number",
            "format": "double"
          },
          "maxTcpSpeedMillimetresPerSecond": {
            "type": "number",
            "format": "double"
          },
          "coordinateFrame": {
            "type": "string"
          }
        }
      },
      "CartesianMotionPath": {
        "type": "object",
        "properties": {
          "group": {
            "type": "string"
          },
          "poses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Pose"
            }
          }
        }
      },
      "MoveToPoseRequest": {
        "type": "object",
        "properties": {
          "pose": {
            "$ref": "#/components/schemas/Pose"
          },
          "speed": {
            "type": "number",
            "format": "double"
          },
          "robotName": {
            "type": "string"
          },
          "group": {
            "type": "string"
          },
          "targets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CartesianPoseTarget"
            }
          },
          "coordinateFrame": {
            "type": "string"
          }
        }
      },
      "CartesianPoseTarget": {
        "type": "object",
        "properties": {
          "group": {
            "type": "string"
          },
          "pose": {
            "$ref": "#/components/schemas/Pose"
          }
        }
      },
      "RigidObjectMotionRequest": {
        "type": "object",
        "properties": {
          "objectStart": {
            "$ref": "#/components/schemas/Pose"
          },
          "objectTarget": {
            "$ref": "#/components/schemas/Pose"
          },
          "grasps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RigidObjectGrasp"
            }
          },
          "speed": {
            "type": "number",
            "format": "double"
          },
          "coordinateFrame": {
            "type": "string"
          }
        }
      },
      "RigidObjectGrasp": {
        "type": "object",
        "properties": {
          "group": {
            "type": "string"
          },
          "objectToTcp": {
            "$ref": "#/components/schemas/Pose"
          }
        }
      },
      "AxisMovementRequest": {
        "type": "object",
        "properties": {
          "axis": {
            "$ref": "#/components/schemas/AxisVector"
          },
          "useTcpCoord": {
            "type": "boolean"
          },
          "speedFactor": {
            "type": "number",
            "format": "double"
          },
          "robotName": {
            "type": "string"
          }
        }
      },
      "JointActivationCommand": {
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean"
          },
          "robotName": {
            "type": "string"
          }
        }
      },
      "JointActivationStatus": {
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean"
          },
          "statusAvailable": {
            "type": "boolean"
          }
        }
      },
      "FunctionFlagStatus": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "position": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "FunctionFlagStatusList": {
        "type": "object",
        "properties": {
          "flags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FunctionFlagStatus"
            }
          },
          "statusAvailable": {
            "type": "boolean"
          }
        }
      },
      "MoveToJointsRequest": {
        "type": "object",
        "properties": {
          "jointAngles": {
            "$ref": "#/components/schemas/JointAngles"
          },
          "speedFactor": {
            "type": "number",
            "format": "double"
          },
          "robotName": {
            "type": "string"
          },
          "group": {
            "type": "string"
          }
        }
      },
      "UninitializedJointJogRequest": {
        "type": "object",
        "properties": {
          "robotName": {
            "type": "string"
          },
          "axisIndex": {
            "type": "integer",
            "format": "int64"
          },
          "positive": {
            "type": "boolean"
          }
        }
      },
      "ExecuteTrajectoryRequest": {
        "type": "object",
        "properties": {
          "robotName": {
            "type": "string"
          },
          "samplePeriodSeconds": {
            "type": "number",
            "format": "double"
          },
          "samples": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JointTrajectorySample"
            }
          }
        }
      },
      "Struct": {
        "type": "object",
        "properties": {
          "fields": {
            "$ref": "#/components/schemas/Value"
          }
        }
      },
      "Value": {
        "type": "object",
        "properties": {
          "nullValue": {
            "$ref": "#/components/schemas/NullValue"
          },
          "numberValue": {
            "type": "number",
            "format": "double"
          },
          "stringValue": {
            "type": "string"
          },
          "boolValue": {
            "type": "boolean"
          },
          "structValue": {
            "$ref": "#/components/schemas/Struct"
          },
          "listValue": {
            "$ref": "#/components/schemas/ListValue"
          }
        }
      },
      "NullValue": {
        "type": "integer",
        "enum": [
          0
        ]
      },
      "ListValue": {
        "type": "object",
        "properties": {
          "values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Value"
            }
          }
        }
      }
    }
  },
  "x-generated-from": "schemas/proto/*.proto"
}
