{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "book_progress.schema.json",
  "title": "book_progress",
  "description": "Word counts per document in a Google Drive folder, defaulting to the book's \"Book Sections\" folder. Returns per-section counts, totals, and a markdown table. Returns: {folder_id, doc_count, total_words, average_words, docs[], markdown_table}.",
  "type": "object",
  "properties": {
    "folder_id": {
      "type": "string",
      "description": "Drive folder ID to scan. Defaults to the Book Sections folder.",
      "default": "1UVgjE3w8XpvhNx4kM9Lp4dFJjP6eApKi"
    },
    "exact": {
      "type": "boolean",
      "description": "Export each Google Doc and count its real words (slower, one API call per doc). False returns names and dates only.",
      "default": true
    },
    "limit": {
      "type": "integer",
      "description": "Maximum number of documents to process.",
      "default": 40,
      "minimum": 1,
      "maximum": 200
    },
    "token_file": {
      "type": "string",
      "description": "Path to the Hermes Google token. Defaults to ~/.hermes/google_token.json."
    }
  },
  "additionalProperties": false
}
