{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/unmarkdown-com/json-schema/unmarkdown-com-create-document-request-schema.json",
  "title": "CreateDocumentRequest",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/unmarkdown-com-openapi.json#/components/schemas/CreateDocumentRequest",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Document title"
    },
    "content": {
      "type": "string",
      "description": "Markdown content"
    },
    "template_id": {
      "type": "string",
      "default": "swiss",
      "description": "Template ID"
    },
    "theme_mode": {
      "type": "string",
      "enum": [
        "light",
        "dark"
      ],
      "default": "light"
    }
  }
}