{
  "description": "JORT OCR + Search Worker",
  "endpoints": {
    "POST /ocr": "Direct OCR: { type, language, year, issues: [...] }",
    "POST /workflow": "Start OCR workflow: { type, language, yearStart, yearEnd }",
    "POST /index-workflow": "Start indexing workflow: { type, language }",
    "GET /search": "Search: ?q=...&collection=...&lang=...&year_from=...&year_to=...&limit=...&sort=relevance|newest|oldest",
    "GET /search/facets": "Count aggregations: ?q=...&by=year,collection,language"
  }
}