- Docs
- API reference
- Endpoints and schemas
- GraphQL
- Selection
BrandName
The customer-facing version of the name that best represents the business.
Selection. This type is a selection. You reach it through a connection, and you choose which of its fields come back.
The customer-facing version of the name that best represents the business.
Data Sources
Section titled “Data Sources”The brand name is derived from:
- Publicly available business data and listings
- Privately verified business information
Methodology
Section titled “Methodology”- Enigma uses high quality data sources to get the best representation of a business name. Within those data sources, Enigma ranks by dataset quality and frequency to determine the most likely name the business is referred to by.
- Persons: Agents/providers/business owners available in our data asset that are branded as the business will use their person name as the brand name. The company that employs the agents/providers will also have their own brand name and an affiliated relationship with the agents/providers.
- Sub-brands/Franchises: Businesses that operate multiple other businesses, or franchisers that are operated by multiple franchise locations available in our data asset will be referred to by different brand names and have affiliated brand relationships.
Where it appears
Section titled “Where it appears”Shortest path from a primary entity: Brand → names → BrandName.
Brand.names
Fields
Section titled “Fields”| Field | Label | Type | Description |
|---|---|---|---|
name |
Name | String |
The customer-facing version of the name that best represents the business. |
nameFullTextSearchVector |
String |
The search terms that Enigma makes from name 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 attribute or relationship. The source date is, for example, the date when Enigma collected the record or when the source last updated it. Most values have a date, a time, and a UTC offset, but some have the date only. |
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. |
|
internalBrandId |
String |
The internalId of the brand that this attribute describes. |
Math fields
Section titled “Math fields”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.
Example
Section titled “Example”query { search(searchInput: { entityType: BRAND name: "Safeway" conditions: { limit: 1 } }) { ... on Brand { id names(first: 1) { edges { node { id name nameFullTextSearchVector rank firstObservedDate } } } } }}Response, as returned:
{ "data": { "search": [ { "id": "0f26fbef-3436-4f85-8bcd-31fe12a4f99a", "names": { "edges": [ { "node": { "id": "00000052-0000-58be-0000-0a8000000000", "name": "SAFEWAY", "nameFullTextSearchVector": "'safeway':1", "rank": 0, "firstObservedDate": "2011-10-19 18:14:34+00" } } ] } } ] }}