Skip to content

Phone

A phone number.

PropertyTypeRequiredDescription
countryCode string Yes The international country code (e.g., "+1" for US/Canada).
number string Yes The local phone number without the country code.
extension string No Optional extension number for the phone line.
isMobile boolean No Indicates whether this is a mobile/cell phone number.

A JSON example of this model.

{
"countryCode": "+1",
"number": "555-123-4567",
"extension": "123",
"isMobile": false
}
Version Changes
0.1.0
  • Added Phone model

A collection of phone numbers for a person or organization.

PropertyTypeRequiredDescription
primary Phone Yes The person's primary phone number.
fax Phone No The person's fax number, if applicable.
otherPhones record<Phone> No Additional phone numbers not covered by the standard fields.

A JSON example of this model.

{
"primary": {
"countryCode": "+1",
"number": "444-456-1230",
"isMobile": true
},
"fax": {
"countryCode": "+1",
"number": "555-123-4567",
"extension": "123",
"isMobile": false
},
"otherPhones": {
"support": {
"countryCode": "+1",
"number": "333-456-1230",
"isMobile": false
},
"marketing": {
"countryCode": "+1",
"number": "444-456-1230",
"isMobile": true
}
}
}
Version Changes
0.1.0
  • Added PhoneCollection model