changedOutput schema / description
Previous value: -"Either a published guide (title, url, short_answer, key_scripts and, when available, practice_url) or status \"no_article_yet\" with the list of published guides and the nearest public practice scenario."New value: +"One of three shapes. A published guide: title, url, short_answer, key_scripts and, when available, practice_url (no status field). No guide on the topic: status \"no_article_yet\" with guides_hub and, when a public practice scenario is about the same situation, nearest_practice_situation. Topic not covered: status \"not_covered\" with topic_area and note, and no link."
addedOutput schema / properties / guides_hub / description
Added value: +"The list of all published guides. Present with status no_article_yet."
addedOutput schema / properties / key_scripts / description
Added value: +"Lines a child can say, at most 8."
addedOutput schema / properties / key_scripts / items / properties
Added value: +{
+ "say": {
+ "type": "string"
+ },
+ "when": {
+ "type": "string"
+ }
+}
addedOutput schema / properties / key_scripts / items / required
Added value: +[
+ "say"
+]
changedOutput schema / properties / match_quality / description
Previous value: -"For a guide: \"close\". With status no_article_yet: how well nearest_practice_situation fits, \"close\" or \"loose\"."New value: +"Present with a guide, and with nearest_practice_situation."
addedOutput schema / properties / match_quality / enum
Added value: +[
+ "close"
+]
addedOutput schema / properties / more_at
Added value: +{
+ "description": "The guide's page, which has all of its lines. Present only when the guide has more than 8.",
+ "type": "string"
+}
addedOutput schema / properties / nearest_practice_situation / description
Added value: +"A public practice scenario about the same situation. Present only with status no_article_yet, and only when one fits closely."
addedOutput schema / properties / nearest_practice_situation / properties
Added value: +{
+ "age_note": {
+ "description": "Present when the scenario is not written for the age that was asked about.",
+ "type": "string"
+ },
+ "ages": {
+ "description": "Ages the scenario is written for, e.g. \"8–14\".",
+ "type": "string"
+ },
+ "play_url": {
+ "description": "Opens the scenario without an account.",
+ "type": "string"
+ },
+ "scenario_page_url": {
+ "description": "Published page for parents about this situation, when there is one.",
+ "type": "string"
+ },
+ "situation": {
+ "description": "Short excerpt of the scenario text.",
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "traits_practised": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "what_to_say_guide_url": {
+ "description": "Published what-to-say guide that uses this scenario, when there is one.",
+ "type": "string"
+ }
+}
addedOutput schema / properties / nearest_practice_situation / required
Added value: +[
+ "title",
+ "situation",
+ "ages",
+ "play_url"
+]
changedOutput schema / properties / nearest_practice_situation / type
Previous value: -[
- "object",
- "null"
-]New value: +"object"
addedOutput schema / properties / note
Added value: +{
+ "type": "string"
+}
removedOutput schema / properties / published_guides
Removed value: -{
- "items": {
- "type": "string"
- },
- "type": "array"
-}
addedOutput schema / properties / reviewed_by
Added value: +{
+ "description": "Name and credentials of the guide's reviewer. Present only when the guide has a named reviewer.",
+ "type": "string"
+}
addedOutput schema / properties / status / description
Added value: +"Absent when a guide is returned."
addedOutput schema / properties / status / enum
Added value: +[
+ "no_article_yet",
+ "not_covered"
+]
addedOutput schema / properties / topic_area
Added value: +{
+ "description": "With status not_covered: the kind of topic that was recognised.",
+ "enum": [
+ "self_harm_or_suicide",
+ "abuse_or_sexual_harm",
+ "violence_or_weapons",
+ "eating_or_body",
+ "medical_or_diagnostic",
+ "legal",
+ "bereavement_or_serious_illness"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / urgent_help
Added value: +{
+ "description": "Where to get urgent help: the wording of the guide's own section of that name, or, with status not_covered, the same published wording for topics involving risk of harm.",
+ "type": "string"
+}