{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/unmarkdown-com/json-schema/unmarkdown-com-convert-request-schema.json",
  "title": "ConvertRequest",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/unmarkdown-com-openapi.json#/components/schemas/ConvertRequest",
  "type": "object",
  "required": [
    "markdown"
  ],
  "properties": {
    "markdown": {
      "type": "string",
      "description": "Markdown content to convert (max 100KB)"
    },
    "destination": {
      "type": "string",
      "enum": [
        "google-docs",
        "email",
        "word",
        "slack",
        "onenote",
        "plain-text",
        "generic",
        "html"
      ],
      "default": "generic",
      "description": "Target format for the conversion output"
    },
    "template_id": {
      "type": "string",
      "default": "swiss",
      "description": "Template ID to apply for styling"
    },
    "theme_mode": {
      "type": "string",
      "enum": [
        "light",
        "dark"
      ],
      "default": "light"
    }
  }
}