# tour-data.json (v1)

The contract between the Book Tour Strategy prompt (which writes it) and the map viewer at grow.kit.com/book-tour-1fc94af14d (which renders it). The AI outputs **people and facts**; the viewer does all placement, scoring, tiers and verdicts. Keep the file under 300KB.

```json
{
  "version": 1,
  "generated": "2026-11-09",
  "author": { "name": "Maya Okafor", "first_name": "Maya", "site": "https://example.com", "home_city": "Denver" },
  "book": {
    "title": "The Quiet Pitch",
    "one_liner": "How introverts win the room without raising their voice.",
    "launch_date": "2027-04-06",
    "cover_url": "https://example.com/cover.jpg",
    "topics": ["communication", "careers", "business"]
  },
  "threshold": 10000,
  "city_totals": { "New York": 2140, "Austin": 610, "Chicago": 980 },
  "tour": {
    "short": [ { "city": "New York", "why": "Launch week, and Kit Studios is free here" }, { "city": "Austin", "why": "8 podcasts record here" } ],
    "medium": [ { "city": "Chicago", "why": "A solid room of readers" } ],
    "extended": []
  },
  "totals": { "active": 41200, "influential": 612, "located": 240 },
  "confirmed": [ { "city": "New York", "dates": "April 6 to 8", "note": "Launch week" } ],
  "pending": [ { "city": "Austin", "dates": "May 12 to 14", "note": "Conference invite, not signed yet" } ],
  "venues": [ { "city": "New York", "name": "Kit Studios NYC", "note": "free on paid Kit plans" } ],
  "dates": [
    { "when": "Apr 6", "title": "Launch day", "note": "", "status": "confirmed" },
    { "when": "May 12 to 14", "title": "Conference, Austin", "note": "Not signed yet.", "status": "pending" }
  ],
  "voice_card": "Short sentences. Greets with first name. Signs off with 'Thanks!'. Never uses 'reach out'.",
  "people": [
    {
      "id": "p1",
      "first_name": "Dana",
      "name": "Dana Reyes",
      "handle": "danareyes",
      "platform": "instagram",
      "reach": 48000,
      "email": "",
      "city": "New York",
      "city_source": "kit",
      "opened_90": true,
      "clicked_90": false,
      "fit": 4,
      "roles": ["host", "podcast"],
      "show": "Quiet Leaders",
      "what_they_do": "Executive coach and author, hosts a leadership podcast.",
      "why": "Fellow author who hosts a show on the book's topic.",
      "links": { "x": "", "instagram": "https://instagram.com/danareyes", "linkedin": "", "youtube": "", "tiktok": "", "web": "https://example.com" },
      "followers": { "instagram": 48000 },
      "note_host": "Hey Dana. ...",
      "note_podcast": "Hey Dana. ...",
      "note_buyer": ""
    }
  ],
  "podcasts_nearby": [
    {
      "show": "Example Show",
      "host": "Sam Lee",
      "city": "Austin",
      "city_confidence": "high",
      "records_remote": true,
      "category": "Careers",
      "url": "https://podcasts.apple.com/...",
      "contact": { "type": "guest_form", "value": "https://example.com/guests" },
      "on_list": false,
      "person_id": "",
      "pick": true,
      "why": "Interviews authors on work and communication.",
      "note": "Hi Sam. I'm in Austin [your dates] recording a few conversations for The Quiet Pitch..."
    }
  ]
}
```

## Field rules

- **people[]** is every influential subscriber worth showing (threshold and up) who has a city. `city` must be one of the 31 names in `city-centroids.json` (the viewer places by name, not coordinates) or `""` for unplaced. `city_source` is `kit` (Kit location) or `bio` (city read from a bio; scored at 0.8).
- `fit` 0 to 5: how close their work is to the book's topic and to hosting a room. 3 and up can be a host. Brand inboxes, kids' accounts, agencies, and sensitive-topic profiles are left out entirely (Rule 4 of the prompt).
- `roles`: `host` (one of the city's 3 host picks), `podcast` (bio says they host a show), `buyer` (has the pre-order / beta / buyer tag), `friend` (the author told us they know them). A person can have several.
- `reach` is total followers across platforms as Signals reports it (`social_reach`). The viewer caps any one person at 10,000,000 when scoring.
- `email` is the subscriber's email from Kit. The author owns this data. Fill it only for people with the `podcast` or `host` role (that is who the author will write to); leave `""` otherwise.
- `links.*` are full profile URLs and may contain `@` (`youtube.com/@handle`, `tiktok.com/@handle`). `first_name` comes from Kit, else from the profile name or handle; leave `""` when nothing credible exists and the viewer will omit the greeting.
- `totals.located` counts everyone placed on a metro before the prompt's Rule 4 exclusions; `people[]` is the smaller set that passed them.
- `note_*` are the drafted first messages in the author's voice, 2 to 5 sentences, with `[your dates]` wherever the city is not confirmed. Any of the three may be `""`.
- **podcasts_nearby[]** comes from the Kit podcast reference (`podcasts.json`). `city_confidence` is `high` or `medium` only; `contact` is the show's own published contact (`feed_email`, `guest_form`, `contact_page`, `booking`). If the host is also on the author's list, set `on_list: true` and `person_id` to their `people[].id`; the viewer then shows the subscriber's details instead.
- **tour** holds the Short, Medium and Extended city lists the author confirmed, in order, each with a one-line reason. The map uses these lists as given; without `tour`, it ranks cities itself.
- `podcasts_nearby[].pick` marks the 2 or 3 shows to lead with in a city, and `note` is the drafted pitch to that show.
- `city_totals` is the number of active subscribers within 50 miles of each tour city, from one counted `filter_subscribers` location query per city. The map shows it at the top of each city.
- `followers` holds per-platform follower counts from Signals (`x`, `instagram`, `linkedin`, `youtube`, `tiktok`); the map shows each next to its profile link.
- **pending[]** mirrors `confirmed[]` for cities where something is in motion but not booked (the author's "Pending" label). The viewer shows the status and uses the dates in notes, but does not pin the city.
- **dates[].status**: `confirmed` (the author said so), `pending` (in motion, not booked), `suggested`, `annual`.
- No raw bios, no demographic fields, no fields not listed here. Unknown fields are ignored by the viewer.

## What the viewer computes

- Places each person on their city's centroid; counts people, combined reach, podcast hosts and buyers per city.
- Room score per city = Σ min(reach, 10M) × (0.5 if not opened in 90 days) × (1.0 if fit ≥ 3, 0.6 if fit ≥ 1, 0.25 if fit = 0) × (0.8 if city_source = bio).
- Pins `confirmed` cities and any city with a `venues` entry to the Short list; ranks the rest by room score; Short = 5, Medium = 8, Extended = 12, everything else is "worth a stop if it is on the way."
- Hosts tab = up to 3 people with `host` role (or, if none tagged, the top 3 by fit then reach with fit ≥ 3). Podcasts tab = people with `podcast` role plus `podcasts_nearby` for that city. Bought tab = `buyer` role. More = the rest.
- One-line verdict per city from a fixed set of rules (launch week, venue, home, podcast city, biggest room, buyers first, small group with very big readers, solid mid-size room, outside the US).
- Refuses to render if `people[].email` is set on someone without a `host` or `podcast` role, or if an email-shaped string appears outside `people[].email`, `podcasts_nearby[].contact` and `links.*` URLs.
- Under the map, a "Your top five cities" list: the five US cities with the highest room score (home city left out, nothing pinned, Kit Studios cities only get a small badge), each with its verdict, subscribers within 50 miles from `city_totals`, readers at the threshold, combined reach, pre-orders when there is a buyer tag, the 3 hosts and the first podcast pick. Every city, host and podcast in it opens the same drawer or note as the map.
- When one person contributes more than half of a city's score and the city has 2 or more people, the verdict says so by name, so a single giant account can't quietly pick a stop.
