{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "directory": {
      "type": "string",
      "description": "Where the zips were written"
    },
    "parts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "file": {
            "type": "string",
            "description": "The zip, photos-<n>.zip, relative to the working directory"
          },
          "photos": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "How many photos it holds, besides manifest.csv and skipped.csv"
          },
          "skipped": {
            "description": "Present when the zip has a skipped.csv: photos Domino could not re-encode without their metadata",
            "type": "boolean",
            "const": true
          }
        },
        "required": ["file", "photos"]
      },
      "description": "One zip per part, in order"
    },
    "photos": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "How many photos the zips hold together"
    }
  },
  "required": ["directory", "parts", "photos"],
  "additionalProperties": {},
  "title": "Gallery export"
}
