{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-bot-framework/json-schema/microsoft-bot-framework-connection-setting-response-list-schema.json",
  "title": "ConnectionSettingResponseList",
  "description": "The list of bot service connection settings response.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-bot-framework-botconnection-api-openapi.yml#/components/schemas/ConnectionSettingResponseList",
  "properties": {
    "nextLink": {
      "description": "The link used to get the next page of bot service connection setting resources.",
      "type": "string"
    },
    "value": {
      "readOnly": true,
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConnectionSetting"
      },
      "description": "Gets the list of bot service connection settings and their properties."
    }
  },
  "$defs": {
    "ConnectionSetting": {
      "type": "object",
      "description": "Bot channel resource definition",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ],
      "properties": {
        "properties": {
          "$ref": "#/$defs/ConnectionSettingProperties",
          "description": "The set of properties specific to bot channel resource"
        }
      }
    },
    "ConnectionSettingParameter": {
      "properties": {
        "key": {
          "type": "string",
          "description": "Key for the Connection Setting Parameter."
        },
        "value": {
          "type": [
            "string",
            "null"
          ],
          "description": "Value associated with the Connection Setting Parameter."
        }
      },
      "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties"
    },
    "ConnectionSettingProperties": {
      "properties": {
        "id": {
          "type": "string",
          "description": "Id of the Connection Setting."
        },
        "name": {
          "type": "string",
          "description": "Name of the Connection Setting."
        },
        "clientId": {
          "type": "string",
          "description": "Client Id associated with the Connection Setting."
        },
        "settingId": {
          "type": "string",
          "description": "Setting Id set by the service for the Connection Setting.",
          "readOnly": true
        },
        "clientSecret": {
          "x-ms-secret": true,
          "type": "string",
          "description": "Client Secret associated with the Connection Setting"
        },
        "scopes": {
          "type": "string",
          "description": "Scopes associated with the Connection Setting",
          "default": ""
        },
        "serviceProviderId": {
          "type": "string",
          "description": "Service Provider Id associated with the Connection Setting"
        },
        "serviceProviderDisplayName": {
          "type": "string",
          "description": "Service Provider Display Name associated with the Connection Setting"
        },
        "parameters": {
          "type": "array",
          "description": "Service Provider Parameters associated with the Connection Setting",
          "items": {
            "$ref": "#/$defs/ConnectionSettingParameter"
          }
        },
        "provisioningState": {
          "type": "string",
          "description": "Provisioning state of the resource"
        }
      },
      "description": "Properties for a Connection Setting Item"
    },
    "Kind": {
      "type": "string",
      "description": "Indicates the type of bot service",
      "enum": [
        "sdk",
        "designer",
        "bot",
        "function",
        "azurebot"
      ],
      "x-ms-enum": {
        "name": "Kind",
        "modelAsString": true
      },
      "x-ms-mutability": [
        "create",
        "read"
      ]
    },
    "Resource": {
      "description": "Azure resource",
      "x-ms-azure-resource": true,
      "properties": {
        "id": {
          "description": "Specifies the resource ID.",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Specifies the name of the resource.",
          "type": "string",
          "readOnly": true
        },
        "location": {
          "description": "Specifies the location of the resource.",
          "type": "string"
        },
        "type": {
          "description": "Specifies the type of the resource.",
          "type": "string",
          "readOnly": true
        },
        "tags": {
          "description": "Contains resource tags defined as key/value pairs.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "sku": {
          "$ref": "#/$defs/Sku",
          "description": "Gets or sets the SKU of the resource."
        },
        "kind": {
          "$ref": "#/$defs/Kind",
          "description": "Required. Gets or sets the Kind of the resource."
        },
        "etag": {
          "type": "string",
          "description": "Entity Tag."
        },
        "zones": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Entity zones",
          "readOnly": true
        }
      }
    },
    "Sku": {
      "properties": {
        "name": {
          "$ref": "#/$defs/SkuName",
          "description": "The sku name"
        },
        "tier": {
          "readOnly": true,
          "type": "string",
          "description": "Gets the sku tier. This is based on the SKU name.",
          "enum": [
            "Free",
            "Standard"
          ],
          "x-ms-enum": {
            "name": "SkuTier",
            "modelAsString": true
          }
        }
      },
      "required": [
        "name"
      ],
      "description": "The SKU of the cognitive services account."
    },
    "SkuName": {
      "type": "string",
      "description": "The name of SKU.",
      "enum": [
        "F0",
        "S1"
      ],
      "x-ms-enum": {
        "name": "SkuName",
        "modelAsString": true
      }
    }
  }
}