Skip to content
1 viewer
View

Venue reference

4 pages, 14 routes, 14 connections and 4 CLI commands, generated from the declarations of Venue without reading storage or running anything.

AboutCode

Code · 0 files

No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.

Pages · 7

Declared views
PageView idRoleRouteOrderParentEntityNavigation
New venuevenue.editoreditor/view/venue/create0venues.directoryVenuehidden
Edit venuevenue.editoreditor/view/venue/{venue_id}/edit0venues.directoryVenuehidden
Overviewvenue.homehome/view/venue0in navigation
Venue detailsvenue.itemdetail/view/venue/{venue_id}0venues.directoryVenuehidden
Dashboardvenue.dashboarddashboard/view/venue/dashboard10in navigation
Listvenues.directorylist/view/venue/list20Venuein navigation
Venuesvenue.index/view/venue/indexin navigation
7 rows

Connections · 14

Venue.Archive

Retire a venue; it stays readable with its archived status.

Venue.Archive input
FieldTypeRequiredDescriptionAllowed
venue_idstringrequiredThe venue, from the page's address.
owner_org_idstringoptionalWith `slug`, another way to name the venue.
slugstringoptionalWith `owner_org_id`, another way to name the venue.
actorstringoptionalWho is acting: the verified caller. Named only on the unsessioned CLI path.
4 rows
Calls and output
  • Output keyvenue.result
  • Classificationreal
  • POST /venue/archiveHTTP route

Venue.Availability

A venue's live room availability — each room resolved against Schedule (room id = resource_id).

Venue.Availability input
FieldTypeRequiredDescriptionAllowed
venue_idoptional
1 row
Calls and output

Venue.BookingDecide

Take the next step on a booking: the venue holds, offers, confirms or declines; the act accepts or withdraws.

Venue.BookingDecide input
FieldTypeRequiredDescriptionAllowed
booking_idstringrequiredThe booking the step is taken on.
decisionstringrequiredhold, offer, confirm or decline for the venue; accept or withdraw for the act that asked.
termsstringoptionalThe venue's offer: the fee or split, load-in and set length. Needed to make an offer.
notestringoptionalA line the other side reads with this step.
event_idstringoptionalThe event made for this booking, when the venue names one.
actorstringoptionalWho is acting: the verified caller. Named only on the unsessioned CLI path.
6 rows
Calls and output
  • Output keyvenue.result
  • Classificationreal
  • POST /venue/booking/decideHTTP route

Venue.BookingRequest

Ask a published venue for a date to play; the venue answers with a hold, an offer or a decision.

Venue.BookingRequest input
FieldTypeRequiredDescriptionAllowed
venue_idstringrequiredThe venue, from the page's address.
act_namestringrequiredWho is asking to play: the artist or band name as it would be billed.
datestringrequiredThe date asked for, on the venue's calendar.
room_idstringoptionalThe room asked for. Left blank, the request is for the whole venue.
messagestringoptionalWhat the show is, the set length, what the act needs and what it expects to draw.
media_pack_urlstringoptionalThe act's media pack or site: an https address, or a page on this site.
actorstringoptionalWho is acting: the verified caller. Named only on the unsessioned CLI path.
7 rows
Calls and output
  • Output keyvenue.result
  • Classificationreal
  • POST /venue/booking/requestHTTP route

Venue.BookingSheet

Write a booking's working documents: the venue writes the deal, the act writes its tech rider.

Venue.BookingSheet input
FieldTypeRequiredDescriptionAllowed
booking_idstringrequiredThe booking the step is taken on.
guaranteestringoptionalPaid to the act whatever the door takes, like 300.
artist_splitstringoptionalA whole percent, like 70 or 70/30. The venue keeps the rest.
deal_structurestringoptionalversus: the greater of the two. plus: the guarantee, then the split of what is left.
venue_costsstringoptionalTaken off the door before the split.
fee_percentstringoptionalOf paid ticket money, like 2.9.
fee_per_ticketstringoptionalA flat amount, like 0.30.
depositstringoptionalPaid to the act ahead of the show.
deposit_duestringoptionalYYYY-MM-DD.
deposit_paidstringoptionaltrue once the deposit has been paid.
ticket_pricestringoptionalThe price the deal assumes.
door_pricestringoptionalThe price at the door the deal assumes.
expected_salesstringoptionalA whole number.
load_instringoptionalA time on the venue's clock, like 17:00 or 5pm.
soundcheckstringoptionalA time, like 18:00.
doorsstringoptionalA time, like 19:00.
set_timestringoptionalWhen the act goes on, like 21:00.
set_minutesstringoptionalIn minutes.
curfewstringoptionalA time; may be after midnight.
rider_inputsstringoptionalOne channel a line: channel | source | mic or DI | note.
rider_monitorsstringoptionalOne mix a line: mix | who hears it | what goes in it.
rider_powerstringoptionalOutlets and where they are needed.
rider_backlinestringoptionalWhat the act brings and what it asks the house for.
rider_stage_plotstringoptionalOne thing a line: item | position on stage | note.
rider_notesstringoptionalAnything else the crew should know.
event_idstringoptionalThe event made for this booking, when the venue names one.
actorstringoptionalWho is acting: the verified caller. Named only on the unsessioned CLI path.
27 rows
Calls and output
  • Output keyvenue.result
  • Classificationreal
  • POST /venue/booking/sheetHTTP route

Venue.Bookings

Booking requests as the signed-in reader may see them: every request at a venue the reader runs, with hold order and the steps open to the venue; otherwise the reader's own requests.

Venue.Bookings input
FieldTypeRequiredDescriptionAllowed
venue_idoptional
booking_idoptional
event_idoptional
3 rows
Calls and output
  • Output keyvenue.result
  • Classificationroute_handler
  • POST /venue/bookingsHTTP route

Venue.Create

Create a draft venue for an organization you run; it binds the venue as its own.

Venue.Create input
FieldTypeRequiredDescriptionAllowed
owner_org_idstringrequiredThe organization that owns and runs the venue. You must be its owner, a founder or an operator.
namestringrequiredWhat people call the place.
slugstringoptionalLowercase letters, digits and dashes, made from the name when left blank. It is part of the venue's identity and cannot change later.
summarystringoptionalA sentence or two about the place.
addressstringoptional
latnumberoptional
lngnumberoptional
timezonestringoptional
max_capacityintegeroptionalThe most people the venue holds.
hoursarrayoptionalA day with no line is closed.
actorstringoptionalWho is acting: the verified caller. Named only on the unsessioned CLI path.
11 rows
Calls and output

Venue.Get

Fetch one venue with its ordered rooms.

Venue.Get input
FieldTypeRequiredDescriptionAllowed
venue_idoptional
1 row
Calls and output
  • Output keyvenue.result
  • Classificationroute_handler
  • POST /venue/getHTTP route

Venue.List

List venues.

Calls and output

Venue.Publish

Publish a venue so every reader can find it.

Venue.Publish input
FieldTypeRequiredDescriptionAllowed
venue_idstringrequiredThe venue, from the page's address.
owner_org_idstringoptionalWith `slug`, another way to name the venue.
slugstringoptionalWith `owner_org_id`, another way to name the venue.
actorstringoptionalWho is acting: the verified caller. Named only on the unsessioned CLI path.
4 rows
Calls and output
  • Output keyvenue.result
  • Classificationreal
  • POST /venue/publishHTTP route

Venue.RoomAdd

Add a bookable room to a venue; its id becomes the Schedule resource_id.

Venue.RoomAdd input
FieldTypeRequiredDescriptionAllowed
venue_idstringrequiredThe venue, from the page's address.
namestringrequiredWhat the room is called; adding a room with the same name again updates it.
capacityintegeroptionalThe most people the room holds.
order_indexintegeroptionalWhere the room sorts among the venue's rooms; last when left blank.
owner_org_idstringoptionalWith `slug`, another way to name the venue.
slugstringoptionalWith `owner_org_id`, another way to name the venue.
actorstringoptionalWho is acting: the verified caller. Named only on the unsessioned CLI path.
7 rows
Calls and output

Venue.Status

The venues bound to the organizations the signed-in reader runs: counts by status, rooms and capacity, drafts to publish, recent changes, and venues still waiting to be bound.

Calls and output
  • Output keyvenue.result
  • Classificationroute_handler
  • GET /venue/statusHTTP route

Venue.Update

Change a venue's name, summary, address, coordinates, time zone, capacity, weekly hours or linked scan.

Venue.Update input
FieldTypeRequiredDescriptionAllowed
venue_idstringrequiredThe venue, from the page's address.
namestringoptionalWhat people call the place.
summarystringoptionalA sentence or two about the place.
addressstringoptional
latnumberoptional
lngnumberoptional
timezonestringoptional
max_capacityintegeroptionalThe most people the venue holds.
hoursarrayoptionalA day with no line is closed.
scanintegeroptionalThe number of a scan you may read (your own, or a public one). 0 removes the link.
owner_org_idstringoptionalWith `slug`, another way to name the venue.
slugstringoptionalWith `owner_org_id`, another way to name the venue.
actorstringoptionalWho is acting: the verified caller. Named only on the unsessioned CLI path.
13 rows
Calls and output
  • Output keyvenue.result
  • Classificationreal
  • POST /venue/updateHTTP route

Venue.ViewPatch

Venue.ViewPatch input
FieldTypeRequiredDescriptionAllowed
venue_idoptional
1 row
Calls and output
  • Output keyvenue.result
  • Classificationunclassified
  • GET /venue/document/patchHTTP route

CLI commands · 4

venue availability

Fetch a venue's live room availability, each room resolved against Schedule

venue availability {"venue_id":"venue-..."}

venue create

Create a draft venue (owner_org_id + name required)

venue create {"owner_org_id":"org-...","name":"The Blue Note"}

venue list

List venues

venue list

venue room-add

Add a bookable room to a venue (its id becomes the Schedule resource_id)

venue room-add {"venue_id":"venue-...","name":"Main Stage","capacity":300}

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper
  • Preferred truthhyper
  • App ownerVenue
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
  • Venue
  • VenueBooking
  • VenueRoom
Hyper vertex kinds written
  • Venue
  • VenueBooking
  • VenueRoom
Hyper edge kinds written
  • venue.owned_by
  • venue.room_of
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Protocol

Structure review · 1

Warnings · 1