Skip to content
Console(opens in a new tab)

Industry

The industry within which the business operates.

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

The industry within which the business operates.

Multiple distinct classification systems have been created to describe a businesses activity (e.g. NAICS, GICS, MCC, etc.). Each classification system has advantages and drawbacks. Rather than selecting one, our approach is to provide multiple different classifications for each business. We represent this as follows

  • industry_type indicates the classification system (e.g. NAICS)
  • industry_code is the code of a particular industry within a particular classification system
  • industry_desc is the human readable description for the industry_code

For example, give an example of how NAICS would look.

Many of the traditional classification systems such as NAICS and GICS were designed for statistical purposes by government or industry organizations. While useful for many purposes, we’ve received feedback that for certain use cases and business types these classifications systems lack the expressiveness and detail to understand a businesses activity. To address this, enigma_industry_description provides a colloquial classification with more granular insight into a business’s primary activity than NAICS. This makes it particularly useful for granular business searches. For example, both an indian restaurant and a hamburger restaurant map to the same NAICS code (72251), but enigma_industry_description distinguishes between them.

Industry data is derived from a variety of sources:

  • company websites
  • industry association memberships
  • card transaction data

Shortest path from a primary entity: Brand → industries → Industry.

Field Label Type Description
rank Rank Int Determines the display order of the attribute, with lower values shown first
industryDesc Industry Description String Human-readable description of the industry.
industryCode Industry Code String Numeric industry code.
industryType Industry Type String Human-readable description of the industry classification system (e.g. Enigma Industry Description, NAICS, MCC, etc.)
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.
internalIndustryId String A numeric identifier that Enigma assigns to the industry when it builds its data. All Industry objects for one industry share this value.

Each one is a connection: read it through edges { node { … } }, page it with first, and narrow it with conditions.

Field Leads to Description
brands Brand Brands that do business within this industry. Default first: 100.
parentIndustries Industry The industry within which the business operates. Default first: 100.

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
industries(first: 1) {
edges { node {
id
rank
industryDesc
industryCode
industryType
} }
}
}
}
}

Response, as returned:

{
"data": {
"search": [
{
"id": "0f26fbef-3436-4f85-8bcd-31fe12a4f99a",
"industries": {
"edges": [
{
"node": {
"id": "00000004-0000-0177-0000-098000000000",
"rank": 0,
"industryDesc": "Supermarkets and Other Grocery Retailers (except Convenience Retailers)",
"industryCode": "445110",
"industryType": "naics_2022_code"
}
}
]
}
}
]
}
}