Skip to content

app.venues

TableRow level security on

Venues the org produces in (Section 7.4 Places, engagement contract). The venue's jurisdiction supplies permit rules and responding agencies.

Primary key: id

Columns of app.venues
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
nametextNoVenue name, unique within the org ignoring case.
jurisdiction_idtextNoJurisdiction the venue sits in, at the finest level known (country, region or AHJ).References xpms.jurisdiction.jurisdiction_id
time_zonetextNoIANA time zone of the venue; local times typed for the venue are read in it.
street_addresstextYesStreet address line.
localitytextYesCity or locality.
postal_codetextYesPostal code.
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
locationgeography(Point,4326)YesVenue location as a WGS 84 point (postgis). NULL when the venue has not been located; a map shows only located venues and never guesses a position.
subdivision_codetextYesISO 3166-2 code of the state or province the venue is in, for example US-CA. State wage-hour rules (private.state_wage_hour_rules) apply to work on its projects.