{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "CollaborationModeMask": {
      "description": "EXPERIMENTAL - collaboration mode preset metadata for clients.",
      "properties": {
        "mode": {
          "anyOf": [
            {
              "$ref": "#/definitions/ModeKind"
            },
            {
              "type": "null"
            }
          ]
        },
        "model": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": "string"
        },
        "reasoning_effort": {
          "anyOf": [
            {
              "anyOf": [
                {
                  "$ref": "#/definitions/ReasoningEffort"
                },
                {
                  "type": "null"
                }
              ]
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "ModeKind": {
      "description": "Initial collaboration mode to use when the TUI starts.",
      "enum": [
        "plan",
        "default"
      ],
      "type": "string"
    },
    "ReasoningEffort": {
      "description": "A non-empty reasoning effort value advertised by the model.",
      "minLength": 1,
      "type": "string"
    }
  },
  "description": "EXPERIMENTAL - collaboration mode presets response.",
  "properties": {
    "data": {
      "items": {
        "$ref": "#/definitions/CollaborationModeMask"
      },
      "type": "array"
    }
  },
  "required": [
    "data"
  ],
  "title": "CollaborationModeListResponse",
  "type": "object"
}