changedInput schema / properties / countries / description
Previous value: -"Country names or two-letter ISO codes, up to 5"New value: +"Country names in English or two-letter ISO codes, 1 to 5, such as [\"Mexico\", \"Colombia\", \"PE\"]. Repeats are removed."
addedInput schema / properties / countries / examples
Added value: +[
+ [
+ "Mexico",
+ "Colombia",
+ "Peru"
+ ]
+]
addedOutput schema / properties / citizenship / description
Added value: +"Who each government writes for. Tell the user this."
addedOutput schema / properties / countries / description
Added value: +"One entry per country asked for, in the same order. Check each entry's status: a batch can mix ok, not_found and ambiguous."
addedOutput schema / properties / countries / items / properties / candidates / description
Added value: +"With status ambiguous: the places the name could mean. Ask the user which one, then call again with that exact name."
addedOutput schema / properties / countries / items / properties / country / description
Added value: +"The country matched."
addedOutput schema / properties / countries / items / properties / query / description
Added value: +"The country text as sent."
addedOutput schema / properties / countries / items / properties / status / description
Added value: +"ok: see uk and us. not_found: no such country; check the spelling with the user. ambiguous: ask the user to pick one of candidates, then call again."
addedOutput schema / properties / countries / items / properties / uk / properties / alertText / description
Added value: +"All FCDO alerts as one string of plain sentences, to quote as written. get_travel_advice returns the same sentences as a list."
addedOutput schema / properties / countries / items / properties / uk / properties / reviewedAt / description
Added value: +"When the FCDO last reviewed the advice, as an ISO 8601 time."
addedOutput schema / properties / countries / items / properties / uk / properties / reviewedAt / format
Added value: +"date-time"
addedOutput schema / properties / countries / items / properties / uk / properties / status / description
Added value: +"ok: advice found. none: this government publishes no advisory for the place. unavailable: its source could not be read; report the other government's advice and the official link, and do not guess this one."
addedOutput schema / properties / countries / items / properties / uk / properties / status / enum
Added value: +[
+ "ok",
+ "none",
+ "unavailable"
+]
addedOutput schema / properties / countries / items / properties / uk / properties / url / description
Added value: +"The GOV.UK travel advice page."
addedOutput schema / properties / countries / items / properties / uk / properties / url / format
Added value: +"uri"
addedOutput schema / properties / countries / items / properties / us / properties / level / description
Added value: +"US advisory level: 1 exercise normal precautions, 2 increased caution, 3 reconsider travel, 4 do not travel. null when the advisory names no level."
addedOutput schema / properties / countries / items / properties / us / properties / level / maximum
Added value: +4
addedOutput schema / properties / countries / items / properties / us / properties / level / minimum
Added value: +1
addedOutput schema / properties / countries / items / properties / us / properties / levelText / description
Added value: +"The level as the State Department words it, such as \"Level 2: Exercise Increased Caution\"."
addedOutput schema / properties / countries / items / properties / us / properties / status / description
Added value: +"ok: advice found. none: this government publishes no advisory for the place. unavailable: its source could not be read; report the other government's advice and the official link, and do not guess this one."
addedOutput schema / properties / countries / items / properties / us / properties / status / enum
Added value: +[
+ "ok",
+ "none",
+ "unavailable"
+]
addedOutput schema / properties / countries / items / properties / us / properties / updated / description
Added value: +"When the State Department last updated the advisory, as an ISO 8601 time."
addedOutput schema / properties / countries / items / properties / us / properties / updated / format
Added value: +"date-time"
addedOutput schema / properties / countries / items / properties / us / properties / url / description
Added value: +"The US State Department advisory page."
addedOutput schema / properties / countries / items / properties / us / properties / url / format
Added value: +"uri"
addedOutput schema / properties / license / description
Added value: +"Attribution for the UK text (Open Government Licence)."
addedOutput schema / properties / message / description
Added value: +"What to tell the user or do next when status is unavailable."
addedOutput schema / properties / notice / description
Added value: +"The limits of this information, to pass on."
addedOutput schema / properties / sources / description
Added value: +"The official sources, to link in the answer."
addedOutput schema / properties / sources / items / properties / url / format
Added value: +"uri"
addedOutput schema / properties / status / description
Added value: +"ok: see each country's own status. unavailable: both sources are down; try again in a few minutes and give the official links."