{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yappy-biz/json-schema/yappy-biz-doc-schema.json",
  "title": "Doc",
  "description": "A documentation page, content included.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/yappy-biz-openapi.json#/components/schemas/Doc",
  "type": "object",
  "required": [
    "object",
    "slug",
    "title",
    "description",
    "url",
    "markdown_url",
    "content"
  ],
  "properties": {
    "object": {
      "type": "string",
      "const": "doc",
      "description": "Type discriminator."
    },
    "slug": {
      "type": "string",
      "description": "Path after /docs/."
    },
    "title": {
      "type": "string",
      "description": "Page title."
    },
    "description": {
      "type": "string",
      "description": "One-line summary."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "HTML page."
    },
    "markdown_url": {
      "type": "string",
      "format": "uri",
      "description": "Markdown twin."
    },
    "content": {
      "type": "string",
      "description": "The page body as markdown."
    },
    "word_count": {
      "type": "integer",
      "description": "Length of the body in words."
    },
    "last_updated": {
      "type": "string",
      "format": "date",
      "description": "When the page last changed."
    },
    "sandbox": {
      "type": "boolean",
      "description": "Present and true on sandbox fixtures."
    }
  }
}