{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-person-schema.json",
  "title": "microsoft.graph.person",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-users-person-api-openapi.yml#/components/schemas/microsoft.graph.person",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "person",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "birthday": {
          "type": [
            "string",
            "null"
          ],
          "description": "The person's birthday."
        },
        "companyName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the person's company."
        },
        "department": {
          "type": [
            "string",
            "null"
          ],
          "description": "The person's department."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The person's display name."
        },
        "givenName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The person's given name."
        },
        "imAddress": {
          "type": [
            "string",
            "null"
          ],
          "description": "The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user. Read-only."
        },
        "isFavorite": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "True if the user has flagged this person as a favorite."
        },
        "jobTitle": {
          "type": [
            "string",
            "null"
          ],
          "description": "The person's job title."
        },
        "officeLocation": {
          "type": [
            "string",
            "null"
          ],
          "description": "The location of the person's office."
        },
        "personNotes": {
          "type": [
            "string",
            "null"
          ],
          "description": "Free-form notes that the user has taken about this person."
        },
        "personType": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.personType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The type of person."
        },
        "phones": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.phone"
          },
          "description": "The person's phone numbers."
        },
        "postalAddresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.location"
          },
          "description": "The person's addresses."
        },
        "profession": {
          "type": [
            "string",
            "null"
          ],
          "description": "The person's profession."
        },
        "scoredEmailAddresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.scoredEmailAddress"
          },
          "description": "The person's email addresses."
        },
        "surname": {
          "type": [
            "string",
            "null"
          ],
          "description": "The person's surname."
        },
        "userPrincipalName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The user principal name (UPN) of the person. The UPN is an Internet-style login name for the person based on the Internet standard RFC 822. By convention, this should map to the person's email name. The general format is alias@domain."
        },
        "websites": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.website"
          },
          "description": "The person's websites."
        },
        "yomiCompany": {
          "type": [
            "string",
            "null"
          ],
          "description": "The phonetic Japanese name of the person's company."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.person",
  "$defs": {
    "ReferenceNumeric": {
      "enum": [
        "-INF",
        "INF",
        "NaN",
        null
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "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.location": {
      "title": "location",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "address": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.physicalAddress"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The street address of the location."
        },
        "coordinates": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.outlookGeoCoordinates"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The geographic coordinates and elevation of the location."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name associated with the location."
        },
        "locationEmailAddress": {
          "type": [
            "string",
            "null"
          ],
          "description": "Optional email address of the location."
        },
        "locationType": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.locationType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The type of location. The possible values are: default, conferenceRoom, homeAddress, businessAddress,geoCoordinates, streetAddress, hotel, restaurant, localBusiness, postalAddress. Read-only."
        },
        "locationUri": {
          "type": [
            "string",
            "null"
          ],
          "description": "Optional URI representing the location."
        },
        "uniqueId": {
          "type": [
            "string",
            "null"
          ],
          "description": "For internal use only."
        },
        "uniqueIdType": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.locationUniqueIdType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "For internal use only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.locationType": {
      "title": "locationType",
      "enum": [
        "default",
        "conferenceRoom",
        "homeAddress",
        "businessAddress",
        "geoCoordinates",
        "streetAddress",
        "hotel",
        "restaurant",
        "localBusiness",
        "postalAddress"
      ],
      "type": "string"
    },
    "microsoft.graph.locationUniqueIdType": {
      "title": "locationUniqueIdType",
      "enum": [
        "unknown",
        "locationStore",
        "directory",
        "private",
        "bing"
      ],
      "type": "string"
    },
    "microsoft.graph.outlookGeoCoordinates": {
      "title": "outlookGeoCoordinates",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "accuracy": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters."
        },
        "altitude": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "The altitude of the location."
        },
        "altitudeAccuracy": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "The accuracy of the altitude."
        },
        "latitude": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "The latitude of the location."
        },
        "longitude": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "The longitude of the location."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.personType": {
      "title": "personType",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "class": {
          "type": [
            "string",
            "null"
          ],
          "description": "The type of data source, such as Person."
        },
        "subclass": {
          "type": [
            "string",
            "null"
          ],
          "description": "The secondary type of data source, such as OrganizationUser."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.phone": {
      "title": "phone",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "language": {
          "type": [
            "string",
            "null"
          ]
        },
        "number": {
          "type": [
            "string",
            "null"
          ],
          "description": "The phone number."
        },
        "region": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.phoneType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The type of phone number. The possible values are: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.phoneType": {
      "title": "phoneType",
      "enum": [
        "home",
        "business",
        "mobile",
        "other",
        "assistant",
        "homeFax",
        "businessFax",
        "otherFax",
        "pager",
        "radio"
      ],
      "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.scoredEmailAddress": {
      "title": "scoredEmailAddress",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "address": {
          "type": [
            "string",
            "null"
          ],
          "description": "The email address."
        },
        "itemId": {
          "type": [
            "string",
            "null"
          ]
        },
        "relevanceScore": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "The relevance score of the email address. A relevance score is used as a sort key, in relation to the other returned results. A higher relevance score value corresponds to a more relevant result. Relevance is determined by the user’s communication and collaboration patterns and business relationships."
        },
        "selectionLikelihood": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.selectionLikelihoodInfo"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ]
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.selectionLikelihoodInfo": {
      "title": "selectionLikelihoodInfo",
      "enum": [
        "notSpecified",
        "high"
      ],
      "type": "string"
    },
    "microsoft.graph.website": {
      "title": "website",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "address": {
          "type": [
            "string",
            "null"
          ],
          "description": "The URL of the website."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name of the web site."
        },
        "type": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.websiteType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The possible values are: other, home, work, blog, profile."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.websiteType": {
      "title": "websiteType",
      "enum": [
        "other",
        "home",
        "work",
        "blog",
        "profile"
      ],
      "type": "string"
    }
  }
}