StructContact

Description

This object stores all information about a contact.

Variables

  • firstName string (30)
    Firstname of the contact (See regex #1 for syntax).
  • lastName string (30)
    Lastname of the contact (See regex #1 for syntax).
  • bodyForm string (3)
    Contact type (“IND” for individual person, “ORG” for any kind of legal entities).
  • bodyName string (100)
    Organization name (if bodyform=ORG. See regex #2 for syntax).
  • address1 string (80)
    Contact address (See regex #3 for syntax).
  • address2 string (80)
    Additional contact address (Optional. See regex #3 for syntax).
  • zipCode string (10)
    Postal code.
  • area string (5)
    Area/Province/State code (Mandatory for some countries, see ISO 3166-2).
  • city string (30)
    City (See regex #3 for syntax).
  • country string (3)
    Country code (ISO 3166-1)
  • phone string (17)
    Phone number in international format (+xx xxxxxxxxxx).
  • fax string (17)
    Fax number in international format (+xx xxxxxxxxxx / Optional).
  • email string (255)
    email address.
  • language string (2)
    Language (FR / EN).
  • isOwner int (1)
    Is it an owner ? (0 / 1).

Regex

#1 – Allowed characters
“abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
àáâãäåāăąæçćĉċčďđèéêëēĕėęěĝġģĥħ
ìíîïĩīĭįıĵķĺļľŀłñńņňʼnòóôõöōŏőøœŕŗřśŝšșťŧț
ùúûüũūŭůűųŵýÿŷźżžßÀÁÂÃÄÅĀĂĄ
ÆÇĆĈĊČĎĐÈÉÊËĒĔ
ĖĘĚĜĠĢĤĦÌÍÎÏĨĪĬĮI
ĴĶĹĻĽĿŁÑŃŅŇÒÓÔÕÖŌŎŐØŒŔŖŘŚ
ŜŠȘŤŦȚÙÚ
ÛÜŨŪŬŮŰŲŴÝŸŶŹŻŽ
[space] – ‘ ” are accepted:

^[a-zA-Zàáâãäåāăąæçćĉċčďđèéêëēĕėęěĝġģĥħìíîïĩīĭįıĵķĺļľŀłñńņňʼnòóôõöōŏőøœŕŗřśŝšșťŧț
úûüũūŭůűųŵýÿŷźżžßÀÁÂÃÄÅĀĂĄÆÇĆĈĊČĎĐÈÉÊËĒĔĖĘĚĜĠĢĤĦÌÍÎÏĨĪĬĮIĴĶĹĻĽĿŁÑŃŅŇÒÓÔÕÖŌŎŐØŒŔŖŘŚŜŠȘŤŦȚÙÚÛÜŨŪŬŮŰŲŴÝŸŶ
ŹŻŽ\ \-\']{0,30}$

#2 – Allowed characters
“0123456789
abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
àáâãäåāăąæçćĉċčďđèéêëēĕėęěĝġģĥħ
ìíîïĩīĭįıĵķĺļľŀłñńņňʼnòóôõöōŏőøœŕŗřśŝšșťŧț
ùúûüũūŭůűųŵýÿŷźżžßÀÁÂÃÄÅĀĂĄ
ÆÇĆĈĊČĎĐÈÉÊËĒĔĖĘĚĜĠĢĤĦÌÍÎÏĨĪĬĮI
ĴĶĹĻĽĿŁÑŃŅŇÒÓÔÕÖŌŎŐØŒŔŖŘ
ŚŜŠȘŤŦȚÙÚÛÜŨŪŬŮŰŲŴÝŸŶŹŻŽ
& [space] – , . ‘ / ” are accepted:

^[0-9a-zA-Zàáâãäåāăąæçćĉċčďđèéêëēĕėęěĝġģĥħìíîïĩīĭįıĵķĺļľŀłñńņňʼnòóôõöōŏőøœŕŗřśŝšș
ťŧțúûüũūŭůűųŵýÿŷźżžßÀÁÂÃÄÅĀĂĄÆÇĆĈĊČĎĐÈÉÊËĒĔĖĘĚĜĠĢĤĦÌÍÎÏĨĪĬĮIĴĶĹĻĽĿŁÑŃŅŇÒÓÔÕÖŌŎŐØŒŔŖŘŚŜŠȘŤŦȚÙÚÛÜŨŪŬŮŰŲŴ
ÝŸŶŹŻŽ&\ \-\,\.\'\/]{0,100}$

#3 – Allowed characters
“0123456789
abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
àáâãäåāăąæçćĉċčďđèéêëēĕėęěĝġģĥħ
ìíîïĩīĭįıĵķĺļľŀłñńņňʼnòóôõöōŏőøœŕŗřśŝšșťŧț
ùúûüũūŭůűųŵýÿŷźżžßÀÁÂÃÄÅĀĂĄ
ÆÇĆĈĊČĎĐÈÉÊËĒĔĖĘĚĜĠĢĤĦÌÍÎÏĨĪĬĮI
ĴĶĹĻĽĿŁÑŃŅŇÒÓÔÕÖŌŎŐØŒŔŖŘ
ŚŜŠȘŤŦȚÙÚÛÜŨŪŬŮŰŲŴÝŸŶŹŻŽ
& [space] – , . ‘ / ” are accepted:

^[0-9a-zA-Zàáâãäåāăąæçćĉċčďđèéêëēĕėęěĝġģĥħìíîïĩīĭįıĵķĺļľŀłñńņňʼnòóôõöōŏőøœŕŗřśŝšș
ťŧțúûüũūŭůűųŵýÿŷźżžßÀÁÂÃÄÅĀĂĄÆÇĆĈĊČĎĐÈÉÊËĒĔĖĘĚĜĠĢĤĦÌÍÎÏĨĪĬĮIĴĶĹĻĽĿŁÑŃŅŇÒÓÔÕÖŌŎŐØŒŔŖŘŚŜŠȘŤŦȚÙÚÛÜŨŪŬŮŰŲŴ
ÝŸŶŹŻŽ&\ \-\,\.\'\/]{0,80}$

Additional information

These informations may be required by semantic rules of each extension. Mainly used for a “Owner” type of contact, they may also be necessary for administrative or technical contact.

For their use and the expected syntax, please refer to the semantic rules of each extension. 

  • tmName string (50)
    Trademark name.
  • tmNumber string (20)
    Trademark number.
  • tmType string (4)
    Trademark registry (“INPI” for a national one, “OHIM” for a european one , “WIPO” for an international one).
  • companyNumber string (20)
    Organization number.
  • vatNumber string (20)
    Organization VAT number (Only if the company is registered in E.U.).
  • birthDate string
    Date of birth (format YYYY-MM-DD).
  • birthZipCode string (10)
    Postal code of birth.
  • birthCity string (50)
    City of birth.
  • birthCountry string (3)
    Country code of birth (ISO 3166-1).
  • idNumber string (20)
    Personal ID number.
  • additional array
    Additional data (Associative array of additional data).