{
  "condition": {
    "equals": "teams-agent-and-app-type"
  },
  "data": {
    "title": "template.teams.title",
    "name": "teams-app-type",
    "type": "singleSelect",
    "options": [
      {
        "id": "custom-copilot-basic",
        "label": "template.teams.general.label",
        "detail": "template.teams.general.detail",
        "data": "custom-copilot-basic"
      },
      {
        "id": "custom-copilot-rag",
        "label": "template.teams.rag.label",
        "detail": "template.teams.rag.detail"
      },
      {
        "id": "teams-collaborator-agent",
        "label": "template.teams.collaboratorAgent.label",
        "detail": "template.teams.collaboratorAgent.detail",
        "data": "teams-collaborator-agent"
      },
      {
        "id": "teams-other-app-type",
        "label": "template.teams.others.label",
        "detail": "template.teams.others.detail"
      }
    ],
    "placeholder": "template.customEngineAgent.placeholder"
  },
  "children": [
    {
      "condition": {
        "equals": "custom-copilot-rag"
      },
      "data": {
        "type": "singleSelect",
        "name": "custom-copilot-rag",
        "title": "template.teams.rag.label",
        "placeholder": "template.teams.rag.source.placeholder",
        "default": "custom-copilot-rag-customize",
        "options": [
          {
            "id": "custom-copilot-rag-customize",
            "label": "template.teams.rag.source.customize.label",
            "detail": "template.teams.rag.source.customize.detail",
            "data": "custom-copilot-rag-customize"
          },
          {
            "id": "custom-copilot-rag-azure-ai-search",
            "label": "template.teams.rag.source.azureAISearch.label",
            "detail": "template.teams.rag.source.azureAISearch.detail",
            "data": "custom-copilot-rag-azure-ai-search"
          },
          {
            "id": "custom-copilot-rag-custom-api",
            "label": "template.teams.rag.source.customApi.label",
            "detail": "template.teams.rag.source.customApi.detail",
            "data": "custom-copilot-rag-custom-api"
          }
        ]
      },
      "children": [
        {
          "condition": {
            "equals": "custom-copilot-rag-custom-api"
          },
          "node": "apiSpecNode"
        }
      ]
    },
    {
      "condition": {
        "enum": [
          "custom-copilot-basic",
          "custom-copilot-rag"
        ]
      },
      "node": "llmServiceNode"
    },
    {
      "condition": {
        "equals": "teams-collaborator-agent"
      },
      "node": "azureOpenAINode"
    },
    {
      "condition": {
        "equals": "teams-other-app-type"
      },
      "data": {
        "type": "singleSelect",
        "name": "teams-other-app-type",
        "title": "template.teams.others.capability.title",
        "options": [
          {
            "id": "non-sso-tab",
            "label": "template.teams.others.tab.label",
            "detail": "template.teams.others.tab.detail",
            "data": "non-sso-tab"
          },
          {
            "id": "default-message-extension",
            "label": "template.teams.others.messageExtension.label",
            "detail": "template.teams.others.messageExtension.detail",
            "data": "default-message-extension"
          },
          {
            "id": "default-bot",
            "label": "template.teams.others.bot.label",
            "detail": "template.teams.others.bot.detail",
            "data": "default-bot"
          }
        ],
        "placeholder": "template.customEngineAgent.placeholder"
      },
      "children": []
    }
  ]
}