{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/toolforest-io/json-schema/toolforest-io-patch-v1-pages-pageid-markdown-request-schema.json",
  "title": "PatchV1PagesPageidMarkdownRequest",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/toolforest-io-openapi-generated.yml#/components/schemas/PatchV1PagesPageidMarkdownRequest",
  "type": "object",
  "properties": {
    "page_id": {
      "type": "string",
      "description": "Page id or Notion URL."
    },
    "markdown": {
      "type": "string",
      "description": "Notion-flavored Markdown to insert into the page."
    },
    "position": {
      "type": "string",
      "description": "Where the content goes. `end` appends, `start` prepends, `after` inserts after existing text you identify with `after_text`."
    },
    "after_text": {
      "type": "string",
      "description": "Required when position is `after`, and forbidden otherwise. Identifies existing page content using Notion's ellipsis format."
    }
  },
  "required": [
    "page_id",
    "markdown"
  ]
}