Skip to content
Console(opens in a new tab)

PersonName

Persons, who may be associated with a business as an owner, officer or contact.

Selection. This type is a selection. You reach it through a connection, and you choose which of its fields come back.

Persons, who may be associated with a business as an owner, officer or contact.

Shortest path from a primary entity: Brand → websites → Website → persons → Person → names → PersonName.

Field Label Type Description
firstName First Name String The person’s first name.
lastName Last Name String The person’s last name.
fullName Full Name String The person’s full name.
dateOfBirth Date of Birth DateTime The person’s date of birth.
fullNameFullTextSearchVector String The search terms that Enigma makes from fullName for full-text search. Each term is a normalized word from the name, with its position in the name.
rank Rank Int Determines the display order of the attribute, with lower values shown first
id ID UUID! The unique identifier of this object.
firstObservedDate First Observed Date String The earliest date of a source record that supports this name. The value is null when it is the same as lastObservedDate, because some sources supply only one snapshot of this data.
lastObservedDate Last Observed Date String The latest date of a source record that supports this attribute or relationship. It uses the same source dates and the same format as firstObservedDate.
internalId String A numeric identifier that Enigma assigns to this object when it builds its data. On most attribute objects, id is the UUID form of this number.
internalPersonId String The internalId of the person that this name belongs to.

Every record of this type answers count, countDistinct, has, sum, min, max, avg, collect, minDateTime, maxDateTime. Each takes field and an optional conditions. See Selection.

query {
search(searchInput: {
entityType: BRAND
name: "Safeway"
conditions: { limit: 1 }
}) {
... on Brand {
id
websites(first: 1) {
edges { node {
persons(first: 1) {
edges { node {
names(first: 1) {
edges { node {
id
firstName
lastName
fullName
dateOfBirth
} }
}
} }
}
} }
}
}
}
}

Response, as returned:

{
"data": {
"search": [
{
"id": "0f26fbef-3436-4f85-8bcd-31fe12a4f99a",
"websites": {
"edges": [
{
"node": {
"persons": {
"edges": []
}
}
}
]
}
}
]
}
}