{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-poi/refs/heads/main/json-structure/apache-poi-document-request-structure.json",
  "description": "Request to create a Word document",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Document filename"
    },
    "format": {
      "type": "string",
      "enum": [
        "DOC",
        "DOCX"
      ],
      "description": "Document format"
    },
    "content": {
      "type": "string",
      "description": "Initial text content"
    }
  },
  "required": [
    "name",
    "format"
  ],
  "name": "DocumentRequest"
}