- Docs
- API reference
- Endpoints and schemas
- GraphQL
- Selection
OperatingLocationLocationType
The type of operating location (e.g. retail, office, etc.)
Selection. This type is a selection. You reach it through a connection, and you choose which of its fields come back.
The location type of the operating location. Possible values include: professional service, retail, civic organization, hospitality, realestate, public venue, headquarters, office, trade service, business service, scientific, educational, supplier, government, residential, manufactoring, religious, agriculture, and medical. For example, a Target location where a customer can shop would have location_type of “retail”, whereas a Target location where a Target employee would work would have location_type of “office”.
Where it appears
Section titled “Where it appears”Shortest path from a primary entity: Brand → operatingLocations → OperatingLocation → locationTypes → OperatingLocationLocationType.
OperatingLocation.locationTypes
Fields
Section titled “Fields”| Field | Label | Type | Description |
|---|---|---|---|
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. |
rank |
Rank | Int |
Determines the display order of the attribute, with lower values shown first |
locationType |
Location Type | String |
The type of operating location (e.g. retail, office, etc.) |
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. |
|
internalOperatingLocationId |
String |
The internalId of the operating location 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 operatingLocations(first: 1) { edges { node { locationTypes(first: 1) { edges { node { id firstObservedDate lastObservedDate rank locationType } } } } } } } }}Response, as returned:
{ "data": { "search": [ { "id": "0f26fbef-3436-4f85-8bcd-31fe12a4f99a", "operatingLocations": { "edges": [ { "node": { "locationTypes": { "edges": [ { "node": { "id": "00000040-0006-227d-0000-0a8000000000", "firstObservedDate": "2026-08-12 11:30:00+00", "lastObservedDate": "2026-08-17 23:27:00+00", "rank": 0, "locationType": "headquarters" } } ] } } } ] } } ] }}