{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-domain-contact-schema.json",
  "title": "domain.Contact",
  "description": "A contact contains the personal data of a user",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-domain-openapi.yml#/components/schemas/domain.Contact",
  "type": "object",
  "properties": {
    "accreditationCountry": {
      "allOf": [
        {
          "$ref": "#/$defs/nichandle.CountryEnum"
        }
      ],
      "description": "Country of lawyer accreditation",
      "nullable": true
    },
    "accreditationId": {
      "type": [
        "string",
        "null"
      ],
      "description": "Lawyer accreditation number"
    },
    "accreditationOrganism": {
      "type": [
        "string",
        "null"
      ],
      "description": "Organism of lawyer accreditation"
    },
    "accreditationYear": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Year of lawyer accreditation"
    },
    "address": {
      "allOf": [
        {
          "$ref": "#/$defs/domain.ContactAddress"
        }
      ],
      "description": "The address of the contact",
      "nullable": true
    },
    "birthCity": {
      "type": [
        "string",
        "null"
      ],
      "description": "City of birth"
    },
    "birthCountry": {
      "allOf": [
        {
          "$ref": "#/$defs/nichandle.CountryEnum"
        }
      ],
      "description": "Birth Country",
      "nullable": true
    },
    "birthDay": {
      "type": [
        "string",
        "null"
      ],
      "description": "Birth date",
      "format": "date"
    },
    "birthZip": {
      "type": [
        "string",
        "null"
      ],
      "description": "Birth Zipcode"
    },
    "cellPhone": {
      "allOf": [
        {
          "$ref": "#/$defs/phoneNumber"
        }
      ],
      "description": "Cellphone number",
      "nullable": true
    },
    "companyNationalIdentificationNumber": {
      "type": [
        "string",
        "null"
      ],
      "description": "Company National Identification Number"
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "description": "Email address"
    },
    "enterpriseId": {
      "type": [
        "string",
        "null"
      ],
      "description": "Enterprise identifier"
    },
    "fax": {
      "type": [
        "string",
        "null"
      ],
      "description": "Fax number"
    },
    "firstName": {
      "type": [
        "string",
        "null"
      ],
      "description": "First name"
    },
    "gender": {
      "allOf": [
        {
          "$ref": "#/$defs/nichandle.GenderEnum"
        }
      ],
      "description": "Gender",
      "nullable": true
    },
    "id": {
      "type": "integer",
      "description": "Unique identifier",
      "readOnly": true
    },
    "insee": {
      "type": [
        "string",
        "null"
      ],
      "description": "INSEE identifier"
    },
    "language": {
      "allOf": [
        {
          "$ref": "#/$defs/nichandle.LanguageEnum"
        }
      ],
      "description": "Language",
      "nullable": true
    },
    "lastName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Last name"
    },
    "legalForm": {
      "allOf": [
        {
          "$ref": "#/$defs/nichandle.LegalFormEnum"
        }
      ],
      "nullable": true
    },
    "legalFormCategory": {
      "type": [
        "string",
        "null"
      ],
      "description": "category of legalForm"
    },
    "nationalIdentificationNumber": {
      "type": [
        "string",
        "null"
      ],
      "description": "National Identification Number"
    },
    "nationality": {
      "allOf": [
        {
          "$ref": "#/$defs/nichandle.CountryEnum"
        }
      ],
      "description": "Nationality",
      "nullable": true
    },
    "organisationAccountable": {
      "type": [
        "string",
        "null"
      ],
      "description": "To whom is the organisation accountable"
    },
    "organisationFunding": {
      "type": [
        "string",
        "null"
      ],
      "description": "What is the source of funding"
    },
    "organisationFundingOther": {
      "type": [
        "string",
        "null"
      ],
      "description": "Explain the source of funding if organisationFunding is other"
    },
    "organisationName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Name of organisation"
    },
    "organisationRole": {
      "type": [
        "string",
        "null"
      ],
      "description": "Role of your organisation"
    },
    "organisationRoleOther": {
      "type": [
        "string",
        "null"
      ],
      "description": "Explain the role of your organisation if organisationRole is other"
    },
    "organisationStaffStatus": {
      "type": [
        "string",
        "null"
      ],
      "description": "Status of the staff"
    },
    "organisationStaffStatusOther": {
      "type": [
        "string",
        "null"
      ],
      "description": "Explain the status of the staff if organisationStaffStatus is other"
    },
    "organisationType": {
      "type": [
        "string",
        "null"
      ],
      "description": "type of organisation"
    },
    "organisationTypeOther": {
      "type": [
        "string",
        "null"
      ],
      "description": "Explain the type of organisation if organisationType is other"
    },
    "phone": {
      "allOf": [
        {
          "$ref": "#/$defs/phoneNumber"
        }
      ],
      "description": "Phone number",
      "nullable": true
    },
    "registrantDocumentType": {
      "type": [
        "string",
        "null"
      ],
      "description": "Type of registrant document"
    },
    "registrantDocumentTypeOther": {
      "type": [
        "string",
        "null"
      ],
      "description": "Explain the type of registrant document if registrantDocumentType is other"
    },
    "roleInOrganisation": {
      "type": [
        "string",
        "null"
      ],
      "description": "The role in the organisation"
    },
    "trademarkId": {
      "type": [
        "string",
        "null"
      ],
      "description": "Trademark related to the contact"
    },
    "vat": {
      "type": [
        "string",
        "null"
      ],
      "description": "VAT number"
    },
    "website": {
      "type": [
        "string",
        "null"
      ],
      "description": "Website"
    }
  },
  "$defs": {
    "domain.ContactAddress": {
      "type": "object",
      "description": "Missing description",
      "properties": {
        "city": {
          "type": [
            "string",
            "null"
          ],
          "description": "City"
        },
        "country": {
          "allOf": [
            {
              "$ref": "#/$defs/nichandle.CountryEnum"
            }
          ],
          "description": "Country",
          "nullable": true
        },
        "line1": {
          "type": [
            "string",
            "null"
          ],
          "description": "Address line 1"
        },
        "line2": {
          "type": [
            "string",
            "null"
          ],
          "description": "Address line 2"
        },
        "line3": {
          "type": [
            "string",
            "null"
          ],
          "description": "Address line 3"
        },
        "otherDetails": {
          "type": [
            "string",
            "null"
          ],
          "description": "Others details"
        },
        "province": {
          "type": [
            "string",
            "null"
          ],
          "description": "Province"
        },
        "zip": {
          "type": [
            "string",
            "null"
          ],
          "description": "Zip code"
        }
      }
    },
    "nichandle.CountryEnum": {
      "type": "string",
      "description": "Countries a nichandle can choose",
      "enum": [
        "AC",
        "AD",
        "AE",
        "AF",
        "AG",
        "AI",
        "AL",
        "AM",
        "AO",
        "AQ",
        "AR",
        "AS",
        "AT",
        "AU",
        "AW",
        "AX",
        "AZ",
        "BA",
        "BB",
        "BD",
        "BE",
        "BF",
        "BG",
        "BH",
        "BI",
        "BJ",
        "BL",
        "BM",
        "BN",
        "BO",
        "BQ",
        "BR",
        "BS",
        "BT",
        "BW",
        "BY",
        "BZ",
        "CA",
        "CC",
        "CD",
        "CF",
        "CG",
        "CH",
        "CI",
        "CK",
        "CL",
        "CM",
        "CN",
        "CO",
        "CR",
        "CU",
        "CV",
        "CW",
        "CX",
        "CY",
        "CZ",
        "DE",
        "DG",
        "DJ",
        "DK",
        "DM",
        "DO",
        "DZ",
        "EA",
        "EC",
        "EE",
        "EG",
        "EH",
        "ER",
        "ES",
        "ET",
        "FI",
        "FJ",
        "FK",
        "FM",
        "FO",
        "FR",
        "GA",
        "GB",
        "GD",
        "GE",
        "GF",
        "GG",
        "GH",
        "GI",
        "GL",
        "GM",
        "GN",
        "GP",
        "GQ",
        "GR",
        "GS",
        "GT",
        "GU",
        "GW",
        "GY",
        "HK",
        "HN",
        "HR",
        "HT",
        "HU",
        "IC",
        "ID",
        "IE",
        "IL",
        "IM",
        "IN",
        "IO",
        "IQ",
        "IR",
        "IS",
        "IT",
        "JE",
        "JM",
        "JO",
        "JP",
        "KE",
        "KG",
        "KH",
        "KI",
        "KM",
        "KN",
        "KP",
        "KR",
        "KW",
        "KY",
        "KZ",
        "LA",
        "LB",
        "LC",
        "LI",
        "LK",
        "LR",
        "LS",
        "LT",
        "LU",
        "LV",
        "LY",
        "MA",
        "MC",
        "MD",
        "ME",
        "MF",
        "MG",
        "MH",
        "MK",
        "ML",
        "MM",
        "MN",
        "MO",
        "MP",
        "MQ",
        "MR",
        "MS",
        "MT",
        "MU",
        "MV",
        "MW",
        "MX",
        "MY",
        "MZ",
        "NA",
        "NC",
        "NE",
        "NF",
        "NG",
        "NI",
        "NL",
        "NO",
        "NP",
        "NR",
        "NU",
        "NZ",
        "OM",
        "PA",
        "PE",
        "PF",
        "PG",
        "PH",
        "PK",
        "PL",
        "PM",
        "PN",
        "PR",
        "PS",
        "PT",
        "PW",
        "PY",
        "QA",
        "RE",
        "RO",
        "RS",
        "RU",
        "RW",
        "SA",
        "SB",
        "SC",
        "SD",
        "SE",
        "SG",
        "SH",
        "SI",
        "SJ",
        "SK",
        "SL",
        "SM",
        "SN",
        "SO",
        "SR",
        "SS",
        "ST",
        "SV",
        "SX",
        "SY",
        "SZ",
        "TA",
        "TC",
        "TD",
        "TF",
        "TG",
        "TH",
        "TJ",
        "TK",
        "TL",
        "TM",
        "TN",
        "TO",
        "TR",
        "TT",
        "TV",
        "TW",
        "TZ",
        "UA",
        "UG",
        "UM",
        "UNKNOWN",
        "US",
        "UY",
        "UZ",
        "VA",
        "VC",
        "VE",
        "VG",
        "VI",
        "VN",
        "VU",
        "WF",
        "WS",
        "XK",
        "YE",
        "YT",
        "ZA",
        "ZM",
        "ZW"
      ]
    },
    "nichandle.GenderEnum": {
      "type": "string",
      "description": "All genders a person can choose",
      "enum": [
        "female",
        "male"
      ]
    },
    "nichandle.LanguageEnum": {
      "type": "string",
      "description": "Languages a nichandle can choose",
      "enum": [
        "cs_CZ",
        "de_DE",
        "en_AU",
        "en_CA",
        "en_GB",
        "en_IE",
        "en_US",
        "es_ES",
        "fi_FI",
        "fr_CA",
        "fr_FR",
        "fr_MA",
        "fr_SN",
        "fr_TN",
        "it_IT",
        "lt_LT",
        "nl_NL",
        "pl_PL",
        "pt_PT"
      ]
    },
    "nichandle.LegalFormEnum": {
      "type": "string",
      "description": "Legal forms a nichandle can be registered as",
      "enum": [
        "administration",
        "association",
        "corporation",
        "individual",
        "other",
        "personalcorporation"
      ]
    },
    "phoneNumber": {
      "type": "string",
      "description": "Phone number",
      "format": "phone-number"
    }
  }
}