changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "properties": {
+ "error_code": {
+ "additionalProperties": true,
+ "description": "Present when the query is an error code (ERR::AREA::NAME).",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "md_url": {
+ "description": "The errors page as Markdown; read it with spicrawl_docs_read.",
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "url": {
+ "description": "The code's entry on the errors page.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "url",
+ "md_url"
+ ],
+ "type": "object"
+ },
+ "hint": {
+ "description": "What to try when there are no results.",
+ "type": "string"
+ },
+ "query": {
+ "description": "The search text, as sent.",
+ "type": "string"
+ },
+ "results": {
+ "description": "Matching pages, most relevant first. Empty when nothing matched.",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "breadcrumbs": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "matches": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "heading": {
+ "description": "The section the match is in.",
+ "type": "string"
+ },
+ "snippet": {
+ "description": "A short plain-text excerpt around the match.",
+ "type": "string"
+ },
+ "url": {
+ "description": "Link to the section, with its #anchor.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "md_url": {
+ "description": "The page as Markdown; pass it to spicrawl_docs_read.",
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "description": "The page on the docs site.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "url",
+ "md_url",
+ "matches"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "query",
+ "results"
+ ],
+ "type": "object"
+}