Workflows

Planning facts

Markdown

Beyond the description and photos, a spot carries structured facts buyers plan with. Each has a shape in the field reference. The same rules hold for all of them.

Rules for every fact

  • From the creator or a named source. Put the evidence in sources (the page, when it was read, which facts it backs). Sources are for the creator's review; buyers never see them.
  • Full replacement. Lists replace the whole list: send every entry you want to keep. [] clears a list, null clears an object, an empty string clears text.
  • Dates expire. Give dated facts their dates: until on a status notice, validFrom and validUntil on fees and hours, factsCheckedOn and reviewBy on the row. Readiness and list_stale_notices list everything that ran out.
  • Say when there is none. arrival.byTrainBus.none for no public transport, a fee with seeOfficial for a price left to the official page on purpose, food.status: none_nearby. These read differently from an empty field.
  • Keep the creator's words. costRaw and openRaw stay as written; add the structure next to them.

On a spot

FactShapeFor
How to get thereArrivalBy car, public transport, boat, air, on foot, by bike, whole approaches as legs, access rules by month
Opening hoursScheduleBands by date and weekday, sunrise and sunset anchors, special days, timed slots
Fees and ticketsFeeAmount, currency, who pays what, where, validity
ClosuresStatusNoticeClosed, partly closed or reopening, with dates
LinksGuideLinkOfficial page, tickets, live status, timetables
Extra pointsSpotPinViewpoints, entrances, trailheads, parking
Rules on siteRestrictionNo drones, no photos, no stopping, with a place
Parts with their own rulesSpotFeatureA ticketed skyway, a museum inside a park
EventsSpotEventLight shows, festivals, tides
The stats barTripFactsElevation, crowds, best season

accessMode sets the Accessibility cell (drive_up, short_walk, hike, boat ...). timeZone comes from the pin; set it only when the lookup is wrong near a border.

Areas: rules for a whole park or island

Fees, road seasons and permits that apply to a whole park, island or region live once in an area (set_area, shape Area). Spots point at it with areaId and buyers see the area's rules on each of them.

Places

Stays, transport, tours, food and parking are places: create_facility. Give them a pin (lat, lon) so the apps map them and show the distance to the spot; a text-search map link alone can open a namesake. Transport, tours and parking have their own details (TransportInfo, ActivityInfo, ParkingInfo). Link a place to spots with spotKeys, or to a hike with set_hike_facilities.

Hikes

A hike is its own row: create_hike with its difficulty (easy, moderate, hard or expert), an optional grade as the creator or the trail page writes it (T2, K3, Class 3), walking time, gain, descent, distance, the trailhead, transit notes, sources and the line from the creator's GPX or KML (at most 1,000 points). spotKeys links the spots it goes to in the same call, or set_hike_spots later; a hike can go to several spots. The easiest hike of a spot fills its Accessibility cell (Moderate · T2).

A multi-day hike is an itinerary: one hike per stage (a stage needs no spot), one day per stage with its { kind: "hike", hikeId } stop and the night at a hut as the day's overnight.