{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/immutable/main/json-schema/immutable-phone-number-otpverification-request-schema.json",
  "title": "PhoneNumberOTPVerificationRequest",
  "description": "Phone number OTP verification request",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/immutable-passport-profile-api-openapi.yml#/components/schemas/PhoneNumberOTPVerificationRequest",
  "type": "object",
  "required": [
    "phone_number",
    "code"
  ],
  "properties": {
    "phone_number": {
      "$ref": "#/$defs/PhoneNumber"
    },
    "code": {
      "$ref": "#/$defs/PhoneNumberOTP"
    }
  },
  "$defs": {
    "PhoneNumber": {
      "description": "Phone number",
      "type": "string",
      "minLength": 3,
      "maxLength": 50
    },
    "PhoneNumberOTP": {
      "description": "Phone number verification OTP",
      "type": "string",
      "maxLength": 6,
      "minLength": 6
    }
  }
}