Liquor
The liquor rules across a locale: last call, when drinks must be cleared, closing and re-entry, as its state and cities set them.
Objects
Section titled “Objects”LiquorRule
Section titled “LiquorRule”Object
A rule about when alcohol may be sold or drunk, or when premises close, as a state or city sets it. Researched from the cited source; informational, not legal advice.
| Field | Type | Description |
|---|---|---|
afterMidnight |
Boolean! |
Whether time falls after midnight of the night it applies to. |
confidence |
LiquorRuleConfidence! |
How sure the research is. |
dates |
[String!]! |
Nights it applies to as MM-DD, for holidays; empty when days says. |
days |
[String!]! |
The nights it applies to (mon to sun): Friday night’s 2 a.m. close is fri. |
id |
ID! |
Its stable key, e.g. ut-bar-sale-end. |
jurisdiction |
String! |
Who sets it: a region code (UT), or region and place (UT/Provo). |
kind |
LiquorRuleKind! |
What it restricts. |
licenseClasses |
[String!]! |
The licenses it applies to, e.g. bar, or all_on_premise. |
localOverridePossible |
Boolean! |
Whether a county or city can set different hours. |
notes |
String |
Caveats from the research. |
sourceTitle |
String |
The statute, code section or page it comes from. |
sourceUrl |
String |
Where that source was read. |
summary |
String! |
The rule in a sentence. |
time |
String |
Local time as HH:MM; null for rules with no time. |
verifiedAt |
ISO8601Date |
When it was last checked against its source. |
LiquorRuleConnection
Section titled “LiquorRuleConnection”Object
The connection type for LiquorRule.
| Field | Type | Description |
|---|---|---|
edges |
[LiquorRuleEdge] |
A list of edges. |
nodes |
[LiquorRule] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
LiquorRuleEdge
Section titled “LiquorRuleEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
LiquorRule |
The item at the end of the edge. |
LocaleLiquorView
Section titled “LocaleLiquorView”Object · implements ILocaleLiquor
The local Liquor implementation of a locale’s liquor rules.
| Field | Type | Description |
|---|---|---|
jurisdictions |
[String!]! |
The states and cities whose rules apply, most general first: those of the locales it lies within, then its own. |
rulesafter: Stringbefore: Stringfirst: Intkinds: [LiquorRuleKind!]last: Int |
LiquorRuleConnection! |
Their rules, grouped by jurisdiction. Empty for a locale not researched yet. |
Interfaces
Section titled “Interfaces”ILocaleLiquor
Section titled “ILocaleLiquor”Interface · implemented by LocaleLiquorView · mixin edge liquor on Locale
The liquor rules across a locale: last call, when drinks must be cleared, closing and re-entry, as its state and cities set them.
| Field | Type | Description |
|---|---|---|
jurisdictions |
[String!]! |
The states and cities whose rules apply, most general first: those of the locales it lies within, then its own. |
rulesafter: Stringbefore: Stringfirst: Intkinds: [LiquorRuleKind!]last: Int |
LiquorRuleConnection! |
Their rules, grouped by jurisdiction. Empty for a locale not researched yet. |
LiquorRuleConfidence
Section titled “LiquorRuleConfidence”Enum
How sure the research behind a liquor rule is.
HIGHRead in the statute, regulation, code or agency page itself.LOWNot confirmed, or a finding that no rule exists.MEDIUMFrom the source, with some interpretation or an older copy.
LiquorRuleKind
Section titled “LiquorRuleKind”Enum
What a liquor rule restricts.
CLOSING_TIMEWhen premises must close or patrons leave.CONSUMPTION_ENDWhen drinks must be finished or cleared away.HOLIDAY_EXCEPTIONDifferent hours on a holiday, e.g. New Year’s Eve.LATE_NIGHT_PERMITA license or district that allows later hours.OFF_PREMISE_SALE_ENDWhen stores must stop selling.OFF_PREMISE_SALE_STARTWhen stores may start selling.OTHERAnything else, including findings that no such rule exists.REENTRYLimits on letting patrons in again, or in at all, late at night.SALE_ENDThe last moment a drink may be sold or served: the legal last call.SALE_STARTWhen drinks may first be sold or served.SUNDAY_RULEHow Sundays differ.