OperatingLocationRevenueQuality
Description
Warnings and issues related to the revenue of this operating location.
type OperatingLocationRevenueQuality implements NodeFunctions {
id: UUID!
firstObservedDate: String
lastObservedDate: String
rank: Int
issueReason: String
issueSeverity: String
issueDescription: String
internalId: String
internalOperatingLocationId: String
count(
field: String!
conditions: Conditions
dataLayer: DataLayer
): Int
countDistinct(
field: String!
conditions: Conditions
): Int
has(
field: String!
conditions: Conditions
): Boolean
sum(
field: String!
conditions: Conditions
): Int
min(
field: String!
conditions: Conditions
): Int
max(
field: String!
conditions: Conditions
): Int
avg(
field: String!
conditions: Conditions
): Float
collect(
field: String!
separator: String
conditions: Conditions
): String
minDateTime(
field: String!
conditions: Conditions
): DateTime
maxDateTime(
field: String!
conditions: Conditions
): DateTime
_fn: JSON
}
Fields
OperatingLocationRevenueQuality.id ● UUID! non-null scalar
OperatingLocationRevenueQuality.firstObservedDate ● String scalar
OperatingLocationRevenueQuality.lastObservedDate ● String scalar
OperatingLocationRevenueQuality.rank ● Int scalar
Determines the display order of the attribute, with lower values shown first
OperatingLocationRevenueQuality.issueReason ● String scalar
The reason for the revenue quality issue.
The reasons signify the following:
-
**OVER_100X_REVENUE_AND_20M_ANNUAL_REVENUE_EXTRAPOLATION** (HIGH severity): 100x and $20M annual revenue extrapolated by our models from raw revenue sources.
-
**OVER_100X_REVENUE_EXTRAPOLATION** (HIGH severity): 100x revenue extrapolated by our models from raw revenue sources.
-
**OVER_20M_ANNUAL_REVENUE_EXTRAPOLATION** (HIGH severity): $20M annual revenue extrapolated by our models from raw revenue sources.
-
**REVENUE_DECREASE_TO_0_PCT_LOCATION_OPEN** (HIGH severity): Revenue drops to zero and location status is currently open.
-
**REVENUE_DECREASE_TO_20_PCT_LOCATION_OPEN** (HIGH severity): Revenue drop to 20% of the median revenue over the past 12 months and location status is currently open.
-
**CLOSED_BUT_STILL_HAVE_POSITIVE_REVENUE** (HIGH severity): Operating location is identified as Closed or Temporarily Closed for over 2 months but still has positive revenue.
-
**12M_REVENUE_LOWER_THAN_5K** (HIGH severity): 12m revenue <$5K for operating location that is card-accepting, mostly offline, not newly open.
-
**REVENUE_INCREASE_TO_250_PCT_IN_LAST_18M** (HIGH severity): Revenue increase to 250% of the median revenue for 3 months in the past 18 months.
-
**REVENUE_INCREASE_TO_250_PCT_ALL_TIME** (HIGH severity): Revenue increase to 250% of the median revenue for 3 months at any point in its revenue history.
-
**GREATER_THAN_10X_INTERQUARTILE_RANGE_ABOVE_Q3_WITHIN_BRAND** (HIGH severity): Operating location revenue in the last 12 months is 10x IQR over p75 of operating locations within brand.
-
**GREATER_THAN_5X_INTERQUARTILE_RANGE_ABOVE_Q3_WITHIN_BRAND** (MEDIUM severity): Operating location revenue in the last 12 months is 5x IQR over p75 of operating locations within brand.
-
**OVERLY_HIGH_PCT_OF_BRAND_REV** (MEDIUM severity): Operating location contributes very high portion of revenue for the brand.
- >10% brand revenue for brands with >= 100 open operating locations
- >30% brand revenue for brands with >= 10 open operating locations
- >50% brand revenue for brands with >= 4 open operating locations
-
**REVENUE_DECREASE_TO_0_PCT_LOCATION_UNKNOWN** (MEDIUM severity): Revenue drop to zero and location status is currently unknown.
-
**REVENUE_DECREASE_TO_20_PCT_LOCATION_UNKNOWN** (MEDIUM severity): Revenue drop to 20% of the median revenue over the past 12 months and location status is currently unknown.
-
**EXCEED_P99_WITHIN_4_DIGIT_NAICS** (MEDIUM severity): Operating location revenue is greater than 99th percentile revenue within its 4-digit naics code in last 12m.
OperatingLocationRevenueQuality.issueSeverity ● String scalar
The severity of the revenue quality issue.
OperatingLocationRevenueQuality.issueDescription ● String scalar
A description of the revenue quality issue.
OperatingLocationRevenueQuality.internalId ● String scalar
OperatingLocationRevenueQuality.internalOperatingLocationId ● String scalar
OperatingLocationRevenueQuality.count ● Int scalar
OperatingLocationRevenueQuality.count.field ● String! non-null scalar
OperatingLocationRevenueQuality.count.conditions ● Conditions input
OperatingLocationRevenueQuality.count.dataLayer ● DataLayer enum
The layer of records count(field: "records") counts on a search's own legal entities, persons and addresses and on the Record a search with entityType RECORD returns; UNGROUNDED on a legal entity, person or address below a search's own results is an error, and every other count ignores dataLayer. GROUNDED counts the records linked in the graph; UNGROUNDED counts gov-archive store records: on a legal entity, person or address, each record once whose asserted entity's value is wholly, case and separators aside, one of its names or its full address (ACME INC counts no record of ACME INC OF TEXAS), and on that Record, every record the store finds for the search. Without dataLayer, GROUNDED, but on the Record of an UNGROUNDED search the records of both, a record in both counted once. Null, with an error, where the records cannot all be counted, such as past 5 seconds or on a result with more than 20 values.