{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/unmarkdown-com/json-schema/unmarkdown-com-create-and-publish-request-schema.json",
  "title": "CreateAndPublishRequest",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/unmarkdown-com-openapi.json#/components/schemas/CreateAndPublishRequest",
  "type": "object",
  "required": [
    "content"
  ],
  "properties": {
    "content": {
      "type": "string",
      "description": "Markdown content"
    },
    "title": {
      "type": "string",
      "default": "Untitled"
    },
    "template_id": {
      "type": "string",
      "default": "swiss"
    },
    "theme_mode": {
      "type": "string",
      "enum": [
        "light",
        "dark"
      ],
      "default": "light"
    },
    "slug": {
      "type": "string",
      "description": "Custom URL slug (Pro only)"
    },
    "description": {
      "type": "string"
    }
  }
}