{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-people/json-schema/google-people-search-response-schema.json",
  "title": "SearchResponse",
  "description": "The response to a search request for the authenticated user, given a query.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-people-other-contacts-api-openapi.yml#/components/schemas/SearchResponse",
  "properties": {
    "results": {
      "description": "The results of the request.",
      "items": {
        "$ref": "#/$defs/SearchResult"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "Address": {
      "description": "A person's physical address. May be a P.O. box or street address. All fields are optional.",
      "properties": {
        "streetAddress": {
          "type": "string",
          "description": "The street address."
        },
        "region": {
          "description": "The region of the address; for example, the state or province.",
          "type": "string"
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the address."
        },
        "extendedAddress": {
          "description": "The extended address of the address; for example, the apartment number.",
          "type": "string"
        },
        "postalCode": {
          "description": "The postal code of the address.",
          "type": "string"
        },
        "formattedValue": {
          "type": "string",
          "description": "The unstructured value of the address. If this is not set by the user it will be automatically constructed from structured values."
        },
        "formattedType": {
          "readOnly": true,
          "description": "Output only. The type of the address translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.",
          "type": "string"
        },
        "city": {
          "type": "string",
          "description": "The city of the address."
        },
        "countryCode": {
          "type": "string",
          "description": "The [ISO 3166-1 alpha-2](http://www.iso.org/iso/country_codes.htm) country code of the address."
        },
        "poBox": {
          "description": "The P.O. box of the address.",
          "type": "string"
        },
        "type": {
          "description": "The type of the address. The type can be custom or one of these predefined values: * `home` * `work` * `other`",
          "type": "string"
        },
        "country": {
          "type": "string",
          "description": "The country of the address."
        }
      },
      "type": "object"
    },
    "AgeRangeType": {
      "description": "A person's age range.",
      "type": "object",
      "properties": {
        "ageRange": {
          "enum": [
            "AGE_RANGE_UNSPECIFIED",
            "LESS_THAN_EIGHTEEN",
            "EIGHTEEN_TO_TWENTY",
            "TWENTY_ONE_OR_OLDER"
          ],
          "description": "The age range.",
          "type": "string"
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the age range."
        }
      }
    },
    "Biography": {
      "properties": {
        "value": {
          "type": "string",
          "description": "The short biography."
        },
        "contentType": {
          "type": "string",
          "enum": [
            "CONTENT_TYPE_UNSPECIFIED",
            "TEXT_PLAIN",
            "TEXT_HTML"
          ],
          "description": "The content type of the biography."
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the biography."
        }
      },
      "type": "object",
      "description": "A person's short biography."
    },
    "Birthday": {
      "properties": {
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the birthday."
        },
        "text": {
          "type": "string",
          "description": "Prefer to use the `date` field if set. A free-form string representing the user's birthday. This value is not validated.",
          "deprecated": true
        },
        "date": {
          "$ref": "#/$defs/Date",
          "description": "The structured date of the birthday."
        }
      },
      "description": "A person's birthday. At least one of the `date` and `text` fields are specified. The `date` and `text` fields typically represent the same date, but are not guaranteed to. Clients should always set the `date` field when mutating birthdays.",
      "type": "object"
    },
    "BraggingRights": {
      "type": "object",
      "description": "**DEPRECATED**: No data will be returned A person's bragging rights.",
      "properties": {
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the bragging rights."
        },
        "value": {
          "type": "string",
          "description": "The bragging rights; for example, `climbed mount everest`."
        }
      },
      "deprecated": true
    },
    "CalendarUrl": {
      "properties": {
        "type": {
          "description": "The type of the calendar URL. The type can be custom or one of these predefined values: * `home` * `freeBusy` * `work`",
          "type": "string"
        },
        "url": {
          "description": "The calendar URL.",
          "type": "string"
        },
        "formattedType": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The type of the calendar URL translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale."
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the calendar URL."
        }
      },
      "description": "A person's calendar URL.",
      "type": "object"
    },
    "ClientData": {
      "description": "Arbitrary client data that is populated by clients. Duplicate keys and values are allowed.",
      "properties": {
        "value": {
          "description": "The client specified value of the client data.",
          "type": "string"
        },
        "key": {
          "type": "string",
          "description": "The client specified key of the client data."
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the client data."
        }
      },
      "type": "object"
    },
    "ContactGroupMembership": {
      "description": "A Google contact group membership.",
      "properties": {
        "contactGroupId": {
          "readOnly": true,
          "description": "Output only. The contact group ID for the contact group membership.",
          "type": "string",
          "deprecated": true
        },
        "contactGroupResourceName": {
          "type": "string",
          "description": "The resource name for the contact group, assigned by the server. An ASCII string, in the form of `contactGroups/{contact_group_id}`. Only contact_group_resource_name can be used for modifying memberships. Any contact group membership can be removed, but only user group or \"myContacts\" or \"starred\" system groups memberships can be added. A contact must always have at least one contact group membership."
        }
      },
      "type": "object"
    },
    "CoverPhoto": {
      "properties": {
        "default": {
          "type": "boolean",
          "description": "True if the cover photo is the default cover photo; false if the cover photo is a user-provided cover photo."
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the cover photo."
        },
        "url": {
          "description": "The URL of the cover photo.",
          "type": "string"
        }
      },
      "description": "A person's cover photo. A large image shown on the person's profile page that represents who they are or what they care about.",
      "type": "object"
    },
    "Date": {
      "type": "object",
      "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
      "properties": {
        "month": {
          "type": "integer",
          "format": "int32",
          "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
        },
        "day": {
          "type": "integer",
          "format": "int32",
          "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
        },
        "year": {
          "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "DomainMembership": {
      "description": "A Google Workspace Domain membership.",
      "properties": {
        "inViewerDomain": {
          "type": "boolean",
          "description": "True if the person is in the viewer's Google Workspace domain."
        }
      },
      "type": "object"
    },
    "EmailAddress": {
      "description": "A person's email address.",
      "properties": {
        "formattedType": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The type of the email address translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale."
        },
        "displayName": {
          "type": "string",
          "description": "The display name of the email."
        },
        "type": {
          "type": "string",
          "description": "The type of the email address. The type can be custom or one of these predefined values: * `home` * `work` * `other`"
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the email address."
        },
        "value": {
          "type": "string",
          "description": "The email address."
        }
      },
      "type": "object"
    },
    "Event": {
      "type": "object",
      "description": "An event related to the person.",
      "properties": {
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the event."
        },
        "formattedType": {
          "description": "Output only. The type of the event translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.",
          "type": "string",
          "readOnly": true
        },
        "date": {
          "$ref": "#/$defs/Date",
          "description": "The date of the event."
        },
        "type": {
          "description": "The type of the event. The type can be custom or one of these predefined values: * `anniversary` * `other`",
          "type": "string"
        }
      }
    },
    "ExternalId": {
      "description": "An identifier from an external entity related to the person.",
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "description": "The value of the external ID."
        },
        "formattedType": {
          "description": "Output only. The type of the event translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.",
          "readOnly": true,
          "type": "string"
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the external ID."
        },
        "type": {
          "type": "string",
          "description": "The type of the external ID. The type can be custom or one of these predefined values: * `account` * `customer` * `loginId` * `network` * `organization`"
        }
      }
    },
    "FieldMetadata": {
      "description": "Metadata about a field.",
      "properties": {
        "primary": {
          "type": "boolean",
          "readOnly": true,
          "description": "Output only. True if the field is the primary field for all sources in the person. Each person will have at most one field with `primary` set to true."
        },
        "source": {
          "$ref": "#/$defs/Source",
          "description": "The source of the field."
        },
        "verified": {
          "readOnly": true,
          "type": "boolean",
          "description": "Output only. True if the field is verified; false if the field is unverified. A verified field is typically a name, email address, phone number, or website that has been confirmed to be owned by the person."
        },
        "sourcePrimary": {
          "type": "boolean",
          "description": "True if the field is the primary field for the source. Each source must have at most one field with `source_primary` set to true."
        }
      },
      "type": "object"
    },
    "FileAs": {
      "type": "object",
      "description": "The name that should be used to sort the person in a list.",
      "properties": {
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the file-as."
        },
        "value": {
          "type": "string",
          "description": "The file-as value"
        }
      }
    },
    "Gender": {
      "properties": {
        "formattedValue": {
          "description": "Output only. The value of the gender translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale. Unspecified or custom value are not localized.",
          "type": "string",
          "readOnly": true
        },
        "value": {
          "type": "string",
          "description": "The gender for the person. The gender can be custom or one of these predefined values: * `male` * `female` * `unspecified`"
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the gender."
        },
        "addressMeAs": {
          "type": "string",
          "description": "Free form text field for pronouns that should be used to address the person. Common values are: * `he`/`him` * `she`/`her` * `they`/`them`"
        }
      },
      "description": "A person's gender.",
      "type": "object"
    },
    "ImClient": {
      "type": "object",
      "properties": {
        "formattedType": {
          "description": "Output only. The type of the IM client translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.",
          "type": "string",
          "readOnly": true
        },
        "username": {
          "type": "string",
          "description": "The user name used in the IM client."
        },
        "protocol": {
          "description": "The protocol of the IM client. The protocol can be custom or one of these predefined values: * `aim` * `msn` * `yahoo` * `skype` * `qq` * `googleTalk` * `icq` * `jabber` * `netMeeting`",
          "type": "string"
        },
        "type": {
          "description": "The type of the IM client. The type can be custom or one of these predefined values: * `home` * `work` * `other`",
          "type": "string"
        },
        "formattedProtocol": {
          "description": "Output only. The protocol of the IM client formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.",
          "type": "string",
          "readOnly": true
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the IM client."
        }
      },
      "description": "A person's instant messaging client."
    },
    "Interest": {
      "description": "One of the person's interests.",
      "properties": {
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the interest."
        },
        "value": {
          "type": "string",
          "description": "The interest; for example, `stargazing`."
        }
      },
      "type": "object"
    },
    "Locale": {
      "description": "A person's locale preference.",
      "properties": {
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the locale."
        },
        "value": {
          "description": "The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47) language tag representing the locale.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Location": {
      "properties": {
        "value": {
          "type": "string",
          "description": "The free-form value of the location."
        },
        "type": {
          "description": "The type of the location. The type can be custom or one of these predefined values: * `desk` * `grewUp`",
          "type": "string"
        },
        "buildingId": {
          "description": "The building identifier.",
          "type": "string"
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the location."
        },
        "deskCode": {
          "description": "The individual desk location.",
          "type": "string"
        },
        "floorSection": {
          "type": "string",
          "description": "The floor section in `floor_name`."
        },
        "current": {
          "type": "boolean",
          "description": "Whether the location is the current location."
        },
        "floor": {
          "description": "The floor name or number.",
          "type": "string"
        }
      },
      "description": "A person's location.",
      "type": "object"
    },
    "Membership": {
      "description": "A person's membership in a group. Only contact group memberships can be modified.",
      "properties": {
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the membership."
        },
        "contactGroupMembership": {
          "$ref": "#/$defs/ContactGroupMembership",
          "description": "The contact group membership."
        },
        "domainMembership": {
          "$ref": "#/$defs/DomainMembership",
          "description": "Output only. The domain membership."
        }
      },
      "type": "object"
    },
    "MiscKeyword": {
      "description": "A person's miscellaneous keyword.",
      "properties": {
        "type": {
          "enum": [
            "TYPE_UNSPECIFIED",
            "OUTLOOK_BILLING_INFORMATION",
            "OUTLOOK_DIRECTORY_SERVER",
            "OUTLOOK_KEYWORD",
            "OUTLOOK_MILEAGE",
            "OUTLOOK_PRIORITY",
            "OUTLOOK_SENSITIVITY",
            "OUTLOOK_SUBJECT",
            "OUTLOOK_USER",
            "HOME",
            "WORK",
            "OTHER"
          ],
          "description": "The miscellaneous keyword type.",
          "type": "string"
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the miscellaneous keyword."
        },
        "formattedType": {
          "type": "string",
          "description": "Output only. The type of the miscellaneous keyword translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.",
          "readOnly": true
        },
        "value": {
          "description": "The value of the miscellaneous keyword.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Name": {
      "description": "A person's name. If the name is a mononym, the family name is empty.",
      "properties": {
        "phoneticHonorificPrefix": {
          "description": "The honorific prefixes spelled as they sound.",
          "type": "string"
        },
        "honorificSuffix": {
          "type": "string",
          "description": "The honorific suffixes, such as `Jr.`"
        },
        "givenName": {
          "description": "The given name.",
          "type": "string"
        },
        "phoneticFullName": {
          "type": "string",
          "description": "The full name spelled as it sounds."
        },
        "familyName": {
          "type": "string",
          "description": "The family name."
        },
        "unstructuredName": {
          "description": "The free form name value.",
          "type": "string"
        },
        "phoneticMiddleName": {
          "type": "string",
          "description": "The middle name(s) spelled as they sound."
        },
        "displayName": {
          "description": "Output only. The display name formatted according to the locale specified by the viewer's account or the `Accept-Language` HTTP header.",
          "type": "string",
          "readOnly": true
        },
        "middleName": {
          "description": "The middle name(s).",
          "type": "string"
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the name."
        },
        "phoneticGivenName": {
          "description": "The given name spelled as it sounds.",
          "type": "string"
        },
        "phoneticFamilyName": {
          "description": "The family name spelled as it sounds.",
          "type": "string"
        },
        "phoneticHonorificSuffix": {
          "type": "string",
          "description": "The honorific suffixes spelled as they sound."
        },
        "displayNameLastFirst": {
          "description": "Output only. The display name with the last name first formatted according to the locale specified by the viewer's account or the `Accept-Language` HTTP header.",
          "readOnly": true,
          "type": "string"
        },
        "honorificPrefix": {
          "type": "string",
          "description": "The honorific prefixes, such as `Mrs.` or `Dr.`"
        }
      },
      "type": "object"
    },
    "Nickname": {
      "properties": {
        "value": {
          "description": "The nickname.",
          "type": "string"
        },
        "type": {
          "enum": [
            "DEFAULT",
            "MAIDEN_NAME",
            "INITIALS",
            "GPLUS",
            "OTHER_NAME",
            "ALTERNATE_NAME",
            "SHORT_NAME"
          ],
          "type": "string",
          "description": "The type of the nickname."
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the nickname."
        }
      },
      "description": "A person's nickname.",
      "type": "object"
    },
    "Occupation": {
      "properties": {
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the occupation."
        },
        "value": {
          "description": "The occupation; for example, `carpenter`.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "A person's occupation."
    },
    "Organization": {
      "properties": {
        "type": {
          "description": "The type of the organization. The type can be custom or one of these predefined values: * `work` * `school`",
          "type": "string"
        },
        "symbol": {
          "type": "string",
          "description": "The symbol associated with the organization; for example, a stock ticker symbol, abbreviation, or acronym."
        },
        "location": {
          "type": "string",
          "description": "The location of the organization office the person works at."
        },
        "title": {
          "description": "The person's job title at the organization.",
          "type": "string"
        },
        "endDate": {
          "$ref": "#/$defs/Date",
          "description": "The end date when the person left the organization."
        },
        "name": {
          "description": "The name of the organization.",
          "type": "string"
        },
        "domain": {
          "type": "string",
          "description": "The domain name associated with the organization; for example, `google.com`."
        },
        "formattedType": {
          "type": "string",
          "description": "Output only. The type of the organization translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.",
          "readOnly": true
        },
        "department": {
          "type": "string",
          "description": "The person's department at the organization."
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the organization."
        },
        "phoneticName": {
          "type": "string",
          "description": "The phonetic name of the organization."
        },
        "costCenter": {
          "type": "string",
          "description": "The person's cost center at the organization."
        },
        "startDate": {
          "$ref": "#/$defs/Date",
          "description": "The start date when the person joined the organization."
        },
        "fullTimeEquivalentMillipercent": {
          "type": "integer",
          "format": "int32",
          "description": "The person's full-time equivalent millipercent within the organization (100000 = 100%)."
        },
        "jobDescription": {
          "type": "string",
          "description": "The person's job description at the organization."
        },
        "current": {
          "description": "True if the organization is the person's current organization; false if the organization is a past organization.",
          "type": "boolean"
        }
      },
      "description": "A person's past or current organization. Overlapping date ranges are permitted.",
      "type": "object"
    },
    "Person": {
      "type": "object",
      "description": "Information about a person merged from various data sources such as the authenticated user's contacts and profile data. Most fields can have multiple items. The items in a field have no guaranteed order, but each non-empty field is guaranteed to have exactly one field with `metadata.primary` set to true.",
      "properties": {
        "residences": {
          "description": "**DEPRECATED**: (Please use `person.locations` instead) The person's residences.",
          "items": {
            "$ref": "#/$defs/Residence"
          },
          "type": "array",
          "deprecated": true
        },
        "interests": {
          "description": "The person's interests.",
          "items": {
            "$ref": "#/$defs/Interest"
          },
          "type": "array"
        },
        "externalIds": {
          "items": {
            "$ref": "#/$defs/ExternalId"
          },
          "description": "The person's external IDs.",
          "type": "array"
        },
        "userDefined": {
          "description": "The person's user defined data.",
          "items": {
            "$ref": "#/$defs/UserDefined"
          },
          "type": "array"
        },
        "clientData": {
          "description": "The person's client data.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ClientData"
          }
        },
        "etag": {
          "type": "string",
          "description": "The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource. Used for web cache validation."
        },
        "emailAddresses": {
          "items": {
            "$ref": "#/$defs/EmailAddress"
          },
          "type": "array",
          "description": "The person's email addresses. For `people.connections.list` and `otherContacts.list` the number of email addresses is limited to 100. If a Person has more email addresses the entire set can be obtained by calling GetPeople."
        },
        "photos": {
          "type": "array",
          "description": "Output only. The person's photos.",
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/Photo"
          }
        },
        "ageRange": {
          "description": "Output only. **DEPRECATED** (Please use `person.ageRanges` instead) The person's age range.",
          "readOnly": true,
          "enum": [
            "AGE_RANGE_UNSPECIFIED",
            "LESS_THAN_EIGHTEEN",
            "EIGHTEEN_TO_TWENTY",
            "TWENTY_ONE_OR_OLDER"
          ],
          "type": "string",
          "deprecated": true
        },
        "resourceName": {
          "description": "The resource name for the person, assigned by the server. An ASCII string in the form of `people/{person_id}`.",
          "type": "string"
        },
        "phoneNumbers": {
          "items": {
            "$ref": "#/$defs/PhoneNumber"
          },
          "type": "array",
          "description": "The person's phone numbers. For `people.connections.list` and `otherContacts.list` the number of phone numbers is limited to 100. If a Person has more phone numbers the entire set can be obtained by calling GetPeople."
        },
        "skills": {
          "description": "The person's skills.",
          "items": {
            "$ref": "#/$defs/Skill"
          },
          "type": "array"
        },
        "locations": {
          "type": "array",
          "description": "The person's locations.",
          "items": {
            "$ref": "#/$defs/Location"
          }
        },
        "genders": {
          "items": {
            "$ref": "#/$defs/Gender"
          },
          "type": "array",
          "description": "The person's genders. This field is a singleton for contact sources."
        },
        "imClients": {
          "description": "The person's instant messaging clients.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ImClient"
          }
        },
        "taglines": {
          "readOnly": true,
          "description": "Output only. **DEPRECATED**: No data will be returned The person's taglines.",
          "items": {
            "$ref": "#/$defs/Tagline"
          },
          "type": "array",
          "deprecated": true
        },
        "organizations": {
          "description": "The person's past or current organizations.",
          "items": {
            "$ref": "#/$defs/Organization"
          },
          "type": "array"
        },
        "urls": {
          "description": "The person's associated URLs.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/Url"
          }
        },
        "addresses": {
          "description": "The person's street addresses.",
          "items": {
            "$ref": "#/$defs/Address"
          },
          "type": "array"
        },
        "events": {
          "type": "array",
          "description": "The person's events.",
          "items": {
            "$ref": "#/$defs/Event"
          }
        },
        "metadata": {
          "$ref": "#/$defs/PersonMetadata",
          "description": "Output only. Metadata about the person."
        },
        "braggingRights": {
          "type": "array",
          "description": "**DEPRECATED**: No data will be returned The person's bragging rights.",
          "items": {
            "$ref": "#/$defs/BraggingRights"
          },
          "deprecated": true
        },
        "sipAddresses": {
          "items": {
            "$ref": "#/$defs/SipAddress"
          },
          "description": "The person's SIP addresses.",
          "type": "array"
        },
        "biographies": {
          "description": "The person's biographies. This field is a singleton for contact sources.",
          "items": {
            "$ref": "#/$defs/Biography"
          },
          "type": "array"
        },
        "ageRanges": {
          "items": {
            "$ref": "#/$defs/AgeRangeType"
          },
          "type": "array",
          "description": "Output only. The person's age ranges.",
          "readOnly": true
        },
        "relationshipStatuses": {
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/RelationshipStatus"
          },
          "type": "array",
          "description": "Output only. **DEPRECATED**: No data will be returned The person's relationship statuses.",
          "deprecated": true
        },
        "occupations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Occupation"
          },
          "description": "The person's occupations."
        },
        "nicknames": {
          "type": "array",
          "description": "The person's nicknames.",
          "items": {
            "$ref": "#/$defs/Nickname"
          }
        },
        "memberships": {
          "description": "The person's group memberships.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/Membership"
          }
        },
        "birthdays": {
          "items": {
            "$ref": "#/$defs/Birthday"
          },
          "description": "The person's birthdays. This field is a singleton for contact sources.",
          "type": "array"
        },
        "miscKeywords": {
          "items": {
            "$ref": "#/$defs/MiscKeyword"
          },
          "type": "array",
          "description": "The person's miscellaneous keywords."
        },
        "coverPhotos": {
          "type": "array",
          "description": "Output only. The person's cover photos.",
          "items": {
            "$ref": "#/$defs/CoverPhoto"
          },
          "readOnly": true
        },
        "locales": {
          "type": "array",
          "description": "The person's locale preferences.",
          "items": {
            "$ref": "#/$defs/Locale"
          }
        },
        "relationshipInterests": {
          "type": "array",
          "description": "Output only. **DEPRECATED**: No data will be returned The person's relationship interests.",
          "items": {
            "$ref": "#/$defs/RelationshipInterest"
          },
          "readOnly": true,
          "deprecated": true
        },
        "calendarUrls": {
          "items": {
            "$ref": "#/$defs/CalendarUrl"
          },
          "description": "The person's calendar URLs.",
          "type": "array"
        },
        "relations": {
          "type": "array",
          "description": "The person's relations.",
          "items": {
            "$ref": "#/$defs/Relation"
          }
        },
        "names": {
          "type": "array",
          "description": "The person's names. This field is a singleton for contact sources.",
          "items": {
            "$ref": "#/$defs/Name"
          }
        },
        "fileAses": {
          "type": "array",
          "description": "The person's file-ases.",
          "items": {
            "$ref": "#/$defs/FileAs"
          }
        }
      }
    },
    "PersonMetadata": {
      "description": "The metadata about a person.",
      "properties": {
        "linkedPeopleResourceNames": {
          "items": {
            "type": "string"
          },
          "description": "Output only. Resource names of people linked to this resource.",
          "type": "array",
          "readOnly": true
        },
        "sources": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Source"
          },
          "description": "The sources of data for the person."
        },
        "previousResourceNames": {
          "description": "Output only. Any former resource names this person has had. Populated only for `people.connections.list` requests that include a sync token. The resource name may change when adding or removing fields that link a contact and profile such as a verified email, verified phone number, or profile URL.",
          "type": "array",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "deleted": {
          "readOnly": true,
          "type": "boolean",
          "description": "Output only. True if the person resource has been deleted. Populated only for `people.connections.list` and `otherContacts.list` sync requests."
        },
        "objectType": {
          "description": "Output only. **DEPRECATED** (Please use `person.metadata.sources.profileMetadata.objectType` instead) The type of the person object.",
          "enum": [
            "OBJECT_TYPE_UNSPECIFIED",
            "PERSON",
            "PAGE"
          ],
          "readOnly": true,
          "type": "string",
          "deprecated": true
        }
      },
      "type": "object"
    },
    "PhoneNumber": {
      "description": "A person's phone number.",
      "properties": {
        "formattedType": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The type of the phone number translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale."
        },
        "value": {
          "type": "string",
          "description": "The phone number."
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the phone number."
        },
        "type": {
          "description": "The type of the phone number. The type can be custom or one of these predefined values: * `home` * `work` * `mobile` * `homeFax` * `workFax` * `otherFax` * `pager` * `workMobile` * `workPager` * `main` * `googleVoice` * `other`",
          "type": "string"
        },
        "canonicalForm": {
          "description": "Output only. The canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/ibr/004/itu-t.E.164.1.2008.pdf) form of the phone number.",
          "readOnly": true,
          "type": "string"
        }
      },
      "type": "object"
    },
    "Photo": {
      "description": "A person's photo. A picture shown next to the person's name to help others recognize the person.",
      "properties": {
        "url": {
          "type": "string",
          "description": "The URL of the photo. You can change the desired size by appending a query parameter `sz={size}` at the end of the url, where {size} is the size in pixels. Example: https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/00gzXvDBYqw/s100/photo.jpg?sz=50"
        },
        "default": {
          "description": "True if the photo is a default photo; false if the photo is a user-provided photo.",
          "type": "boolean"
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the photo."
        }
      },
      "type": "object"
    },
    "ProfileMetadata": {
      "properties": {
        "objectType": {
          "readOnly": true,
          "type": "string",
          "enum": [
            "OBJECT_TYPE_UNSPECIFIED",
            "PERSON",
            "PAGE"
          ],
          "description": "Output only. The profile object type."
        },
        "userTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "USER_TYPE_UNKNOWN",
              "GOOGLE_USER",
              "GPLUS_USER",
              "GOOGLE_APPS_USER"
            ]
          },
          "readOnly": true,
          "description": "Output only. The user types."
        }
      },
      "description": "The metadata about a profile.",
      "type": "object"
    },
    "Relation": {
      "properties": {
        "type": {
          "description": "The person's relation to the other person. The type can be custom or one of these predefined values: * `spouse` * `child` * `mother` * `father` * `parent` * `brother` * `sister` * `friend` * `relative` * `domesticPartner` * `manager` * `assistant` * `referredBy` * `partner`",
          "type": "string"
        },
        "person": {
          "description": "The name of the other person this relation refers to.",
          "type": "string"
        },
        "formattedType": {
          "type": "string",
          "description": "Output only. The type of the relation translated and formatted in the viewer's account locale or the locale specified in the Accept-Language HTTP header.",
          "readOnly": true
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the relation."
        }
      },
      "type": "object",
      "description": "A person's relation to another person."
    },
    "RelationshipInterest": {
      "description": "**DEPRECATED**: No data will be returned A person's relationship interest .",
      "properties": {
        "formattedValue": {
          "readOnly": true,
          "description": "Output only. The value of the relationship interest translated and formatted in the viewer's account locale or the locale specified in the Accept-Language HTTP header.",
          "type": "string"
        },
        "value": {
          "description": "The kind of relationship the person is looking for. The value can be custom or one of these predefined values: * `friend` * `date` * `relationship` * `networking`",
          "type": "string"
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the relationship interest."
        }
      },
      "type": "object",
      "deprecated": true
    },
    "RelationshipStatus": {
      "type": "object",
      "description": "**DEPRECATED**: No data will be returned A person's relationship status.",
      "properties": {
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the relationship status."
        },
        "formattedValue": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The value of the relationship status translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale."
        },
        "value": {
          "type": "string",
          "description": "The relationship status. The value can be custom or one of these predefined values: * `single` * `inARelationship` * `engaged` * `married` * `itsComplicated` * `openRelationship` * `widowed` * `inDomesticPartnership` * `inCivilUnion`"
        }
      },
      "deprecated": true
    },
    "Residence": {
      "description": "**DEPRECATED**: Please use `person.locations` instead. A person's past or current residence.",
      "properties": {
        "value": {
          "type": "string",
          "description": "The address of the residence."
        },
        "current": {
          "description": "True if the residence is the person's current residence; false if the residence is a past residence.",
          "type": "boolean"
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the residence."
        }
      },
      "type": "object",
      "deprecated": true
    },
    "SearchResult": {
      "properties": {
        "person": {
          "$ref": "#/$defs/Person",
          "description": "The matched Person."
        }
      },
      "type": "object",
      "description": "A result of a search query."
    },
    "SipAddress": {
      "type": "object",
      "description": "A person's SIP address. Session Initial Protocol addresses are used for VoIP communications to make voice or video calls over the internet.",
      "properties": {
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the SIP address."
        },
        "formattedType": {
          "type": "string",
          "description": "Output only. The type of the SIP address translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.",
          "readOnly": true
        },
        "value": {
          "description": "The SIP address in the [RFC 3261 19.1](https://tools.ietf.org/html/rfc3261#section-19.1) SIP URI format.",
          "type": "string"
        },
        "type": {
          "description": "The type of the SIP address. The type can be custom or or one of these predefined values: * `home` * `work` * `mobile` * `other`",
          "type": "string"
        }
      }
    },
    "Skill": {
      "type": "object",
      "properties": {
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the skill."
        },
        "value": {
          "type": "string",
          "description": "The skill; for example, `underwater basket weaving`."
        }
      },
      "description": "A skill that the person has."
    },
    "Source": {
      "description": "The source of a field.",
      "properties": {
        "updateTime": {
          "description": "Output only. **Only populated in `person.metadata.sources`.** Last update timestamp of this source.",
          "type": "string",
          "format": "google-datetime",
          "readOnly": true
        },
        "etag": {
          "description": "**Only populated in `person.metadata.sources`.** The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the source. Used for web cache validation.",
          "type": "string"
        },
        "id": {
          "type": "string",
          "description": "The unique identifier within the source type generated by the server."
        },
        "profileMetadata": {
          "$ref": "#/$defs/ProfileMetadata",
          "description": "Output only. **Only populated in `person.metadata.sources`.** Metadata about a source of type PROFILE."
        },
        "type": {
          "type": "string",
          "description": "The source type.",
          "enum": [
            "SOURCE_TYPE_UNSPECIFIED",
            "ACCOUNT",
            "PROFILE",
            "DOMAIN_PROFILE",
            "CONTACT",
            "OTHER_CONTACT",
            "DOMAIN_CONTACT"
          ]
        }
      },
      "type": "object"
    },
    "Tagline": {
      "description": "**DEPRECATED**: No data will be returned A brief one-line description of the person.",
      "type": "object",
      "properties": {
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the tagline."
        },
        "value": {
          "type": "string",
          "description": "The tagline."
        }
      },
      "deprecated": true
    },
    "Url": {
      "description": "A person's associated URLs.",
      "properties": {
        "formattedType": {
          "readOnly": true,
          "description": "Output only. The type of the URL translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.",
          "type": "string"
        },
        "type": {
          "type": "string",
          "description": "The type of the URL. The type can be custom or one of these predefined values: * `home` * `work` * `blog` * `profile` * `homePage` * `ftp` * `reservations` * `appInstallPage`: website for a Currents application. * `other`"
        },
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the URL."
        },
        "value": {
          "description": "The URL.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "UserDefined": {
      "type": "object",
      "properties": {
        "metadata": {
          "$ref": "#/$defs/FieldMetadata",
          "description": "Metadata about the user defined data."
        },
        "key": {
          "type": "string",
          "description": "The end user specified key of the user defined data."
        },
        "value": {
          "type": "string",
          "description": "The end user specified value of the user defined data."
        }
      },
      "description": "Arbitrary user data that is populated by the end users."
    }
  }
}