Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go
315 KB
Raw Blame
{
  "openapi": "3.0.0",
  "info": {"title":"Composio Platform API v3.1","version":"3.1.0"},
  "x-source": "https://backend.composio.dev/api/v3.1/openapi.json",
  "x-update": "node scripts/composio-spec.mjs update",
  "paths": {
    "/api/v3.1/toolkits": {
      "get": {
        "operationId": "getV3_1Toolkits",
        "responses": {
          "200": {
            "description": "Toolkits retrieved successfully. Returns a paginated list of available toolkits with detailed metadata.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {"type":"string","example":"github"},
                          "name": {"type":"string","example":"GitHub"},
                          "type": {"type":"string","enum":["native","custom"],"example":"native"},
                          "app": {"type":"string","example":"GitHub"},
                          "toolkit_type": {"type":"string","enum":["api","mcp"],"example":"api"},
                          "instant": {
                            "type": "object",
                            "properties": {"supported":{"type":"boolean","enum":[true]}},
                            "required": ["supported"]
                          },
                          "access": {"type":"string","enum":["all","user"],"example":"all"},
                          "auth_schemes": {"type":"array","items":{"type":"string"},"example":["oauth2","api_key"]},
                          "composio_managed_auth_schemes": {"type":"array","items":{"type":"string"},"example":["oauth2"]},
                          "is_local_toolkit": {"type":"boolean","deprecated":true,"example":false},
                          "no_auth": {"type":"boolean","example":false},
                          "auth_guide_url": {
                            "type": "string",
                            "nullable": true,
                            "example": "https://composio.dev/auth/github"
                          },
                          "deprecated": {"$ref":"#/components/schemas/DeprecatedToolkitInfo"},
                          "meta": {
                            "type": "object",
                            "properties": {
                              "created_at": {"type":"string","example":"2023-01-15T09:30:00.000Z"},
                              "updated_at": {"type":"string","example":"2023-05-20T14:45:00.000Z"},
                              "description": {
                                "type": "string",
                                "example": "Integrate with GitHub repositories, issues, pull requests, and more."
                              },
                              "logo": {
                                "type": "string",
                                "example": "https://assets.composio.dev/logos/github.png"
                              },
                              "app_url": {"type":"string","nullable":true,"example":"https://github.com"},
                              "categories": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {"type":"string","example":"developer-tools"},
                                    "name": {"type":"string","example":"Developer Tools"}
                                  },
                                  "required": ["id","name"]
                                },
                                "example": [
                                  {"id":"developer-tools","name":"Developer Tools"},
                                  {"id":"productivity","name":"Productivity"}
                                ]
                              },
                              "triggers_count": {"type":"number","example":5},
                              "tools_count": {"type":"number","example":12},
                              "version": {"type":"string","example":"20250905_00"}
                            },
                            "required": [
                              "created_at",
                              "updated_at",
                              "description",
                              "logo",
                              "categories",
                              "triggers_count",
                              "tools_count",
                              "version"
                            ]
                          }
                        },
                        "required": [
                          "slug",
                          "name",
                          "type",
                          "app",
                          "toolkit_type",
                          "is_local_toolkit",
                          "deprecated",
                          "meta"
                        ]
                      }
                    },
                    "next_cursor": {"type":"string","nullable":true},
                    "total_pages": {"type":"number"},
                    "current_page": {"type":"number"},
                    "total_items": {"type":"number"}
                  },
                  "required": ["items","total_pages","current_page","total_items"]
                }
              }
            }
          },
          "400": {
            "description": "Bad request. The query parameters may be invalid or in an incorrect format.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "401": {
            "description": "Unauthorized. Authentication is required or the provided credentials are invalid.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "404": {
            "description": "Not found. The toolkits you are looking for do not exist.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "429": {
            "description": "Too many requests. The upstream service is rate limiting the request; retry after a short backoff.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred while processing the request.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          }
        }
      }
    },
    "/api/v3.1/toolkits/{slug}": {
      "get": {
        "operationId": "getV3_1ToolkitsBySlug",
        "responses": {
          "200": {
            "description": "Successfully retrieved detailed information about the requested toolkit, including authentication options, metadata, and feature counts.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "slug": {"type":"string","example":"github"},
                    "name": {"type":"string","example":"GitHub"},
                    "type": {"type":"string","enum":["native","custom"],"example":"native"},
                    "toolkit_type": {"type":"string","enum":["api","mcp"],"example":"api"},
                    "instant": {
                      "type": "object",
                      "properties": {"supported":{"type":"boolean","enum":[true]}},
                      "required": ["supported"]
                    },
                    "enabled": {"type":"boolean","example":true},
                    "access": {"type":"string","enum":["all","user"],"example":"all"},
                    "composio_managed_auth_schemes": {"type":"array","items":{"type":"string"},"example":["oauth2"]},
                    "composio_managed_auth": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "managed_app_id": {"type":"string","example":"ma_V1StGXR8_Z5j"},
                          "is_default": {"type":"boolean","example":true},
                          "mode": {"type":"string","example":"OAUTH2"},
                          "scopes": {
                            "type": "object",
                            "properties": {"available":{"type":"array","items":{"type":"string"}}},
                            "required": ["available"],
                            "example": {"available":["read","write"]}
                          },
                          "user_scopes": {
                            "type": "object",
                            "properties": {"available":{"type":"array","items":{"type":"string"}}},
                            "required": ["available"],
                            "example": {"available":["search:read","users:read"]}
                          }
                        },
                        "required": ["managed_app_id","is_default","mode","scopes"]
                      }
                    },
                    "is_local_toolkit": {"type":"boolean","deprecated":true,"example":false},
                    "auth_config_details": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "enum": [
                              "OAUTH2",
                              "OAUTH1",
                              "API_KEY",
                              "BASIC",
                              "BILLCOM_AUTH",
                              "BEARER_TOKEN",
                              "GOOGLE_SERVICE_ACCOUNT",
                              "NO_AUTH",
                              "BASIC_WITH_JWT",
                              "CALCOM_AUTH",
                              "SERVICE_ACCOUNT",
                              "SAML",
                              "DCR_OAUTH",
                              "CIMD_OAUTH",
                              "S2S_OAUTH2"
                            ],
                            "example": "OAUTH2"
                          },
                          "required_scopes": {
                            "type": "array",
                            "items": {"type":"string"},
                            "example": ["offline_access","User.Read"]
                          },
                          "fields": {
                            "type": "object",
                            "properties": {
                              "auth_config_creation": {
                                "type": "object",
                                "properties": {
                                  "required": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "name": {"type":"string"},
                                        "displayName": {"type":"string"},
                                        "default": {"type":"string","nullable":true},
                                        "type": {"type":"string"},
                                        "description": {"type":"string"},
                                        "required": {"type":"boolean"},
                                        "is_secret": {"type":"boolean"},
                                        "legacy_template_name": {"type":"string"},
                                        "user_visible": {"type":"boolean"}
                                      },
                                      "required": [
                                        "name",
                                        "displayName",
                                        "type",
                                        "description",
                                        "required",
                                        "user_visible"
                                      ]
                                    }
                                  },
                                  "optional": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "name": {"type":"string"},
                                        "displayName": {"type":"string"},
                                        "default": {"type":"string","nullable":true},
                                        "type": {"type":"string"},
                                        "description": {"type":"string"},
                                        "required": {"type":"boolean"},
                                        "is_secret": {"type":"boolean"},
                                        "legacy_template_name": {"type":"string"},
                                        "user_visible": {"type":"boolean"}
                                      },
                                      "required": [
                                        "name",
                                        "displayName",
                                        "type",
                                        "description",
                                        "required",
                                        "user_visible"
                                      ]
                                    }
                                  }
                                },
                                "required": ["required","optional"]
                              },
                              "connected_account_initiation": {
                                "type": "object",
                                "properties": {
                                  "required": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "name": {"type":"string"},
                                        "displayName": {"type":"string"},
                                        "default": {"type":"string","nullable":true},
                                        "type": {"type":"string"},
                                        "description": {"type":"string"},
                                        "required": {"type":"boolean"},
                                        "is_secret": {"type":"boolean"},
                                        "legacy_template_name": {"type":"string"},
                                        "user_visible": {"type":"boolean"}
                                      },
                                      "required": [
                                        "name",
                                        "displayName",
                                        "type",
                                        "description",
                                        "required",
                                        "user_visible"
                                      ]
                                    }
                                  },
                                  "optional": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "name": {"type":"string"},
                                        "displayName": {"type":"string"},
                                        "default": {"type":"string","nullable":true},
                                        "type": {"type":"string"},
                                        "description": {"type":"string"},
                                        "required": {"type":"boolean"},
                                        "is_secret": {"type":"boolean"},
                                        "legacy_template_name": {"type":"string"},
                                        "user_visible": {"type":"boolean"}
                                      },
                                      "required": [
                                        "name",
                                        "displayName",
                                        "type",
                                        "description",
                                        "required",
                                        "user_visible"
                                      ]
                                    }
                                  }
                                },
                                "required": ["required","optional"]
                              }
                            },
                            "required": ["auth_config_creation","connected_account_initiation"]
                          },
                          "proxy": {
                            "type": "object",
                            "properties": {
                              "base_url": {"type":"string","example":"https://auth.example.com/proxy"}
                            },
                            "required": ["base_url"]
                          },
                          "name": {"type":"string","example":"OAuth 2.0"},
                          "auth_hint_url": {
                            "type": "string",
                            "nullable": true,
                            "example": "https://github.com/settings/tokens"
                          },
                          "is_connection_revoke_supported": {"type":"boolean"},
                          "deprecated_auth_provider_details": {
                            "type": "object",
                            "properties": {"authorization_url":{"type":"string"},"token_url":{"type":"string"}},
                            "deprecated": true
                          }
                        },
                        "required": ["mode","required_scopes","fields","name","is_connection_revoke_supported"]
                      }
                    },
                    "auth_guide_url": {"type":"string","nullable":true,"example":"https://composio.dev/auth/github"},
                    "docs_url": {"type":"string","nullable":true},
                    "base_url": {"type":"string","example":"https://api.github.com"},
                    "meta": {
                      "type": "object",
                      "properties": {
                        "created_at": {"type":"string","example":"2023-01-15T09:30:00.000Z"},
                        "updated_at": {"type":"string","example":"2023-05-20T14:45:00.000Z"},
                        "description": {
                          "type": "string",
                          "example": "Integrate with GitHub repositories, issues, pull requests, and more."
                        },
                        "logo": {"type":"string","example":"https://assets.composio.dev/logos/github.png"},
                        "app_url": {"type":"string","nullable":true,"example":"https://github.com"},
                        "categories": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {"type":"string","example":"Developer Tools"},
                              "slug": {"type":"string","example":"developer-tools"}
                            },
                            "required": ["name","slug"]
                          },
                          "example": [
                            {"name":"Developer Tools","slug":"developer-tools"},
                            {"name":"Productivity","slug":"productivity"}
                          ]
                        },
                        "triggers_count": {"type":"number","example":5},
                        "tools_count": {"type":"number","example":12},
                        "version": {"type":"string","example":"20250905_00"},
                        "available_versions": {
                          "type": "array",
                          "items": {"type":"string"},
                          "example": ["20250905_00","20250906_00"]
                        }
                      },
                      "required": [
                        "created_at",
                        "updated_at",
                        "description",
                        "logo",
                        "categories",
                        "triggers_count",
                        "tools_count",
                        "version",
                        "available_versions"
                      ]
                    },
                    "get_current_user_endpoint": {"type":"string"},
                    "get_current_user_endpoint_method": {"type":"string","example":"GET"},
                    "deprecated": {
                      "type": "object",
                      "properties": {
                        "toolkitId": {"type":"string"},
                        "getCurrentUserEndpoint": {"type":"string"},
                        "rawProxyInfoByAuthSchemes": {
                          "type": "array",
                          "items": {"type":"object","additionalProperties":{"nullable":true}}
                        }
                      },
                      "required": ["toolkitId","rawProxyInfoByAuthSchemes"]
                    }
                  },
                  "required": [
                    "slug",
                    "name",
                    "type",
                    "toolkit_type",
                    "enabled",
                    "composio_managed_auth",
                    "is_local_toolkit",
                    "docs_url",
                    "meta",
                    "deprecated"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad request. The toolkit slug may be invalid or in an incorrect format.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "401": {
            "description": "Unauthorized. Authentication is required or the provided credentials are invalid.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "404": {
            "description": "Not found. The requested toolkit does not exist or is not accessible to the authenticated project.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "500": {
            "description": "Internal server error. An unexpect ed error occurred while processing the request.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          }
        }
      }
    },
    "/api/v3.1/auth_configs": {
      "get": {
        "operationId": "getV3_1AuthConfigs",
        "responses": {
          "200": {
            "description": "Successfully fetched auth configs",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {"type":"string","format":"authConfigId"},
                          "uuid": {"type":"string","deprecated":true},
                          "type": {"type":"string","enum":["default","custom"]},
                          "toolkit": {
                            "type": "object",
                            "properties": {
                              "slug": {"type":"string"},
                              "logo": {"type":"string"},
                              "auth_guide_url": {"type":"string","nullable":true},
                              "auth_hint_url": {"type":"string","nullable":true}
                            },
                            "required": ["slug","logo"]
                          },
                          "name": {"type":"string"},
                          "auth_scheme": {
                            "type": "string",
                            "enum": [
                              "OAUTH2",
                              "OAUTH1",
                              "API_KEY",
                              "BASIC",
                              "BILLCOM_AUTH",
                              "BEARER_TOKEN",
                              "GOOGLE_SERVICE_ACCOUNT",
                              "NO_AUTH",
                              "BASIC_WITH_JWT",
                              "CALCOM_AUTH",
                              "SERVICE_ACCOUNT",
                              "SAML",
                              "DCR_OAUTH",
                              "CIMD_OAUTH",
                              "S2S_OAUTH2"
                            ]
                          },
                          "is_composio_managed": {"type":"boolean"},
                          "managed_app_id": {"type":"string","nullable":true},
                          "credentials": {"type":"object","additionalProperties":{"nullable":true}},
                          "proxy_config": {
                            "type": "object",
                            "nullable": true,
                            "properties": {
                              "proxy_url": {"type":"string","format":"uri"},
                              "proxy_auth_key": {"type":"string"}
                            },
                            "required": ["proxy_url"]
                          },
                          "status": {"type":"string","enum":["ENABLED","DISABLED"]},
                          "created_by": {"type":"string"},
                          "created_at": {"type":"string"},
                          "last_updated_at": {"type":"string"},
                          "no_of_connections": {"type":"number"},
                          "expected_input_fields": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "name": {"type":"string"},
                                "displayName": {"type":"string"},
                                "default": {"type":"string","nullable":true},
                                "type": {"type":"string"},
                                "description": {"type":"string"},
                                "required": {"type":"boolean"},
                                "is_secret": {"type":"boolean"},
                                "legacy_template_name": {"type":"string"},
                                "user_visible": {"type":"boolean"},
                                "is_available_as_shared_credentials": {"type":"boolean"}
                              },
                              "required": ["name","displayName","type","description","required","user_visible"]
                            }
                          },
                          "restrict_to_following_tools": {"type":"array","items":{"type":"string"},"deprecated":true},
                          "tool_access_config": {
                            "type": "object",
                            "properties": {
                              "tools_for_connected_account_creation": {
                                "type": "array",
                                "items": {"type":"string"},
                                "default": [],
                                "deprecated": true
                              },
                              "tools_available_for_execution": {
                                "type": "array",
                                "items": {"type":"string"},
                                "default": [],
                                "deprecated": true
                              }
                            },
                            "deprecated": true
                          },
                          "shared_credentials": {
                            "type": "object",
                            "additionalProperties": {"nullable":true},
                            "deprecated": true
                          },
                          "shared_connection_fields": {"type":"object","additionalProperties":{"nullable":true}},
                          "is_enabled_for_tool_router": {"type":"boolean"}
                        },
                        "required": [
                          "id",
                          "uuid",
                          "type",
                          "toolkit",
                          "name",
                          "managed_app_id",
                          "status",
                          "no_of_connections",
                          "tool_access_config"
                        ]
                      }
                    },
                    "next_cursor": {"type":"string","nullable":true},
                    "total_pages": {"type":"number"},
                    "current_page": {"type":"number"},
                    "total_items": {"type":"number"}
                  },
                  "required": ["items","total_pages","current_page","total_items"]
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "401": {
            "description": "Unauthorized",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "404": {
            "description": "Not found",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "500": {
            "description": "Internal server error",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          }
        }
      },
      "post": {
        "operationId": "postV3_1AuthConfigs",
        "responses": {
          "201": {
            "description": "Successfully created auth config",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "toolkit": {"type":"object","properties":{"slug":{"type":"string"}},"required":["slug"]},
                    "auth_config": {
                      "type": "object",
                      "properties": {
                        "id": {"type":"string","format":"authConfigId"},
                        "auth_scheme": {"type":"string"},
                        "is_composio_managed": {"type":"boolean"},
                        "managed_app_id": {"type":"string","nullable":true},
                        "restrict_to_following_tools": {"type":"array","items":{"type":"string"},"default":[],"deprecated":true}
                      },
                      "required": ["id","auth_scheme","is_composio_managed","managed_app_id"]
                    }
                  },
                  "required": ["toolkit","auth_config"]
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "401": {
            "description": "Unauthorized",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "403": {
            "description": "Forbidden - Your role does not allow modifying auth configs",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "404": {
            "description": "Not found",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "500": {
            "description": "Internal server error",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          }
        }
      }
    },
    "/api/v3.1/connected_accounts/link": {
      "post": {
        "operationId": "postV3_1ConnectedAccountsLink",
        "responses": {
          "201": {
            "description": "Successfully created auth link",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "link_token": {"type":"string"},
                    "redirect_url": {"type":"string"},
                    "expires_at": {"type":"string"},
                    "connected_account_id": {"type":"string","format":"connectedAccountId"},
                    "experimental": {
                      "type": "object",
                      "properties": {
                        "account_type": {"type":"string","enum":["PRIVATE","SHARED"],"x-experimental":true},
                        "acl_config_for_shared": {
                          "type": "object",
                          "properties": {
                            "allow_all_users": {"type":"boolean"},
                            "allowed_user_ids": {"type":"array","items":{"type":"string"}},
                            "not_allowed_user_ids": {"type":"array","items":{"type":"string"}}
                          },
                          "required": ["allow_all_users","allowed_user_ids","not_allowed_user_ids"],
                          "x-experimental": true
                        }
                      },
                      "required": ["account_type"],
                      "x-experimental": true
                    }
                  },
                  "required": ["link_token","redirect_url","expires_at","connected_account_id"]
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "401": {
            "description": "Unauthorized",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "403": {
            "description": "Forbidden - Your role does not allow modifying connected accounts",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "404": {
            "description": "Auth config not found",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "429": {
            "description": "Too many requests",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "500": {
            "description": "Internal server error",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "501": {
            "description": "Not implemented",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          }
        }
      }
    },
    "/api/v3.1/connected_accounts": {
      "get": {
        "operationId": "getV3_1ConnectedAccounts",
        "responses": {
          "200": {
            "description": "Successfully retrieved connected accounts",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "toolkit": {
                            "type": "object",
                            "properties": {"slug":{"type":"string"}},
                            "required": ["slug"]
                          },
                          "auth_config": {
                            "type": "object",
                            "properties": {
                              "id": {"type":"string","format":"authConfigId"},
                              "auth_scheme": {
                                "type": "string",
                                "enum": [
                                  "OAUTH2",
                                  "OAUTH1",
                                  "API_KEY",
                                  "BASIC",
                                  "BILLCOM_AUTH",
                                  "BEARER_TOKEN",
                                  "GOOGLE_SERVICE_ACCOUNT",
                                  "NO_AUTH",
                                  "BASIC_WITH_JWT",
                                  "CALCOM_AUTH",
                                  "SERVICE_ACCOUNT",
                                  "SAML",
                                  "DCR_OAUTH",
                                  "CIMD_OAUTH",
                                  "S2S_OAUTH2"
                                ],
                                "deprecated": true
                              },
                              "is_composio_managed": {"type":"boolean"},
                              "is_disabled": {"type":"boolean"}
                            },
                            "required": ["id","auth_scheme","is_composio_managed","is_disabled"]
                          },
                          "id": {"type":"string","format":"connectedAccountId"},
                          "authScheme": {
                            "type": "string",
                            "enum": [
                              "OAUTH2",
                              "OAUTH1",
                              "API_KEY",
                              "BASIC",
                              "BILLCOM_AUTH",
                              "BEARER_TOKEN",
                              "GOOGLE_SERVICE_ACCOUNT",
                              "NO_AUTH",
                              "BASIC_WITH_JWT",
                              "CALCOM_AUTH",
                              "SERVICE_ACCOUNT",
                              "SAML",
                              "DCR_OAUTH",
                              "CIMD_OAUTH",
                              "S2S_OAUTH2"
                            ],
                            "deprecated": true
                          },
                          "word_id": {"type":"string","nullable":true},
                          "alias": {"type":"string","nullable":true},
                          "user_id": {"type":"string","deprecated":true},
                          "status": {
                            "type": "string",
                            "enum": [
                              "INITIALIZING",
                              "INITIATED",
                              "ACTIVE",
                              "FAILED",
                              "EXPIRED",
                              "INACTIVE",
                              "REVOKED"
                            ]
                          },
                          "experimental": {
                            "type": "object",
                            "properties": {
                              "account_type": {"type":"string","enum":["PRIVATE","SHARED"],"x-experimental":true},
                              "acl_config_for_shared": {
                                "type": "object",
                                "properties": {
                                  "allow_all_users": {"type":"boolean"},
                                  "allowed_user_ids": {"type":"array","items":{"type":"string"}},
                                  "not_allowed_user_ids": {"type":"array","items":{"type":"string"}}
                                },
                                "required": ["allow_all_users","allowed_user_ids","not_allowed_user_ids"],
                                "x-experimental": true
                              }
                            },
                            "required": ["account_type"],
                            "x-experimental": true
                          },
                          "created_at": {"type":"string"},
                          "updated_at": {"type":"string"},
                          "state": {
                            "oneOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["OAUTH1"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]},
                                          "oauth_token": {"type":"string"},
                                          "authUri": {"type":"string"},
                                          "oauth_token_secret": {"type":"string"},
                                          "redirectUrl": {"type":"string"},
                                          "callbackUrl": {"type":"string"}
                                        },
                                        "required": [
                                          "status",
                                          "oauth_token",
                                          "authUri",
                                          "oauth_token_secret",
                                          "redirectUrl"
                                        ],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]},
                                          "oauth_token": {"type":"string"},
                                          "oauth_token_secret": {"type":"string"},
                                          "oauth_verifier": {"type":"string"},
                                          "consumer_key": {"type":"string"},
                                          "redirectUrl": {"type":"string"},
                                          "callback_url": {"type":"string"}
                                        },
                                        "required": ["status","oauth_token","oauth_token_secret"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["FAILED"]},
                                          "error": {"type":"string"},
                                          "error_description": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]},
                                          "expired_at": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]},
                                          "oauth_token": {"type":"string"},
                                          "oauth_token_secret": {"type":"string"},
                                          "oauth_verifier": {"type":"string"},
                                          "consumer_key": {"type":"string"},
                                          "redirectUrl": {"type":"string"},
                                          "callback_url": {"type":"string"}
                                        },
                                        "required": ["status","oauth_token","oauth_token_secret"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["OAUTH2"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "code_verifier": {"type":"string"},
                                          "redirectUrl": {"type":"string"},
                                          "callback_url": {"type":"string"},
                                          "finalRedirectUri": {"type":"string"},
                                          "webhook_signature": {"type":"string"}
                                        },
                                        "required": ["status","redirectUrl"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "access_token": {"type":"string"},
                                          "id_token": {"type":"string","nullable":true},
                                          "token_type": {"type":"string"},
                                          "refresh_token": {"type":"string","nullable":true},
                                          "expires_in": {
                                            "anyOf": [{"type":"number"},{"type":"string"},{"nullable":true}]
                                          },
                                          "scope": {
                                            "anyOf": [
                                              {"type":"string"},
                                              {"type":"array","items":{"type":"string"}},
                                              {"nullable":true}
                                            ]
                                          },
                                          "webhook_signature": {"type":"string"},
                                          "authed_user": {
                                            "type": "object",
                                            "properties": {
                                              "access_token": {"type":"string"},
                                              "scope": {"type":"string"}
                                            }
                                          },
                                          "extra_token_data": {"type":"object","additionalProperties":{"nullable":true}}
                                        },
                                        "required": ["status","access_token"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "access_token": {"type":"string"},
                                          "id_token": {"type":"string","nullable":true},
                                          "token_type": {"type":"string"},
                                          "refresh_token": {"type":"string","nullable":true},
                                          "expires_in": {
                                            "anyOf": [{"type":"number"},{"type":"string"},{"nullable":true}]
                                          },
                                          "scope": {
                                            "anyOf": [
                                              {"type":"string"},
                                              {"type":"array","items":{"type":"string"}},
                                              {"nullable":true}
                                            ]
                                          },
                                          "webhook_signature": {"type":"string"},
                                          "authed_user": {
                                            "type": "object",
                                            "properties": {
                                              "access_token": {"type":"string"},
                                              "scope": {"type":"string"}
                                            }
                                          },
                                          "extra_token_data": {"type":"object","additionalProperties":{"nullable":true}}
                                        },
                                        "required": ["status","access_token"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["FAILED"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "error": {"type":"string"},
                                          "error_description": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "expired_at": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["REVOKED"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "revoked_at": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["API_KEY"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]},
                                          "generic_api_key": {"type":"string"},
                                          "api_key": {"type":"string"},
                                          "bearer_token": {"type":"string"},
                                          "basic_encoded": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]},
                                          "generic_api_key": {"type":"string"},
                                          "api_key": {"type":"string"},
                                          "bearer_token": {"type":"string"},
                                          "basic_encoded": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["REVOKED"]},
                                          "generic_api_key": {"type":"string"},
                                          "api_key": {"type":"string"},
                                          "bearer_token": {"type":"string"},
                                          "basic_encoded": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["BASIC"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]},
                                          "username": {"type":"string"},
                                          "password": {"type":"string"}
                                        },
                                        "required": ["status","username"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]},
                                          "username": {"type":"string"},
                                          "password": {"type":"string"}
                                        },
                                        "required": ["status","username"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]},
                                          "expired_at": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["BEARER_TOKEN"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]},
                                          "token": {"type":"string"}
                                        },
                                        "required": ["status","token"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]},
                                          "token": {"type":"string"}
                                        },
                                        "required": ["status","token"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["GOOGLE_SERVICE_ACCOUNT"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]},
                                          "redirectUrl": {"type":"string"},
                                          "composio_link_redirect_url": {"type":"string"}
                                        },
                                        "required": ["status","redirectUrl"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]},
                                          "credentials_json": {"type":"string"}
                                        },
                                        "required": ["status","credentials_json"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]},
                                          "credentials_json": {"type":"string"}
                                        },
                                        "required": ["status","credentials_json"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]},
                                          "expired_at": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["NO_AUTH"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["FAILED"]},
                                          "error": {"type":"string"},
                                          "error_description": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]},
                                          "expired_at": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["CALCOM_AUTH"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["FAILED"]},
                                          "error": {"type":"string"},
                                          "error_description": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]},
                                          "expired_at": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["BILLCOM_AUTH"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]},
                                          "redirectUrl": {"type":"string"}
                                        },
                                        "required": ["status","redirectUrl"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]},
                                          "sessionId": {"type":"string"},
                                          "devKey": {"type":"string"}
                                        },
                                        "required": ["status","sessionId","devKey"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]},
                                          "sessionId": {"type":"string"},
                                          "devKey": {"type":"string"}
                                        },
                                        "required": ["status","sessionId","devKey"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["FAILED"]},
                                          "error": {"type":"string"},
                                          "error_description": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]},
                                          "expired_at": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["BASIC_WITH_JWT"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]},
                                          "username": {"type":"string"},
                                          "password": {"type":"string"}
                                        },
                                        "required": ["status","username","password"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]},
                                          "username": {"type":"string"},
                                          "password": {"type":"string"}
                                        },
                                        "required": ["status","username","password"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["FAILED"]},
                                          "username": {"type":"string"},
                                          "password": {"type":"string"},
                                          "error": {"type":"string"},
                                          "error_description": {"type":"string"}
                                        },
                                        "required": ["status","username","password"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]},
                                          "expired_at": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["SERVICE_ACCOUNT"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]},
                                          "application_id": {"type":"string"},
                                          "installation_id": {"type":"string"},
                                          "private_key": {"type":"string"}
                                        },
                                        "required": ["status","application_id","installation_id","private_key"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]},
                                          "application_id": {"type":"string"},
                                          "installation_id": {"type":"string"},
                                          "private_key": {"type":"string"}
                                        },
                                        "required": ["status","application_id","installation_id","private_key"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["SAML"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["FAILED"]},
                                          "error": {"type":"string"},
                                          "error_description": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]},
                                          "expired_at": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["DCR_OAUTH"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "client_id": {"type":"string"},
                                          "client_secret": {"type":"string"},
                                          "redirectUrl": {"type":"string"},
                                          "callback_url": {"type":"string"},
                                          "finalRedirectUri": {"type":"string"},
                                          "client_id_issued_at": {"type":"number"},
                                          "client_secret_expires_at": {"type":"number"},
                                          "code_verifier": {"type":"string"}
                                        },
                                        "required": ["status","client_id","redirectUrl"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "client_id": {"type":"string"},
                                          "client_secret": {"type":"string"},
                                          "access_token": {"type":"string"},
                                          "id_token": {"type":"string","nullable":true},
                                          "token_type": {"type":"string"},
                                          "refresh_token": {"type":"string","nullable":true},
                                          "expires_in": {
                                            "anyOf": [{"type":"number"},{"type":"string"},{"nullable":true}]
                                          },
                                          "scope": {
                                            "anyOf": [
                                              {"type":"string"},
                                              {"type":"array","items":{"type":"string"}},
                                              {"nullable":true}
                                            ]
                                          },
                                          "client_id_issued_at": {"type":"number"},
                                          "client_secret_expires_at": {"type":"number"}
                                        },
                                        "required": ["status","client_id","access_token"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "client_id": {"type":"string"},
                                          "client_secret": {"type":"string"},
                                          "access_token": {"type":"string"},
                                          "id_token": {"type":"string","nullable":true},
                                          "token_type": {"type":"string"},
                                          "refresh_token": {"type":"string","nullable":true},
                                          "expires_in": {
                                            "anyOf": [{"type":"number"},{"type":"string"},{"nullable":true}]
                                          },
                                          "scope": {
                                            "anyOf": [
                                              {"type":"string"},
                                              {"type":"array","items":{"type":"string"}},
                                              {"nullable":true}
                                            ]
                                          },
                                          "client_id_issued_at": {"type":"number"},
                                          "client_secret_expires_at": {"type":"number"}
                                        },
                                        "required": ["status","client_id","access_token"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["FAILED"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "error": {"type":"string"},
                                          "error_description": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "expired_at": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["CIMD_OAUTH"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "client_id": {"type":"string","format":"uri"},
                                          "redirectUrl": {"type":"string"},
                                          "callback_url": {"type":"string"},
                                          "finalRedirectUri": {"type":"string"},
                                          "code_verifier": {"type":"string"}
                                        },
                                        "required": ["status","client_id","redirectUrl"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "client_id": {"type":"string","format":"uri"},
                                          "access_token": {"type":"string"},
                                          "id_token": {"type":"string","nullable":true},
                                          "token_type": {"type":"string"},
                                          "refresh_token": {"type":"string","nullable":true},
                                          "expires_in": {
                                            "anyOf": [{"type":"number"},{"type":"string"},{"nullable":true}]
                                          },
                                          "scope": {
                                            "anyOf": [
                                              {"type":"string"},
                                              {"type":"array","items":{"type":"string"}},
                                              {"nullable":true}
                                            ]
                                          }
                                        },
                                        "required": ["status","client_id","access_token"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "client_id": {"type":"string","format":"uri"},
                                          "access_token": {"type":"string"},
                                          "id_token": {"type":"string","nullable":true},
                                          "token_type": {"type":"string"},
                                          "refresh_token": {"type":"string","nullable":true},
                                          "expires_in": {
                                            "anyOf": [{"type":"number"},{"type":"string"},{"nullable":true}]
                                          },
                                          "scope": {
                                            "anyOf": [
                                              {"type":"string"},
                                              {"type":"array","items":{"type":"string"}},
                                              {"nullable":true}
                                            ]
                                          }
                                        },
                                        "required": ["status","client_id","access_token"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["FAILED"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "error": {"type":"string"},
                                          "error_description": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]},
                                          "state_prefix": {"type":"string","maxLength":40},
                                          "long_redirect_url": {"type":"boolean"},
                                          "expired_at": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "authScheme": {"type":"string","enum":["S2S_OAUTH2"]},
                                  "val": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIALIZING"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INITIATED"]}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["ACTIVE"]},
                                          "access_token": {"type":"string"},
                                          "token_type": {"type":"string"},
                                          "client_id": {"type":"string"},
                                          "client_secret": {"type":"string"},
                                          "expires_in": {
                                            "anyOf": [{"type":"number"},{"type":"string"},{"nullable":true}]
                                          },
                                          "expires_at": {"type":"string"},
                                          "scope": {
                                            "anyOf": [
                                              {"type":"string"},
                                              {"type":"array","items":{"type":"string"}},
                                              {"nullable":true}
                                            ]
                                          }
                                        },
                                        "required": ["status","access_token"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["INACTIVE"]},
                                          "access_token": {"type":"string"},
                                          "token_type": {"type":"string"},
                                          "client_id": {"type":"string"},
                                          "client_secret": {"type":"string"},
                                          "expires_in": {
                                            "anyOf": [{"type":"number"},{"type":"string"},{"nullable":true}]
                                          },
                                          "expires_at": {"type":"string"},
                                          "scope": {
                                            "anyOf": [
                                              {"type":"string"},
                                              {"type":"array","items":{"type":"string"}},
                                              {"nullable":true}
                                            ]
                                          }
                                        },
                                        "required": ["status","access_token"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["FAILED"]},
                                          "error": {"type":"string"},
                                          "error_description": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "subdomain": {"type":"string"},
                                          "your-domain": {"type":"string"},
                                          "region": {"type":"string"},
                                          "shop": {"type":"string"},
                                          "account_url": {"type":"string"},
                                          "COMPANYDOMAIN": {"type":"string"},
                                          "extension": {"type":"string"},
                                          "form_api_base_url": {"type":"string"},
                                          "instanceEndpoint": {"type":"string"},
                                          "api_url": {"type":"string"},
                                          "borneo_dashboard_url": {"type":"string"},
                                          "proxy_username": {"type":"string"},
                                          "proxy_password": {"type":"string"},
                                          "domain": {"type":"string"},
                                          "version": {"type":"string"},
                                          "dc": {"type":"string"},
                                          "site_name": {"type":"string"},
                                          "instanceName": {"type":"string"},
                                          "account_id": {"type":"string"},
                                          "your_server": {"type":"string"},
                                          "server_location": {"type":"string"},
                                          "base_url": {"type":"string"},
                                          "displayName": {"type":"string"},
                                          "status": {"type":"string","enum":["EXPIRED"]},
                                          "expired_at": {"type":"string"}
                                        },
                                        "required": ["status"],
                                        "additionalProperties": {"nullable":true}
                                      }
                                    ]
                                  }
                                },
                                "required": ["authScheme","val"]
                              }
                            ]
                          },
                          "data": {
                            "type": "object",
                            "additionalProperties": {"nullable":true},
                            "deprecated": true
                          },
                          "status_reason": {"type":"string","nullable":true},
                          "is_disabled": {"type":"boolean"},
                          "test_request_endpoint": {"type":"string"}
                        },
                        "required": [
                          "toolkit",
                          "auth_config",
                          "id",
                          "word_id",
                          "alias",
                          "user_id",
                          "status",
                          "created_at",
                          "updated_at",
                          "state",
                          "data",
                          "status_reason",
                          "is_disabled"
                        ]
                      }
                    },
                    "next_cursor": {"type":"string","nullable":true},
                    "total_pages": {"type":"number"},
                    "current_page": {"type":"number"},
                    "total_items": {"type":"number"}
                  },
                  "required": ["items","total_pages","current_page","total_items"]
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "401": {
            "description": "Unauthorized",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "404": {
            "description": "Not found",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "500": {
            "description": "Internal server error",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          }
        }
      }
    },
    "/api/v3.1/connected_accounts/{nanoid}/revoke": {
      "post": {
        "operationId": "postV3_1ConnectedAccountsByNanoidRevoke",
        "responses": {
          "200": {
            "description": "Connection revoked. `revoked_tokens` reports which subjects were killed at the provider on this call; an empty array indicates the connection was already revoked.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "revoked_tokens": {
                      "type": "array",
                      "items": {"type":"string","enum":["access_token","refresh_token","credential"]}
                    },
                    "connected_account": {
                      "type": "object",
                      "properties": {
                        "id": {"type":"string"},
                        "status": {
                          "type": "string",
                          "enum": [
                            "INITIALIZING",
                            "INITIATED",
                            "ACTIVE",
                            "FAILED",
                            "EXPIRED",
                            "INACTIVE",
                            "REVOKED"
                          ]
                        }
                      },
                      "required": ["id","status"]
                    }
                  },
                  "required": ["revoked_tokens","connected_account"],
                  "example": {
                    "revoked_tokens": ["access_token","refresh_token"],
                    "connected_account": {"id":"ca_1a2b3c4d5e6f","status":"REVOKED"}
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request - non-OAUTH2 auth scheme or toolkit lacks a revoke configuration.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "401": {
            "description": "Unauthorized - Authentication failed",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "403": {
            "description": "Forbidden - Insufficient permissions to revoke this connected account",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "404": {
            "description": "Not found - Connected account does not exist, was deleted, or its parent auth config was removed.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "409": {
            "description": "Conflict - Connection is in a state that cannot be revoked (only ACTIVE / already-REVOKED are accepted).",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "500": {
            "description": "Internal server error - DB failure, data integrity violation, or every upstream dispatch failed.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          }
        }
      }
    },
    "/api/v3.1/connected_accounts/{nanoid}": {
      "delete": {
        "operationId": "deleteV3_1ConnectedAccountsByNanoid",
        "responses": {
          "200": {
            "description": "Successfully deleted the connected account.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {"type":"boolean"},
                    "revoke_job_id": {"type":"string","example":"pj_1a2b3c4d5e6f"}
                  },
                  "required": ["success"],
                  "example": {"success":true}
                }
              }
            }
          },
          "400": {
            "description": "Bad request - Invalid nanoid format or other validation error",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "401": {
            "description": "Unauthorized - Authentication failed",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "403": {
            "description": "Forbidden - Insufficient permissions to delete this connected account",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "404": {
            "description": "Connected account not found - The specified account does not exist or has already been deleted",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "500": {
            "description": "Internal server error - Failed to delete the connected account due to a server-side issue",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          }
        }
      }
    },
    "/api/v3.1/tools": {
      "get": {
        "operationId": "getV3_1Tools",
        "responses": {
          "200": {
            "description": "Successfully retrieved tools list with pagination information",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/ToolsPaginated"}}}
          },
          "400": {
            "description": "Bad request - Invalid query parameters",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "401": {
            "description": "Unauthorized - Authentication credentials are missing or invalid",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "403": {
            "description": "Forbidden - User does not have permission to access tools",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "404": {
            "description": "Not found - The requested resource was not found",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "429": {
            "description": "Too many requests - Rate limit exceeded",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "500": {
            "description": "Internal server error - Something went wrong on the server",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          }
        }
      }
    },
    "/api/v3.1/tools/{tool_slug}": {
      "get": {
        "operationId": "getV3_1ToolsByToolSlug",
        "responses": {
          "200": {
            "description": "Successfully retrieved tool details",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/ToolDetails"}}}
          },
          "400": {
            "description": "Bad request - Invalid tool slug format",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "401": {
            "description": "Unauthorized - Authentication credentials are missing or invalid",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "404": {
            "description": "Not found - Tool with the specified slug does not exist",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "500": {
            "description": "Internal server error - Something went wrong on the server",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          }
        }
      }
    },
    "/api/v3.1/tools/execute/{tool_slug}": {
      "post": {
        "operationId": "postV3_1ToolsExecuteByToolSlug",
        "responses": {
          "200": {
            "description": "Successfully executed action and received response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "additionalProperties": {"nullable":true},
                      "example": {
                        "run_id": 12345678,
                        "status": "queued",
                        "created_at": "2023-01-01T12:00:00Z",
                        "html_url": "https://github.com/octocat/Hello-World/actions/runs/12345678"
                      }
                    },
                    "error": {"type":"string","nullable":true},
                    "successful": {"type":"boolean","example":true},
                    "session_info": {
                      "nullable": true,
                      "example": {"session_id":"session-12345","expires_at":"2023-01-01T13:00:00Z"}
                    },
                    "log_id": {"type":"string","example":"log_1a2b3c4d5e6f"}
                  },
                  "required": ["data","error","successful"]
                }
              }
            }
          },
          "400": {
            "description": "Bad request - Invalid request parameters, missing required arguments, or conflicting parameters",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "401": {
            "description": "Unauthorized - Authentication credentials are missing or invalid",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "402": {
            "description": "Payment required - Wallet balance is exhausted; add credits to resume Instant tool calls or connect your account",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "403": {
            "description": "Forbidden - Connected account does not have permission to execute this tool or access the requested resource",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "404": {
            "description": "Not found - Tool or connected account not found",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "408": {
            "description": "Request timeout - Tool execution exceeded the maximum allowed time",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "410": {
            "description": "Gone - Tool has been deprecated and is no longer available",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "413": {
            "description": "Payload too large - Request or response payload exceeds size limits",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "422": {
            "description": "Unprocessable entity - Invalid state of the connected account",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "429": {
            "description": "Rate limit exceeded - Too many requests to the tool or underlying API",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "500": {
            "description": "Internal server error - Something went wrong on the server",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "501": {
            "description": "Not implemented",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "502": {
            "description": "Bad gateway - Error communicating with the tool provider API",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "503": {
            "description": "Upstream service unavailable - Tool provider API is currently down or unavailable",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          }
        }
      }
    },
    "/api/v3.1/tool_router/session": {
      "post": {
        "operationId": "postV3_1ToolRouterSession",
        "responses": {
          "201": {
            "description": "Session successfully created. Returns the session ID and MCP server URL for the created session.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "session_id": {"type":"string","format":"toolRouterSessionId","example":"trs_1a2b3c4d5e6f"},
                    "mcp": {
                      "type": "object",
                      "properties": {
                        "type": {"type":"string","enum":["http"]},
                        "url": {
                          "type": "string",
                          "format": "uri",
                          "example": "https://app.composio.dev/tool_router/v3/trs_1a2b3c4d5e6f/mcp"
                        }
                      },
                      "required": ["type","url"]
                    },
                    "tool_router_tools": {"type":"array","items":{"type":"string"}},
                    "config": {
                      "type": "object",
                      "properties": {
                        "user_id": {"type":"string"},
                        "toolkits": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "enabled": {"type":"array","items":{"type":"string"}},
                                "require_approval": {"type":"array","items":{"type":"string"},"x-experimental":true}
                              },
                              "required": ["enabled"],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "disabled": {"type":"array","items":{"type":"string"}},
                                "require_approval": {"type":"array","items":{"type":"string"},"x-experimental":true}
                              },
                              "required": ["disabled"],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "require_approval": {"type":"array","items":{"type":"string"},"x-experimental":true}
                              },
                              "required": ["require_approval"],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "auth_configs": {
                          "type": "object",
                          "additionalProperties": {"type":"string","format":"authConfigId"}
                        },
                        "instant": {
                          "anyOf": [
                            {"type":"boolean","enum":[false]},
                            {
                              "type": "object",
                              "properties": {
                                "toolkits": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "properties": {"enabled":{"type":"array","items":{"type":"string"}}},
                                      "required": ["enabled"],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {"disabled":{"type":"array","items":{"type":"string"}}},
                                      "required": ["disabled"],
                                      "additionalProperties": false
                                    }
                                  ]
                                },
                                "tools": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "anyOf": [
                                      {
                                        "type": "object",
                                        "properties": {"enabled":{"type":"array","items":{"type":"string"}}},
                                        "required": ["enabled"],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {"disabled":{"type":"array","items":{"type":"string"}}},
                                        "required": ["disabled"],
                                        "additionalProperties": false
                                      }
                                    ]
                                  }
                                },
                                "return_instant_charge": {"type":"boolean"},
                                "return_prices_in_search": {"type":"boolean","x-experimental":true}
                              },
                              "required": ["return_instant_charge","return_prices_in_search"],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "manage_connections": {
                          "type": "object",
                          "properties": {
                            "enabled": {"type":"boolean","default":true},
                            "callback_url": {"type":"string","format":"uri"},
                            "enable_wait_for_connections": {"type":"boolean","default":false},
                            "enable_connection_removal": {"type":"boolean","default":true}
                          }
                        },
                        "tools": {
                          "type": "object",
                          "additionalProperties": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "enabled": {"type":"array","items":{"type":"string"}},
                                  "require_approval": {"type":"array","items":{"type":"string"},"x-experimental":true}
                                },
                                "required": ["enabled"],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "disabled": {"type":"array","items":{"type":"string"}},
                                  "require_approval": {"type":"array","items":{"type":"string"},"x-experimental":true}
                                },
                                "required": ["disabled"],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "tags": {
                                    "type": "object",
                                    "properties": {
                                      "enabled": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "enum": [
                                            "readOnlyHint",
                                            "createHint",
                                            "updateHint",
                                            "destructiveHint",
                                            "idempotentHint",
                                            "openWorldHint"
                                          ]
                                        }
                                      },
                                      "disabled": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "enum": [
                                            "readOnlyHint",
                                            "createHint",
                                            "updateHint",
                                            "destructiveHint",
                                            "idempotentHint",
                                            "openWorldHint"
                                          ]
                                        }
                                      },
                                      "require_approval": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "enum": [
                                            "readOnlyHint",
                                            "createHint",
                                            "updateHint",
                                            "destructiveHint",
                                            "idempotentHint",
                                            "openWorldHint"
                                          ]
                                        },
                                        "x-experimental": true
                                      }
                                    }
                                  },
                                  "require_approval": {"type":"array","items":{"type":"string"},"x-experimental":true}
                                },
                                "required": ["tags"],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "require_approval": {"type":"array","items":{"type":"string"},"x-experimental":true}
                                },
                                "required": ["require_approval"],
                                "additionalProperties": false
                              }
                            ]
                          }
                        },
                        "tags": {
                          "type": "object",
                          "properties": {
                            "enabled": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "enum": [
                                  "readOnlyHint",
                                  "createHint",
                                  "updateHint",
                                  "destructiveHint",
                                  "idempotentHint",
                                  "openWorldHint"
                                ]
                              }
                            },
                            "disabled": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "enum": [
                                  "readOnlyHint",
                                  "createHint",
                                  "updateHint",
                                  "destructiveHint",
                                  "idempotentHint",
                                  "openWorldHint"
                                ]
                              }
                            },
                            "require_approval": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "enum": [
                                  "readOnlyHint",
                                  "createHint",
                                  "updateHint",
                                  "destructiveHint",
                                  "idempotentHint",
                                  "openWorldHint"
                                ]
                              },
                              "x-experimental": true
                            }
                          }
                        },
                        "workbench": {
                          "type": "object",
                          "properties": {
                            "enable": {"type":"boolean"},
                            "tool_execution_enabled": {"type":"boolean"},
                            "proxy_execution_enabled": {"type":"boolean"},
                            "auto_offload_threshold": {"type":"number","minimum":0,"exclusiveMinimum":true},
                            "sandbox_size": {"type":"string","enum":["standard","medium","large","xlarge"]}
                          },
                          "default": {"enable":true,"proxy_execution_enabled":true}
                        },
                        "multi_account": {
                          "type": "object",
                          "properties": {
                            "enable": {"type":"boolean"},
                            "max_accounts_per_toolkit": {"type":"integer"},
                            "require_explicit_selection": {"type":"boolean"}
                          }
                        },
                        "proxy_execute": {
                          "type": "object",
                          "properties": {"enable":{"type":"boolean"}},
                          "required": ["enable"]
                        },
                        "hooks": {
                          "type": "array",
                          "items": {
                            "oneOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "type": {"type":"string","enum":["before_execute"]},
                                  "id": {"type":"string","pattern":"^[a-z0-9_-]{1,64}$"},
                                  "name": {"type":"string","minLength":1,"maxLength":120},
                                  "applies_to": {
                                    "anyOf": [
                                      {"type":"string","enum":["all"]},
                                      {
                                        "type": "object",
                                        "properties": {
                                          "toolkits": {
                                            "type": "array",
                                            "items": {"type":"string","minLength":1},
                                            "minItems": 1
                                          }
                                        },
                                        "required": ["toolkits"],
                                        "additionalProperties": false
                                      }
                                    ]
                                  },
                                  "handler": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {"type":"string","enum":["condition_check"]},
                                          "condition": {"type":"string","minLength":1,"maxLength":2000},
                                          "action": {"type":"string","enum":["block"]}
                                        },
                                        "required": ["type","condition","action"],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {"type":"string","enum":["webhook"]},
                                          "timeout_ms": {"type":"integer","minimum":100,"maximum":5000},
                                          "fallback_action": {"type":"string","enum":["block","continue"]}
                                        },
                                        "required": ["type","fallback_action"],
                                        "additionalProperties": false
                                      }
                                    ]
                                  }
                                },
                                "required": ["type","id","applies_to","handler"],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {"type":"string","enum":["after_execute"]},
                                  "id": {"type":"string","pattern":"^[a-z0-9_-]{1,64}$"},
                                  "name": {"type":"string","minLength":1,"maxLength":120},
                                  "applies_to": {
                                    "anyOf": [
                                      {"type":"string","enum":["all"]},
                                      {
                                        "type": "object",
                                        "properties": {
                                          "toolkits": {
                                            "type": "array",
                                            "items": {"type":"string","minLength":1},
                                            "minItems": 1
                                          }
                                        },
                                        "required": ["toolkits"],
                                        "additionalProperties": false
                                      }
                                    ]
                                  },
                                  "handler": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {"type":"string","enum":["condition_check"]},
                                          "condition": {"type":"string","minLength":1,"maxLength":2000},
                                          "action": {"type":"string","enum":["block"]}
                                        },
                                        "required": ["type","condition","action"],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {"type":"string","enum":["prompt_injection_check"]},
                                          "action": {"type":"string","enum":["block"]}
                                        },
                                        "required": ["type","action"],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {"type":"string","enum":["webhook"]},
                                          "timeout_ms": {"type":"integer","minimum":100,"maximum":5000},
                                          "fallback_action": {"type":"string","enum":["block","continue"]}
                                        },
                                        "required": ["type","fallback_action"],
                                        "additionalProperties": false
                                      }
                                    ]
                                  }
                                },
                                "required": ["type","id","applies_to","handler"],
                                "additionalProperties": false
                              }
                            ]
                          },
                          "maxItems": 20
                        },
                        "preload": {
                          "type": "object",
                          "properties": {
                            "tools": {
                              "anyOf": [
                                {"type":"array","items":{"type":"string"}},
                                {"type":"string","enum":["all"]}
                              ]
                            }
                          },
                          "required": ["tools"],
                          "additionalProperties": false
                        },
                        "connected_accounts": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "array",
                            "items": {"type":"string","format":"connectedAccountId"},
                            "minItems": 1
                          }
                        },
                        "search": {"type":"object","properties":{"enable":{"type":"boolean","default":true}}},
                        "execute": {
                          "type": "object",
                          "properties": {"enable_multi_execute":{"type":"boolean","default":true}}
                        }
                      },
                      "required": ["user_id","instant","preload","search","execute"]
                    },
                    "config_version": {"type":"integer"},
                    "experimental": {
                      "type": "object",
                      "properties": {
                        "assistive_prompt": {"type":"string"},
                        "custom_toolkits": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "slug": {"type":"string","minLength":1,"pattern":"^[a-zA-Z0-9_-]+$"},
                              "name": {"type":"string","minLength":1,"maxLength":128},
                              "description": {"type":"string","minLength":1,"maxLength":2048},
                              "tools": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "slug": {"type":"string"},
                                    "name": {"type":"string","minLength":1,"maxLength":128},
                                    "description": {"type":"string","minLength":1,"maxLength":5120},
                                    "input_schema": {"type":"object","additionalProperties":{"nullable":true}},
                                    "output_schema": {"type":"object","additionalProperties":{"nullable":true}},
                                    "original_slug": {"type":"string"},
                                    "preload": {"type":"boolean"}
                                  },
                                  "required": ["slug","name","description","input_schema","original_slug"]
                                }
                              },
                              "preload": {"type":"boolean"}
                            },
                            "required": ["slug","name","description","tools"]
                          }
                        },
                        "custom_tools": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "slug": {"type":"string"},
                              "name": {"type":"string","minLength":1,"maxLength":128},
                              "description": {"type":"string","minLength":1,"maxLength":5120},
                              "input_schema": {"type":"object","additionalProperties":{"nullable":true}},
                              "output_schema": {"type":"object","additionalProperties":{"nullable":true}},
                              "extends_toolkit": {"type":"string","minLength":1},
                              "original_slug": {"type":"string"},
                              "preload": {"type":"boolean"}
                            },
                            "required": ["slug","name","description","input_schema","original_slug"]
                          }
                        },
                        "no_elicitation_support_fallback": {"type":"string","enum":["deny","allow"],"x-experimental":true},
                        "source_session_config": {
                          "type": "object",
                          "properties": {"id":{"type":"string","format":"sessionConfigId"}},
                          "required": ["id"],
                          "x-experimental": true
                        }
                      },
                      "x-experimental": true
                    },
                    "warnings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": ["PRELOAD_TOOLS_HIGH_CONTEXT_USAGE"],
                            "example": "PRELOAD_TOOLS_HIGH_CONTEXT_USAGE"
                          },
                          "message": {
                            "type": "string",
                            "example": "Session preloads 25 tools; each preloaded tool adds to the agent context window. Consider keeping the list at or under ~20 tools."
                          }
                        },
                        "required": ["code","message"]
                      },
                      "default": [],
                      "example": [
                        {
                          "code": "PRELOAD_TOOLS_HIGH_CONTEXT_USAGE",
                          "message": "Session preloads 25 tools; each preloaded tool adds to the agent context window. Consider keeping the list at or under ~20 tools."
                        }
                      ]
                    }
                  },
                  "required": ["session_id","mcp","tool_router_tools","config","config_version"]
                }
              }
            }
          },
          "400": {
            "description": "Bad request. This may occur if the user_id format is invalid, toolkit names are invalid, or auth_config_id IDs are malformed.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "401": {
            "description": "Unauthorized. Authentication is required or the provided credentials are invalid.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "403": {
            "description": "Forbidden. The user is not authorized to create a tool router session.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "404": {
            "description": "Not found. The referenced Session config or another requested resource does not exist in this project.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "408": {
            "description": "Request timeout. The session creation took too long to complete.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "429": {
            "description": "Too many requests. The upstream service is rate limiting the request; retry after a short backoff.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          },
          "500": {
            "description": "Internal server error. An unexpected error occurred while processing the request.",
            "content": {"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "DeprecatedToolkitInfo": {
        "type": "object",
        "properties": {"toolkitId":{"type":"string"}},
        "required": ["toolkitId"],
        "deprecated": true,
        "example": {"toolkitId":"550e8400-e29b-41d4-a716-446655440000"}
      },
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "message": {"type":"string"},
              "code": {"type":"number"},
              "slug": {"type":"string"},
              "status": {"type":"number"},
              "request_id": {"type":"string"},
              "suggested_fix": {"type":"string"},
              "errors": {"type":"array","items":{"type":"string"}}
            },
            "required": ["message","code","slug","status"]
          }
        },
        "required": ["error"]
      },
      "InstantAccount": {
        "type": "object",
        "properties": {
          "supported": {"type":"boolean","enum":[true]},
          "price": {"$ref":"#/components/schemas/ToolPricing"}
        },
        "required": ["supported"]
      },
      "Tool": {
        "type": "object",
        "properties": {
          "slug": {"type":"string","example":"GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT"},
          "name": {"type":"string","example":"GitHub Actions"},
          "description": {
            "type": "string",
            "example": "Automate GitHub workflows including CI/CD, issue management, and release processes"
          },
          "toolkit": {
            "type": "object",
            "properties": {
              "slug": {"type":"string","example":"github"},
              "name": {"type":"string","example":"GitHub"},
              "logo": {
                "type": "string",
                "example": "https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png"
              }
            },
            "required": ["slug","name","logo"]
          },
          "input_parameters": {
            "type": "object",
            "additionalProperties": {"nullable":true},
            "example": {
              "repo_name": {
                "type": "string",
                "description": "GitHub repository name in owner/repo format",
                "required": true,
                "example": "octocat/Hello-World"
              },
              "workflow_id": {
                "type": "string",
                "description": "ID or filename of the workflow to trigger",
                "required": true,
                "example": "main.yml"
              }
            }
          },
          "no_auth": {"type":"boolean","example":false},
          "available_versions": {"type":"array","items":{"type":"string"},"example":["20250905_00","20250906_00"]},
          "version": {"type":"string","example":"20250905_00"},
          "instant": {"$ref":"#/components/schemas/InstantAccount"},
          "output_parameters": {
            "type": "object",
            "additionalProperties": {"nullable":true},
            "example": {
              "run_id": {
                "type": "number",
                "description": "ID of the workflow run that was triggered",
                "example": 12345678
              },
              "status": {
                "type": "string",
                "description": "Status of the workflow run",
                "example": "completed",
                "enum": ["queued","in_progress","completed","failed"]
              }
            }
          },
          "scopes": {
            "type": "array",
            "items": {"type":"string"},
            "example": ["https://www.googleapis.com/auth/gmail.modify"]
          },
          "scope_requirements": {
            "type": "object",
            "nullable": true,
            "properties": {
              "all_of": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {"type":"string"},
                    {
                      "type": "object",
                      "properties": {
                        "any_of": {
                          "type": "array",
                          "items": {
                            "anyOf": [
                              {"type":"string"},
                              {
                                "type": "object",
                                "properties": {
                                  "all_of": {"type":"array","items":{"type":"string"},"minItems":1},
                                  "source": {
                                    "type": "array",
                                    "items": {"type":"string","minLength":1},
                                    "minItems": 1
                                  }
                                },
                                "required": ["all_of"]
                              }
                            ]
                          },
                          "minItems": 1
                        },
                        "when": {
                          "type": "object",
                          "additionalProperties": {"type":"array","items":{"type":"string"},"minItems":1}
                        },
                        "source": {"type":"array","items":{"type":"string","minLength":1},"minItems":1}
                      },
                      "required": ["any_of"]
                    }
                  ]
                }
              },
              "source": {"type":"array","items":{"type":"string","minLength":1},"minItems":1}
            },
            "required": ["all_of"],
            "example": {"all_of":["read:user",{"any_of":["repo","public_repo"]}]}
          },
          "tags": {
            "type": "array",
            "items": {"type":"string"},
            "example": ["ci-cd","github","automation","devops"]
          },
          "human_description": {"type":"string","example":"Create a new issue in a GitHub repository"},
          "is_deprecated": {"type":"boolean","example":false},
          "deprecated": {
            "type": "object",
            "properties": {
              "displayName": {"type":"string","example":"GitHub Actions"},
              "version": {"type":"string","example":"20250905_00"},
              "available_versions": {"type":"array","items":{"type":"string"},"example":["20250905_00","20250906_00"]},
              "is_deprecated": {"type":"boolean","example":false},
              "toolkit": {
                "type": "object",
                "properties": {
                  "logo": {
                    "type": "string",
                    "example": "https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png"
                  }
                },
                "required": ["logo"]
              }
            },
            "required": ["displayName","version","available_versions","is_deprecated","toolkit"]
          }
        },
        "required": [
          "slug",
          "name",
          "description",
          "toolkit",
          "input_parameters",
          "no_auth",
          "available_versions",
          "version",
          "output_parameters",
          "scopes",
          "scope_requirements",
          "tags",
          "is_deprecated",
          "deprecated"
        ]
      },
      "ToolDetails": {
        "type": "object",
        "properties": {
          "slug": {"type":"string","example":"GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT"},
          "name": {"type":"string","example":"GitHub Actions"},
          "description": {
            "type": "string",
            "example": "Automate GitHub workflows including CI/CD, issue management, and release processes"
          },
          "toolkit": {
            "type": "object",
            "properties": {
              "slug": {"type":"string","example":"github"},
              "name": {"type":"string","example":"GitHub"},
              "logo": {
                "type": "string",
                "example": "https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png"
              }
            },
            "required": ["slug","name","logo"]
          },
          "input_parameters": {
            "type": "object",
            "additionalProperties": {"nullable":true},
            "example": {
              "repo_name": {
                "type": "string",
                "description": "GitHub repository name in owner/repo format",
                "required": true,
                "example": "octocat/Hello-World"
              },
              "workflow_id": {
                "type": "string",
                "description": "ID or filename of the workflow to trigger",
                "required": true,
                "example": "main.yml"
              }
            }
          },
          "no_auth": {"type":"boolean","example":false},
          "available_versions": {"type":"array","items":{"type":"string"},"example":["20250905_00","20250906_00"]},
          "version": {"type":"string","example":"20250905_00"},
          "instant": {"$ref":"#/components/schemas/InstantAccount"},
          "output_parameters": {
            "type": "object",
            "additionalProperties": {"nullable":true},
            "example": {
              "run_id": {
                "type": "number",
                "description": "ID of the workflow run that was triggered",
                "example": 12345678
              },
              "status": {
                "type": "string",
                "description": "Status of the workflow run",
                "example": "completed",
                "enum": ["queued","in_progress","completed","failed"]
              }
            }
          },
          "scopes": {
            "type": "array",
            "items": {"type":"string"},
            "example": ["https://www.googleapis.com/auth/gmail.modify"]
          },
          "scope_requirements": {
            "type": "object",
            "nullable": true,
            "properties": {
              "all_of": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {"type":"string"},
                    {
                      "type": "object",
                      "properties": {
                        "any_of": {
                          "type": "array",
                          "items": {
                            "anyOf": [
                              {"type":"string"},
                              {
                                "type": "object",
                                "properties": {
                                  "all_of": {"type":"array","items":{"type":"string"},"minItems":1},
                                  "source": {
                                    "type": "array",
                                    "items": {"type":"string","minLength":1},
                                    "minItems": 1
                                  }
                                },
                                "required": ["all_of"]
                              }
                            ]
                          },
                          "minItems": 1
                        },
                        "when": {
                          "type": "object",
                          "additionalProperties": {"type":"array","items":{"type":"string"},"minItems":1}
                        },
                        "source": {"type":"array","items":{"type":"string","minLength":1},"minItems":1}
                      },
                      "required": ["any_of"]
                    }
                  ]
                }
              },
              "source": {"type":"array","items":{"type":"string","minLength":1},"minItems":1}
            },
            "required": ["all_of"],
            "example": {"all_of":["read:user",{"any_of":["repo","public_repo"]}]}
          },
          "tags": {
            "type": "array",
            "items": {"type":"string"},
            "example": ["ci-cd","github","automation","devops"]
          },
          "human_description": {"type":"string","example":"Create a new issue in a GitHub repository"},
          "is_deprecated": {"type":"boolean","example":false},
          "deprecated": {
            "type": "object",
            "properties": {
              "displayName": {"type":"string","example":"GitHub Actions"},
              "version": {"type":"string","example":"20250905_00"},
              "available_versions": {"type":"array","items":{"type":"string"},"example":["20250905_00","20250906_00"]},
              "is_deprecated": {"type":"boolean","example":false},
              "toolkit": {
                "type": "object",
                "properties": {
                  "logo": {
                    "type": "string",
                    "example": "https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png"
                  }
                },
                "required": ["logo"]
              }
            },
            "required": ["displayName","version","available_versions","is_deprecated","toolkit"]
          }
        },
        "required": [
          "slug",
          "name",
          "description",
          "toolkit",
          "input_parameters",
          "no_auth",
          "available_versions",
          "version",
          "output_parameters",
          "scopes",
          "scope_requirements",
          "tags",
          "is_deprecated",
          "deprecated"
        ]
      },
      "ToolPricing": {
        "type": "object",
        "properties": {"description":{"type":"string"},"discount":{"type":"string","nullable":true}},
        "additionalProperties": false
      },
      "ToolsPaginated": {
        "type": "object",
        "properties": {
          "items": {"type":"array","items":{"$ref":"#/components/schemas/Tool"}},
          "next_cursor": {"type":"string","nullable":true},
          "total_pages": {"type":"number"},
          "current_page": {"type":"number"},
          "total_items": {"type":"number"}
        },
        "required": ["items","total_pages","current_page","total_items"]
      }
    }
  }
}