{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/comp-ai/json-schema/comp-ai-export-isms-document-dto-schema.json",
  "title": "ExportIsmsDocumentDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/comp-ai-isms-api-openapi.yml#/components/schemas/ExportIsmsDocumentDto",
  "type": "object",
  "properties": {
    "format": {
      "type": "string",
      "description": "File format to export the ISMS document as",
      "enum": [
        "pdf",
        "docx"
      ]
    },
    "versionId": {
      "type": "string",
      "description": "Published version to export. Omit to export the document's current published version (or the working draft if it has never been published); provide a version id to download exactly what was approved at that version."
    }
  },
  "required": [
    "format"
  ]
}