Workflows

Readiness

Markdown

get_guide_readiness is the checklist to run before handing a draft back. It answers four things: what blocks a publish, what deserves a look, the rows behind each finding, and the clicks only the creator can make.

Blocking: the publish gates

blocking is exactly the check publishing enforces, so a guide with an empty blocking can go on sale. Archived spots never count.

CodeMeans
agreement_outdatedThe creator never accepted the creator agreement.
no_spotsThe guide has no live spot.
missing_coordinatesA live spot has no pin.
missing_photosA live spot with photos turned on has no photo.
no_priceNo one-time price is set.

The sales page is not a gate: a guide can go live without one.

Warnings

Warnings never block. Each has a code and a sentence; checks holds the rows behind it.

CodeMeans
coordinate_outliersA spot sits unusually far from the others. Verify its pin.
outside_regionA spot falls outside the map region's box.
spots_without_categoryA spot has no category: set its categories with update_spot.
spots_without_textA spot has neither a short nor a long description.
photos_without_creditA photo has no credit.
sales_page_not_readyThe guide is not live and its sales page cannot go live with it, so the first publish puts the guide live without it. The first publish puts the sales page live too when it can: the draft the creator or an agent saved, or, when there is none, a page Sceniq Earth makes from the guide, which needs one spot that shows a photo. The message, and checks.salesPage.draftProblems, list what is missing.
sales_page_incompleteThe sales page draft is missing parts. On a guide that is not live with a sales page that is not live either, this is sales_page_not_ready instead.
no_region, no_thumbnail, no_store_tags, no_chaptersA guide setting is missing.
public_copy_names_spotsText people read before buying (the guide's headline, a sales page draft's hero and buy box, or the text of a section that is on, gallery captions included) names the guide's spots, so someone could read the list and skip the purchase. checks.publicCopy names the text and the spots. Preview spots, and names the guide shows as its area (its title, focus area or map region), do not count.
public_copy_stale_countsText people read before buying states a count the draft does not have ("45 spots" on a guide with 52). checks.publicCounts names the text, the count as written, the guide's count and the token to write in its place on a sales page (none for the headline, which takes no tokens). Praise or the guide's own name may sit before the noun ("12 iconic spots", "15 Faroe Islands spots"), and a pitch box titled with a count ("6 Spots") is read. A floor ("over 40", "40+") counts only when the guide falls short of it; a part ("top 10", "3 beach spots", one entry of a breakdown such as "2 Hard spots"), a rough figure ("about 40"), a rate ("3 spots a day") and a pitch box whose text is only its own group's count ("6 spots" under Banff Town) never do.
review_dueA row is past its reviewBy date.
stale_factsA dated fact ran out or has not been checked recently.
link_problemsA link is dead, parked, redirected or failing TLS.
photos_far_from_pinA photo was taken more than 2 km from the pin.
photos_before_changeA photo was taken before a change at the spot.
near_duplicate_photosTwo photos of a spot look alike.
places_far_from_spotsA place sits far from every spot it serves.
place_zone_differsA place is in another time zone than its spot.
stated_distance_too_shortA distance in the text is shorter than the straight line.
search_map_linksA place has a text-search map link and no pin.
past_dates_in_textA date in the spot text has passed.
best_months_mismatchThe text names best months a month property leaves out.
direction_mismatchA direction or distance in the text disagrees with the pins.
best_light_outside_hoursThe best light falls outside the opening hours.
pins_far_from_spotAn extra pin sits more than 25 km from its spot.
itinerary_not_shownAn unarchived itinerary has no stop buyers can open, so it stays hidden.
itinerary_hidden_stopsA spot stop points at an archived spot or a helper. Use a place stop by the helper's spotId.

Archived itineraries are skipped in both checks. These warnings never block a publish. checks.itineraryCount counts every itinerary, archived ones included.

The hand-off

handoff.remaining lists the steps left before buyers see the guide (Publish guide, Publish sales page) with their studio links. The creator makes them in the studio, or asks an agent with a publish key to (Publishing). A guide may go live without its sales page and the page later. Plan for them from the start, and send the creator the reviewUrl: they review every spot and photo there.

Facts that run out

list_stale_notices lists every dated fact that ran out or needs a new check, with the row and the field, so an agent can re-check each one against its source and update it.