{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/unmarkdown-com/json-schema/unmarkdown-com-document-response-schema.json",
  "title": "DocumentResponse",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/unmarkdown-com-openapi.json#/components/schemas/DocumentResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "title": {
      "type": "string"
    },
    "content": {
      "type": "string"
    },
    "template_id": {
      "type": "string"
    },
    "theme_mode": {
      "type": "string"
    },
    "is_published": {
      "type": "boolean"
    },
    "slug": {
      "type": [
        "string",
        "null"
      ]
    },
    "published_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "page_width": {
      "type": [
        "string",
        "null"
      ]
    },
    "visibility": {
      "type": [
        "string",
        "null"
      ]
    },
    "word_count": {
      "type": "integer"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}