{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-number-list-schema.json",
  "title": "NumberList",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sinch-applications-api-openapi.yml#/components/schemas/NumberList",
  "type": "object",
  "properties": {
    "numbers": {
      "type": "array",
      "description": "List of phone numbers",
      "items": {
        "$ref": "#/$defs/NumberConfiguration"
      }
    }
  },
  "$defs": {
    "NumberConfiguration": {
      "type": "object",
      "properties": {
        "number": {
          "type": "string",
          "description": "The phone number in E.164 format"
        },
        "applicationKey": {
          "type": "string",
          "description": "The application key the number is assigned to"
        },
        "capability": {
          "type": "string",
          "enum": [
            "voice",
            "sms"
          ],
          "description": "The number capability"
        }
      }
    }
  }
}