{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-express-route/json-schema/microsoft-azure-express-route-bgp-service-community-list-result-schema.json",
  "title": "BgpServiceCommunityListResult",
  "description": "The response of a BgpServiceCommunity list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-express-route-bgpservicecommunities-api-openapi.yml#/components/schemas/BgpServiceCommunityListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The BgpServiceCommunity items on this page",
      "items": {
        "$ref": "#/$defs/BgpServiceCommunity"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "BGPCommunity": {
      "type": "object",
      "description": "Contains bgp community information offered in Service Community resources.",
      "properties": {
        "serviceSupportedRegion": {
          "type": "string",
          "description": "The region which the service support. e.g. For O365, region is Global."
        },
        "communityName": {
          "type": "string",
          "description": "The name of the bgp community. e.g. Skype."
        },
        "communityValue": {
          "type": "string",
          "description": "The value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing."
        },
        "communityPrefixes": {
          "type": "array",
          "description": "The prefixes that the bgp community contains.",
          "items": {
            "type": "string"
          }
        },
        "isAuthorizedToUse": {
          "type": "boolean",
          "description": "Customer is authorized to use bgp community or not."
        },
        "serviceGroup": {
          "type": "string",
          "description": "The service group of the bgp community contains."
        }
      }
    },
    "BgpServiceCommunity": {
      "type": "object",
      "description": "Service Community Properties.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/BgpServiceCommunityPropertiesFormat",
          "description": "Properties of the BGP service community.",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "BgpServiceCommunityPropertiesFormat": {
      "type": "object",
      "description": "Properties of Service Community.",
      "properties": {
        "serviceName": {
          "type": "string",
          "description": "The name of the bgp community. e.g. Skype."
        },
        "bgpCommunities": {
          "type": "array",
          "description": "A list of bgp communities.",
          "items": {
            "$ref": "#/$defs/BGPCommunity"
          }
        }
      }
    },
    "Resource": {
      "type": "object",
      "description": "Common resource representation.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource ID."
        },
        "name": {
          "type": "string",
          "description": "Resource name.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Resource type.",
          "readOnly": true
        },
        "location": {
          "type": "string",
          "description": "Resource location."
        },
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "x-ms-azure-resource": true
    }
  }
}