- Docs
- API reference
- Endpoints and schemas
- GraphQL
- Intent
attributeGroups
Returns the attribute groups of each entity type as JSON.
Intent. This intent is a read. It returns data and changes nothing.
Returns the attribute groups of each entity type as JSON. The result maps each entity type to its group labels, and each group label to a list of attribute paths.
Signature
Section titled “Signature”attributeGroups(entityType: EntityType): JSONReturns JSON.
Arguments
Section titled “Arguments”| Argument | Type | Description |
|---|---|---|
entityType |
EntityType |
Limits the result to one entity type. If you omit it, the result covers every entity type. One of BRAND, OPERATING_LOCATION, LEGAL_ENTITY, PERSON, ADDRESS. |
Example
Section titled “Example”query { attributeGroups(entityType: BRAND)}Response, as returned:
{ "data": { "attributeGroups": { "Brand": { "ID": [ "id" ], "Name": [ "names.name" ], "Address": [ "operatingLocations.addresses.fullAddress", "operatingLocations.addresses.streetAddress1", "operatingLocations.addresses.streetAddress2", "operatingLocations.addresses.city", "operatingLocations.addresses.state", "operatingLocations.addresses.zip", "operatingLocations.addresses.country", "operatingLocations.addresses.latitude", "operatingLocations.addresses.longitude" ], "Website": [ "websites.website" ], "Phone": [ "operatingLocations.phoneNumbers.phoneNumber" ], "Is Marketable": [ "isMarketables.isMarketable" ], "Reviews": [ "reviewCountTotal", "reviewScoreAvg", "reviewsLastObservedDate" ], "Industry": [ "industryEnigma.industryDesc", "industryNaics.industryCode", "industryNaics.industryDesc", "industryNaics.industryType" …}