{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getboxkite-com/json-schema/getboxkite-com-manifest-schema.json",
  "title": "Manifest",
  "description": "Also written to the root of every export ZIP as manifest.json.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getboxkite-com-openapi.yml#/components/schemas/Manifest",
  "type": "object",
  "properties": {
    "producer": {
      "type": "string"
    },
    "schemaVersion": {
      "type": "string"
    },
    "organisation": {
      "type": "object",
      "properties": {
        "xeroOrgId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "baseCurrency": {
          "type": "string"
        }
      }
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    },
    "recordCountTotal": {
      "type": "integer"
    },
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "entity": {
            "type": "string"
          },
          "format": {
            "type": "string",
            "enum": [
              "csv",
              "json",
              "pdf"
            ]
          },
          "recordCount": {
            "type": "integer"
          },
          "dateRange": {
            "type": "string"
          },
          "byteSize": {
            "type": "integer"
          },
          "sha256": {
            "type": "string"
          }
        }
      }
    },
    "notes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}