{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vaquill-ai/json-schema/vaquill-ai-fact-set-export-schema.json",
  "title": "FactSetExport",
  "description": "A rendered ledger, returned as bytes rather than as a signed URL.\n\nThe renderers run on demand and write no object, so vending a URL would mean\nwriting client work product to storage first. Encryption is on in every\ndeployment, which leaves a choice between an object the customer cannot\ndecrypt and plaintext in the bucket. Same reasoning as the draft export.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vaquill-ai-facts-api-openapi.yml#/components/schemas/FactSetExport",
  "properties": {
    "format": {
      "type": "string",
      "title": "Format",
      "description": "The format that was rendered."
    },
    "filename": {
      "type": "string",
      "title": "Filename",
      "description": "A filename derived from the matter's own name."
    },
    "sizeBytes": {
      "type": "integer",
      "title": "Sizebytes",
      "description": "Decoded size, so you can check `content` round-tripped."
    },
    "content": {
      "type": "string",
      "title": "Content",
      "description": "The file, base64-encoded."
    },
    "factCount": {
      "type": "integer",
      "title": "Factcount",
      "description": "How many facts the file contains."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "format",
    "filename",
    "sizeBytes",
    "content",
    "factCount"
  ]
}