Skip to content

Phone

A phone number.

PropertyTypeRequiredDescription
countryCodestringYesThe international country code (e.g., "+1" for US/Canada).
numberstringYesThe local phone number without the country code.
extensionstringNoOptional extension number for the phone line.
isMobilebooleanNoIndicates whether this is a mobile/cell phone number.

A JSON example of this model.

{
"countryCode": "+1",
"number": "555-123-4567",
"extension": "123",
"isMobile": false
}
VersionChangesSchema
0.2.0
  • Added Phone model
Phone.yaml

A collection of phone numbers for a person or organization.

PropertyTypeRequiredDescription
primaryPhoneYesThe person's primary phone number.
faxPhoneNoThe person's fax number, if applicable.
otherPhonesrecord<Phone>NoAdditional 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
}
}
}
VersionChangesSchema
0.2.0
  • Added PhoneCollection model
PhoneCollection.yaml