Social Profiles, E-mail Address, URLs, Phone Numbers, and Addresses

Social Profiles, E-mail Address, URLs, Phone Numbers, and Addresses are similar minor objects that contacts and companies have.

Though they are similar, they are separate types because we apply different restrictions in each case.

🚧

Note Length

E-mail address and URLs include a note field. This field has an arbitrary character limit of 500 characters, which should be more than generous for proper use. This limit may decrease in the future.

Social Profiles

Social profiles are links to social networks (like Facebook, Twitter, or LinkedIn) and instant messaging addresses (like Skype, AIM, Jabber).

Attribute NameTypeDescriptionAttributes
labelstringA Label to give broad context to the social profile.Read-Write
Non-null
servicestringSocial network name (e.g. Facebook, Twitter).Read-Write
Non-null
usernamestringRead-Write
Non-null

E-mail Addresses

Attribute NameTypeDescriptionAttributes
labelstringA Label to give broad context to the e-mail address.Read-Write
Non-null
addressstringAn email address.Read-Write
Non-null
notestringArbitrary additional notes related to the URL.Read-Write
Nullable

URLs

Attribute NameTypeDescriptionAttributes
labelstringA Label to give broad context to the URL.Read-Write
Non-null
urlstringA URI string, which should be RFC 3986 compliant.Read-Write
Non-null
notestringArbitrary additional notes related to the URL.Read-Write
Nullable

Phone Numbers

Attribute NameTypeDescriptionAttributes
labelstringA label to give broad context to the phone number (e.g. Home, Mobile).Read-Write
Non-null
formatstringFormat of the phone number. Either free-form or E.164. E164 the preferred formatting. If the number can't be expressed in E.164 you use free-form and Daylite won't attempt to parse it.Read-Write
Nullable
numberstringThe phone number as a string in the format specified in format.Read-Write
Non-null
notestringNote about the phone number.Read-Write
Nullable
šŸ“˜

Phone Number Formatting

Phone numbers are formatted with the E.164 standard.

Example: `<+><country code><subscriber number including area code>

Addresses

Attribute NameTypeDescriptionAttributes
labelstringA label to give broad context to the address (e.g. Home, Work, Office).Read-Write
Non-null
streetstringStreet number and name.Read-Write
Nullable
citystringCity/Town/Village/etc. name.Read-Write
Nullable
statestringState/Province/County/etc. name.Read-Write
Nullable
postal_codestringPostal/Zip Code.Read-Write
Nullable
countrystringCountry name.Read-Write
Nullable
notestringAdditional details related to the address.Read-Write
Nullable
šŸ“˜

Validation

Even though all address components are optional, a valid address requires at least one of street, city, state, postal_code, or country to be a non-empty string.