{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-proxyphonenumberrequest-schema.json",
  "title": "ProxyPhoneNumberRequest",
  "x-generated": "2026-09-17",
  "x-method": "derived",
  "x-source": "openapi/grubhub-connect-endpoints-openapi.yml#/components/schemas/ProxyPhoneNumberRequest",
  "required": [
    "caller"
  ],
  "type": "object",
  "properties": {
    "caller": {
      "$ref": "#/$defs/PhoneContactDetails"
    }
  },
  "description": "A request used to create a phone bridge between a caller and courier.",
  "$defs": {
    "PhoneContactDetails": {
      "required": [
        "phone_number"
      ],
      "type": "object",
      "properties": {
        "phone_number": {
          "pattern": "^\\+\\d{11}$",
          "type": "string",
          "description": "A E.164 formatted phone number. Only 11-digits are supported.",
          "example": "+16145552332"
        }
      },
      "description": "The phone contact details."
    }
  }
}