Appearance
Kit: restaurant (tables)
A restaurant: a table for the length of a sitting; a visitor says how many they are, and the smallest table that seats them is theirs.
kind: restaurant. What a kit is and how to lay one out: kits.
Taken whole, with the client's facts put into it; anything taken out is a decision said to the developer and written in the brief.
Ask
The facts only the business has. Never fill them in; what is not answered is NEEDS CLIENT.
- zone: the business's time zone — from its address; say it back rather than asking
- hours: when it is open — the kit does not guess them
- the tables: each one's seats
- how long a sitting takes, if not two hours
Taken by default — say it, get a yes
What this kit chose for the trade. Say each back to the developer; a «no» is a new value in the bookings settings, jtk/modules/bookings.json.
- A booking is confirmed at once (
confirm: auto) — or does the business confirm each one by hand? - A visitor may cancel or move their booking themselves until 2 hours before it starts; after that only the business can (
cancel_until). - Nothing is paid online: the visitor pays on the day (
payment: no) — or a deposit, or in full when booking? - Bookable up to 60 days ahead (
horizon). - No sooner than an hour from now (
lead). - Start times offered every 15 minutes (
slot_every). - A visitor books for up to 8 at once (
party). - Shown to visitors: every table's name and its distinguishing marks, wherever a visitor may choose one; what is booked and their prices. Nothing goes into the marks that the client would not want printed.
- A new booking is sent where the site's enquiries go — the Telegram chat or the email a person links in the panel; an agent cannot link one. Ask which, and say it is theirs to link before the launch.
Collections
Where each one's entries are is its contract-3 route — and shown_on, for entries with no page of their own — as jtk create --kit writes it.
| collection | the diary's | uk | en | de | an entry is | where |
|---|---|---|---|---|---|---|
services | services | Посадки | Sittings | Reservierungsarten | seating | "route": "none", "shown_on": ["/reserve#services-{slug}"] |
tables | resources | Столи | Tables | Tische | table | "route": "none", "shown_on": ["/tables#tables-{slug}"] |
Entries
What the trade is sold in — units, never prices.
| slug | uk | en | de | takes | sold in | at least | at most |
|---|---|---|---|---|---|---|---|
table | Стіл | Table | Tisch | 2 hours | — | — | — |
Settings
The keys of settings in jtk/modules/bookings.json (on contract 2, the older contract, the fields of the bookings_config block in jtk/bookings.json); the modules reference says what each does.
| field | value |
|---|---|
cancel_until | 120 |
combine | false |
confirm | "auto" |
horizon | 60 |
kind | "restaurant" |
lead | 60 |
party | 8 |
payment | "no" |
scale | "hourly" |
slot_every | 15 |
The kit, whole
As GET /v1/kits/restaurant serves it and jtk create --kit reads it: in contract 2's words, which jtk create --kit puts in contract 3's (laying a kit out). Not a file to copy into a contract-3 site.
json
{
"kind": "restaurant",
"version": 2,
"sum": "8fe7e0c113cf",
"about": "A restaurant: a table for the length of a sitting; a visitor says how many they are, and the smallest table that seats them is theirs.",
"ask": [
"zone: the business's time zone — from its address; say it back rather than asking",
"hours: when it is open — the kit does not guess them",
"the tables: each one's seats",
"how long a sitting takes, if not two hours"
],
"catalogue": {
"blocks": [
{
"type": "seating",
"v": 1,
"label": {
"uk": "Бронювання столу",
"en": "Table booking",
"de": "Tischreservierung",
"ru": "Бронь столика",
"es": "Reserva de mesa",
"it": "Prenotazione del tavolo",
"pt": "Reserva de mesa",
"fr": "Réservation de table"
},
"fields": [
{
"key": "title",
"label": {
"uk": "Назва",
"en": "Name",
"de": "Name",
"ru": "Название",
"es": "Nombre",
"it": "Nome",
"pt": "Nome",
"fr": "Nom"
},
"kind": "text",
"required": true,
"max": 80,
"client_editable": true
},
{
"key": "takes",
"label": {
"uk": "Триває",
"en": "Takes",
"de": "Dauer",
"ru": "Длится",
"es": "Duración",
"it": "Durata",
"pt": "Duração",
"fr": "Durée"
},
"kind": "duration",
"required": true,
"min": 30,
"max": 360,
"client_editable": true
}
]
},
{
"type": "table",
"v": 1,
"label": {
"uk": "Стіл",
"en": "Table",
"de": "Tisch",
"ru": "Стол",
"es": "Mesa",
"it": "Tavolo",
"pt": "Mesa",
"fr": "Table"
},
"fields": [
{
"key": "title",
"label": {
"uk": "Назва",
"en": "Name",
"de": "Name",
"ru": "Название",
"es": "Nombre",
"it": "Nome",
"pt": "Nome",
"fr": "Nom"
},
"kind": "text",
"required": true,
"max": 80,
"client_editable": true
},
{
"key": "seats",
"label": {
"uk": "Місць",
"en": "Seats",
"de": "Plätze",
"ru": "Мест",
"es": "Plazas",
"it": "Posti",
"pt": "Lugares",
"fr": "Places"
},
"kind": "number",
"min": 1,
"max": 30,
"client_editable": true,
"no_tap_target": true,
"required": true
},
{
"key": "marks",
"label": {
"uk": "Відмітні ознаки",
"en": "Distinguishing marks",
"de": "Merkmale"
},
"kind": "text",
"max": 80,
"hint": {
"uk": "Що відрізняє від схожих: колір і номер, поверх, серійний номер.",
"en": "What tells it from its twins: colour and plate, floor, serial number.",
"de": "Was es von gleichen unterscheidet: Farbe und Kennzeichen, Stockwerk, Seriennummer."
},
"client_editable": true,
"no_tap_target": true
}
]
}
],
"collections": [
{
"name": "services",
"label": {
"uk": "Посадки",
"en": "Sittings",
"de": "Reservierungsarten",
"ru": "Посадки",
"es": "Turnos",
"it": "Turni",
"pt": "Turnos",
"fr": "Services"
},
"one": {
"uk": "посадка",
"en": "sitting",
"de": "Reservierungsart",
"ru": "посадка",
"es": "turno",
"it": "turno",
"pt": "turno",
"fr": "service"
},
"icon": "lucide:utensils",
"prefix": "/reserve",
"type": "seating",
"pages": false
},
{
"name": "tables",
"label": {
"uk": "Столи",
"en": "Tables",
"de": "Tische",
"ru": "Столы",
"es": "Mesas",
"it": "Tavoli",
"pt": "Mesas",
"fr": "Tables"
},
"one": {
"uk": "стіл",
"en": "table",
"de": "Tisch",
"ru": "стол",
"es": "mesa",
"it": "tavolo",
"pt": "mesa",
"fr": "table"
},
"icon": "lucide:armchair",
"prefix": "/tables",
"type": "table",
"pages": false
}
],
"modules": {
"bookings": {
"services": "services",
"resources": "tables"
}
}
},
"settings": {
"kind": "restaurant",
"scale": "hourly",
"slot_every": 15,
"lead": 60,
"horizon": 60,
"party": 8,
"confirm": "auto",
"cancel_until": 120,
"payment": "no",
"combine": false
},
"entries": [
{
"collection": "services",
"slug": "table",
"fields": {
"title": {
"uk": "Стіл",
"en": "Table",
"de": "Tisch",
"ru": "Стол",
"es": "Mesa",
"it": "Tavolo",
"pt": "Mesa",
"fr": "Table"
},
"takes": 120
}
}
],
"changes": [
{
"from": "1",
"says": "Five more languages: every label, collection name and rate of the kit now says ru, es, it, pt and fr beside uk, en and de (7 October 2026)."
}
]
}