You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clarify phone type validation limitations and international support
- Added Important Limitation section explaining that valid only checks area code/exchange
- Clarified that the line portion (last 4 digits) is not verified for connectivity
- Recommended third-party services (Trestle, Telesign, BriteVerify) for deliverability
- Corrected international number handling - they return valid: false, not parsed
- Added "What It Does NOT Verify" section listing connectivity limitations
- Updated geographic limitation to be clearer about international numbers
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Copy file name to clipboardExpand all lines: Reference.md
+37-6Lines changed: 37 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -547,7 +547,24 @@ Parses numeric values from strings, handling currency symbols and thousands sepa
547
547
548
548
### Phone Type
549
549
550
-
Comprehensive phone number parsing for US/Canada numbers with component extraction.
550
+
Comprehensive phone number parsing and validation for US/Canada numbers with real-world verification.
551
+
552
+
**Geographic Limitation**: Currently only supports US and Canadian phone numbers. International numbers from other countries will be marked as invalid (valid: false) and will not parse correctly, even if they have a valid format in their home country.
553
+
554
+
**Advanced Validation**: The `valid` property indicates more than just format correctness - it verifies:
555
+
- The area code is a real, assigned area code
556
+
- The exchange is a real exchange within that area code
557
+
- The area code and exchange legitimately belong together
558
+
- The number follows valid North American Numbering Plan rules
559
+
560
+
This means a phone number like "(999) 555-1234" would be invalid even though the format is correct, because 999 is not a real area code.
561
+
562
+
**What It Does NOT Verify**: The validation does NOT check if:
563
+
- The complete 10-digit number is actually connected/in service
564
+
- The line (last 4 digits) is valid for that area code and exchange
565
+
- The number can receive calls or texts
566
+
567
+
A number can pass type validation but still be disconnected or undeliverable.
551
568
552
569
**Components:**
553
570
- Raw: Unmodified value
@@ -572,11 +589,15 @@ Comprehensive phone number parsing for US/Canada numbers with component extracti
-`"(512) 999-1111"` (invalid exchange for 512 area code)
602
628
603
629
**Field Examples:** Phone 1, Phone 2, Mobile Phone, Work Phone
604
630
@@ -608,6 +634,8 @@ International:
608
634
- Format for display: `{{Phone 1 > Area}}-{{Phone 1 > Exchange}}-{{Phone 1 > Line}}`
609
635
- Check validity: `Phone 1 > Valid is true`
610
636
637
+
**Important Limitation**: The `valid` property only confirms the area code and exchange are legitimate - it does NOT verify the full number is connected or deliverable. The "line" portion (last 4 digits) could still be invalid or disconnected. For true deliverability verification, use third-party Add-On services like Trestle, Telesign, or BriteVerify in a flow step to collect carrier-level metadata, then evaluate the appended data in a subsequent filter step to block disconnected numbers.
638
+
611
639
---
612
640
613
641
### Postal Code Type
@@ -1138,6 +1166,9 @@ This ensures sensitive data can be used for processing (validation, delivery to
1138
1166
- Normalizes to lowercase
1139
1167
1140
1168
**Phone**:
1169
+
- Validates actual area codes and exchanges (not just format)
1170
+
- Verifies area code/exchange combinations are real
0 commit comments