{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agent-manager-dev/json-schema/agent-manager-dev-search-result-schema.json",
  "title": "SearchResult",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agent-manager-dev-openapi.json#/components/schemas/SearchResult",
  "type": "object",
  "required": [
    "slug",
    "title",
    "url",
    "markdown_url",
    "section"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "description": "Identifier for getDocPage."
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "section": {
      "type": "string",
      "description": "Documentation, Writing, or Site."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Canonical HTML URL."
    },
    "markdown_url": {
      "type": "string",
      "format": "uri",
      "description": "Same page as Markdown; the HTML URL also serves it under Accept: text/markdown."
    },
    "snippet": {
      "type": "string",
      "description": "The matching line of the page, when the match was in the body rather than the title."
    }
  }
}