{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/mmerterden/multi-agent-pipeline/pipeline/schemas/autopilot-off-request.schema.json",
  "title": "Autopilot off request",
  "description": "The body of POST /v1/autopilot/off. now: true also ends the item in flight (its session stopped, its run marked abandoned, its uncommitted work stashed). Turning autopilot on is a terminal command, which picks repositories with the user.",
  "type": "object",
  "additionalProperties": false,
  "required": ["contractVersion"],
  "properties": {
    "contractVersion": {
      "type": "string",
      "pattern": "^1\\.[0-9]+\\.[0-9]+$",
      "x-sensitivity": "none"
    },
    "now": {
      "type": "boolean",
      "x-sensitivity": "none"
    }
  }
}
