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
| Column | Type | Nullable | Description |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org. A row never moves to another org.References app.organizations.id |
| name | text | No | Venue name, unique within the org ignoring case. |
| jurisdiction_id | text | No | Jurisdiction the venue sits in, at the finest level known (country, region or AHJ).References xpms.jurisdiction.jurisdiction_id |
| time_zone | text | No | IANA time zone of the venue; local times typed for the venue are read in it. |
| street_address | text | Yes | Street address line. |
| locality | text | Yes | City or locality. |
| postal_code | text | Yes | Postal code. |
| deleted_at | timestamp with time zone | Yes | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Yes | Person who inserted the row, or null for a platform process. Set by the database.References app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Yes | Person who last changed the row, or null for a platform process. Set by the database.References app.people.id |
| location | geography(Point,4326) | Yes | Venue 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_code | text | Yes | ISO 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. |