{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bandwidth/main/json-schema/bandwidth-endpoint-list-response-schema.json",
  "title": "EndpointListResponse",
  "description": "Response containing a list of E911 endpoints",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bandwidth-endpoints-api-openapi.yml#/components/schemas/EndpointListResponse",
  "type": "object",
  "properties": {
    "totalCount": {
      "type": "integer",
      "description": "Total number of endpoints"
    },
    "endpoints": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Endpoint"
      }
    }
  },
  "$defs": {
    "Endpoint": {
      "type": "object",
      "description": "An E911 endpoint representing an end user",
      "properties": {
        "endpointId": {
          "type": "string",
          "description": "The unique identifier for the endpoint"
        },
        "alternateEndUserId": {
          "type": "string",
          "description": "The Alternate End User ID (AEUI) that identifies the end user"
        },
        "callerName": {
          "type": "string",
          "description": "The name of the end user for PSAP display"
        },
        "locationId": {
          "type": "string",
          "description": "The ID of the validated location associated with this endpoint"
        },
        "telephoneNumber": {
          "type": "string",
          "description": "The phone number associated with this endpoint"
        },
        "activated": {
          "type": "boolean",
          "description": "Whether the endpoint is currently active"
        }
      }
    }
  }
}