{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cruise-itinerary-com/json-schema/cruise-itinerary-com-export-week-schema.json",
  "title": "ExportWeek",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cruise-itinerary-com-bulk-exports-api-openapi.yml#/components/schemas/ExportWeek",
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "format": "date"
    },
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "bytes": {
            "type": "integer"
          },
          "rows": {
            "type": "integer"
          },
          "sha256": {
            "type": "string"
          },
          "access": {
            "type": "string",
            "description": "free: any key, Free included; platform: the Platform plan.",
            "enum": [
              "free",
              "platform"
            ]
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "name",
          "bytes",
          "rows",
          "sha256",
          "access",
          "url"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "date",
    "files"
  ],
  "additionalProperties": false
}