{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/majr-app/json-schema/majr-app-llms-txt-request-schema.json",
  "title": "LlmsTxtRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/seo-openapi.json#/components/schemas/LlmsTxtRequest",
  "properties": {
    "site_name": {
      "type": "string",
      "title": "Site Name",
      "description": "The site/product name — llms.txt's H1."
    },
    "summary": {
      "type": "string",
      "title": "Summary",
      "description": "One-line entity definition — the blockquote answer engines quote."
    },
    "site_url": {
      "type": "string",
      "title": "Site Url",
      "description": "Site origin link paths are absolutized against.",
      "default": ""
    },
    "key_facts": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Key Facts",
      "description": "Short factual bullets an answer engine can cite."
    },
    "links": {
      "items": {
        "$ref": "#/$defs/LinkRef"
      },
      "type": "array",
      "title": "Links",
      "description": "The pages that matter, rendered as a titled link list."
    },
    "source": {
      "type": "string",
      "title": "Source",
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "site_name",
    "summary"
  ],
  "$defs": {
    "LinkRef": {
      "properties": {
        "title": {
          "type": "string",
          "title": "Title",
          "description": "Link text."
        },
        "path": {
          "type": "string",
          "title": "Path",
          "description": "Path (or absolute URL); joined with site_url."
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description",
          "description": "Optional one-line description appended after the link."
        }
      },
      "type": "object",
      "required": [
        "title",
        "path"
      ],
      "title": "LinkRef",
      "description": "A titled link, used in llms.txt sections and elsewhere."
    }
  }
}