{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telstra/main/json-schema/telstra-number-verification-request-body-schema.json",
  "title": "NumberVerificationRequestBody",
  "description": "Payload to verify the phone number.",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telstra-number-verification-api-openapi.yml#/components/schemas/NumberVerificationRequestBody",
  "type": "object",
  "minProperties": 1,
  "maxProperties": 1,
  "properties": {
    "phoneNumber": {
      "type": "string",
      "pattern": "^\\+[1-9][0-9]{4,14}$",
      "description": "A public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'."
    },
    "hashedPhoneNumber": {
      "description": "Hashed phone number. SHA-256 (in hexadecimal representation) of the mobile phone number in **E.164 format (starting with country code)**. Prefixed with '+'.",
      "type": "string"
    }
  }
}