{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-outlook/json-schema/microsoft-outlook-microsoft-graph-contact-schema.json",
  "title": "microsoft.graph.contact",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-outlook-me-contact-api-openapi.yml#/components/schemas/microsoft.graph.contact",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.outlookItem"
    },
    {
      "title": "contact",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "assistantName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the contact's assistant."
        },
        "birthday": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "description": "The contact's birthday. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z",
          "format": "date-time"
        },
        "businessAddress": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.physicalAddress"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The contact's business address."
        },
        "businessHomePage": {
          "type": [
            "string",
            "null"
          ],
          "description": "The business home page of the contact."
        },
        "businessPhones": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "The contact's business phone numbers."
        },
        "children": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "The names of the contact's children."
        },
        "companyName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the contact's company."
        },
        "department": {
          "type": [
            "string",
            "null"
          ],
          "description": "The contact's department."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation."
        },
        "emailAddresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.emailAddress"
          },
          "description": "The contact's email addresses."
        },
        "fileAs": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name the contact is filed under."
        },
        "generation": {
          "type": [
            "string",
            "null"
          ],
          "description": "The contact's suffix."
        },
        "givenName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The contact's given name."
        },
        "homeAddress": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.physicalAddress"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The contact's home address."
        },
        "homePhones": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "The contact's home phone numbers."
        },
        "imAddresses": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "The contact's instant messaging (IM) addresses."
        },
        "initials": {
          "type": [
            "string",
            "null"
          ],
          "description": "The contact's initials."
        },
        "jobTitle": {
          "type": [
            "string",
            "null"
          ],
          "description": "The contact’s job title."
        },
        "manager": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the contact's manager."
        },
        "middleName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The contact's middle name."
        },
        "mobilePhone": {
          "type": [
            "string",
            "null"
          ],
          "description": "The contact's mobile phone number."
        },
        "nickName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The contact's nickname."
        },
        "officeLocation": {
          "type": [
            "string",
            "null"
          ],
          "description": "The location of the contact's office."
        },
        "otherAddress": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.physicalAddress"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Other addresses for the contact."
        },
        "parentFolderId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The ID of the contact's parent folder."
        },
        "personalNotes": {
          "type": [
            "string",
            "null"
          ],
          "description": "The user's notes about the contact."
        },
        "primaryEmailAddress": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.emailAddress"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The contact's primary email address."
        },
        "profession": {
          "type": [
            "string",
            "null"
          ],
          "description": "The contact's profession."
        },
        "secondaryEmailAddress": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.emailAddress"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The contact's secondary email address."
        },
        "spouseName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the contact's spouse/partner."
        },
        "surname": {
          "type": [
            "string",
            "null"
          ],
          "description": "The contact's surname."
        },
        "tertiaryEmailAddress": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.emailAddress"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The contact's tertiary email address."
        },
        "title": {
          "type": [
            "string",
            "null"
          ],
          "description": "The contact's title."
        },
        "yomiCompanyName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The phonetic Japanese company name of the contact."
        },
        "yomiGivenName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The phonetic Japanese given name (first name) of the contact."
        },
        "yomiSurname": {
          "type": [
            "string",
            "null"
          ],
          "description": "The phonetic Japanese surname (last name)  of the contact."
        },
        "extensions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.extension"
          },
          "description": "The collection of open extensions defined for the contact. Read-only. Nullable.",
          "x-ms-navigationProperty": true
        },
        "multiValueExtendedProperties": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.multiValueLegacyExtendedProperty"
          },
          "description": "The collection of multi-value extended properties defined for the contact. Read-only. Nullable.",
          "x-ms-navigationProperty": true
        },
        "photo": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.profilePhoto"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Optional contact picture. You can get or set a photo for a contact.",
          "x-ms-navigationProperty": true
        },
        "singleValueExtendedProperties": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.singleValueLegacyExtendedProperty"
          },
          "description": "The collection of single-value extended properties defined for the contact. Read-only. Nullable.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string",
          "default": "#microsoft.graph.contact"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.contact",
  "$defs": {
    "microsoft.graph.emailAddress": {
      "title": "emailAddress",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "address": {
          "type": [
            "string",
            "null"
          ],
          "description": "The email address of the person or entity."
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name of the person or entity."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.extension": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "extension",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ]
    },
    "microsoft.graph.multiValueLegacyExtendedProperty": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "multiValueLegacyExtendedProperty",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "value": {
              "type": "array",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "description": "A collection of property values."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.multiValueLegacyExtendedProperty"
    },
    "microsoft.graph.outlookItem": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "outlookItem",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "categories": {
              "type": "array",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "description": "The categories associated with the item"
            },
            "changeKey": {
              "type": [
                "string",
                "null"
              ],
              "description": "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
            },
            "createdDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z",
              "format": "date-time"
            },
            "lastModifiedDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z",
              "format": "date-time"
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ]
    },
    "microsoft.graph.physicalAddress": {
      "title": "physicalAddress",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "city": {
          "type": [
            "string",
            "null"
          ],
          "description": "The city."
        },
        "countryOrRegion": {
          "type": [
            "string",
            "null"
          ],
          "description": "The country or region. It's a free-format string value, for example, 'United States'."
        },
        "postalCode": {
          "type": [
            "string",
            "null"
          ],
          "description": "The postal code."
        },
        "state": {
          "type": [
            "string",
            "null"
          ],
          "description": "The state."
        },
        "street": {
          "type": [
            "string",
            "null"
          ],
          "description": "The street."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.profilePhoto": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "profilePhoto",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "height": {
              "maximum": 2147483647,
              "minimum": -2147483648,
              "type": [
                "number",
                "null"
              ],
              "description": "The height of the photo. Read-only.",
              "format": "int32"
            },
            "width": {
              "maximum": 2147483647,
              "minimum": -2147483648,
              "type": [
                "number",
                "null"
              ],
              "description": "The width of the photo. Read-only.",
              "format": "int32"
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.profilePhoto"
    },
    "microsoft.graph.singleValueLegacyExtendedProperty": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "singleValueLegacyExtendedProperty",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ],
              "description": "A property value."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.singleValueLegacyExtendedProperty"
    }
  }
}