{
  "openapi": "3.1.1",
  "info": {
    "title": "Hireboard API",
    "version": "1.0.0",
    "summary": "Deterministic tools for people and AI agents.",
    "description": "Every endpoint performs the same calculation as the human page and returns inputs, result, units, assumptions, sources, warnings and computedAt. MCP endpoint: /mcp."
  },
  "servers": [
    {
      "url": "https://hireboard.usefulweb.app"
    }
  ],
  "paths": {
    "/api/v1/tools": {
      "get": {
        "operationId": "listTools",
        "summary": "Catalog of all tools",
        "responses": {
          "200": {
            "description": "Tool list.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tools/{id}": {
      "get": {
        "operationId": "getTool",
        "summary": "Definition of one tool",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "hireboard-funnel-analyzer",
                "hireboard-job-ad-checker",
                "timefair",
                "dayweave-ics-validator"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Tool definition.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "Invalid input (see errors[]).",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tools/hireboard-funnel-analyzer/calculate": {
      "post": {
        "operationId": "calculateHireboardFunnelAnalyzer",
        "summary": "Conversion per hiring stage, time in stage, time to hire and the sources that bring hires.",
        "description": "Paste your pipeline stages and when each candidate reached them (or just how many reached each stage, or a whole Hireboard board): the analyser shows how many candidates reached every stage, the conversion from stage to stage and overall, how long candidates spend in each stage, who is waiting longest, the time to hire, the offer acceptance rate, the weakest step of the funnel and which sources bring interviews and hires.\n\nMethodology:\n- A candidate has reached a stage when their history contains that stage or a later one (skipped stages count as passed; a move back keeps the furthest stage).\n- Conversion = reached this stage ÷ reached the previous stage; overall = reached ÷ reached the first stage. Offer acceptance = hired ÷ reached the offer stage.\n- Days in stage = from entering a stage to the next move, rejection or withdrawal (median, mean and 85th percentile, linear interpolation). Candidates still in a stage are listed separately as “waiting so far” up to the report date and do not distort the finished times.\n- Time to hire = from the first stage entry to entering the hired stage. Hires = candidates in the hired stage who were not later rejected or withdrawn.\n- Sources: candidates per source, how many reached an interview-type stage, an offer and the hire; hire rate = hires ÷ candidates of that source. Small numbers are noisy — a source with one hire out of two candidates is not proven better.\n- Weakest step = the stage with the lowest conversion from the previous one; slowest = the highest median days in stage.",
        "tags": [
          "apps"
        ],
        "x-mcp-tool": "hireboard_funnel_analyzer",
        "x-owner-app": "hireboard",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HireboardFunnelAnalyzerInput"
              },
              "examples": {
                "example1": {
                  "summary": "Ten candidates through a six-stage pipeline",
                  "value": {
                    "stages": "Applied\nPhone screen\nInterview\nFinal interview\nOffer\nHired",
                    "candidates": "c01, Referral, Applied=2026-09-01, Phone screen=2026-09-03, Interview=2026-09-10, Final interview=2026-09-18, Offer=2026-09-24, Hired=2026-09-30\nc02, Job board, Applied=2026-09-02, Phone screen=2026-09-05, Interview=2026-09-12, rejected=2026-09-15\nc03, Job board, Applied=2026-09-02, rejected=2026-09-06\nc04, LinkedIn, Applied=2026-09-04, Phone screen=2026-09-08, Interview=2026-09-16, Final interview=2026-09-25, Offer=2026-10-01, withdrawn=2026-10-05\nc05, Careers page, Applied=2026-09-05, Phone screen=2026-09-09, rejected=2026-09-11\nc06, Referral, Applied=2026-09-08, Phone screen=2026-09-10, Interview=2026-09-17, Final interview=2026-09-26, Offer=2026-10-02, Hired=2026-10-06\nc07, Careers page, Applied=2026-09-10, Phone screen=2026-09-15, Interview=2026-09-23\nc08, Job board, Applied=2026-09-12, rejected=2026-09-14\nc09, LinkedIn, Applied=2026-09-15, Phone screen=2026-09-20\nc10, Careers page, Applied=2026-09-20",
                    "asOf": "2026-10-15"
                  }
                },
                "example2": {
                  "summary": "Stage counts only",
                  "value": {
                    "stages": "",
                    "candidates": "",
                    "counts": "Applied: 240\nScreening: 96\nInterview: 31\nOffer: 7\nHired: 5",
                    "asOf": "2026-12-01"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Calculation result envelope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HireboardFunnelAnalyzerResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed JSON body.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "422": {
            "description": "Invalid input (see errors[]).",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit exceeded (see Retry-After).",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tools/hireboard-job-ad-checker/calculate": {
      "post": {
        "operationId": "calculateHireboardJobAdChecker",
        "summary": "Spot gender-coded words, age hints and needless requirements in a job ad — with suggestions.",
        "description": "Paste the text of a job ad (English). The checker marks masculine- and feminine-coded words (based on the word lists of Gaucher, Friesen \u0026 Kay 2011), gendered job titles and pronouns, phrases that hint at a preferred age, requirements that may exclude people without being needed for the job, questions about pay history and a missing pay range — each with the line, a short reason and a suggestion. It is a wording aid, not a legal check.\n\nMethodology:\n- Gender-coded words: word stems based on the masculine-coded (agentic) and feminine-coded (communal) lists of Gaucher, Friesen \u0026 Kay (2011), matched at the start of words. The ad counts as masculine- or feminine-coded when one side has at least two more words than the other; otherwise neutral. Common words such as “lead” are on the masculine list — keep them when they are the right word.\n- Gendered titles and pronouns (salesman, chairman, he/she, guys), age hints (young, digital native, recent graduate, a maximum of years of experience) and requirements to review (native speaker, own car or licence, physical abilities, culture fit, jargon titles) come from a fixed phrase list, each with a suggestion.\n- Pay: a pay range is found by currency amounts with a range (€50,000–60,000, 50k–60k EUR) or words such as “salary range”; questions about current or previous pay are marked. Directive (EU) 2023/970 Art. 5 is quoted as background information.\n- Heuristics on English text only: they can miss words, mark words used in a harmless sense and cannot judge context. The result is not legal advice and does not say whether an ad complies with any law.",
        "tags": [
          "apps"
        ],
        "x-mcp-tool": "hireboard_job_ad_checker",
        "x-owner-app": "hireboard",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HireboardJobAdCheckerInput"
              },
              "examples": {
                "example1": {
                  "summary": "A sales ad with several issues",
                  "value": {
                    "text": "Senior Salesman (m/f)\n\nWe are a young, fast-growing team of rockstars looking for an ambitious, competitive salesman who leads from the front.\n\nWhat you bring\n- 3+ years of B2B sales experience\n- Native English speaker\n- Must have own car\n- Please tell us your current salary\n\nYou are supportive, reliable and love working together with our customer team."
                  }
                },
                "example2": {
                  "summary": "A balanced developer ad",
                  "value": {
                    "text": "Frontend developer\n\nYou build accessible features with a supportive team and take responsibility for your own projects.\n\nWhat you bring\n- Experience with TypeScript\n- Fluent English (C1)\n\nPay: €62,000–74,000 a year."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Calculation result envelope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HireboardJobAdCheckerResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed JSON body.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "422": {
            "description": "Invalid input (see errors[]).",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit exceeded (see Retry-After).",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tools/timefair/calculate": {
      "post": {
        "operationId": "calculateTimefair",
        "summary": "Find fair meeting times across time zones, with DST-exact local times and rotation.",
        "description": "Enter participants with their IANA time zone and working hours. TimeFair scores every candidate slot by how far it falls outside each person’s working day (extra penalty at night), ranks slots by total and worst-case inconvenience, and builds a rotation plan for recurring meetings so the pain is shared. Exports an .ics calendar file.\n\nMethodology:\n- Time zones are IANA names validated with Intl.DateTimeFormat; every UTC↔local conversion uses the runtime’s tz database, so DST changes and +05:30 / +05:45 offsets are exact for each individual minute.\n- Candidate slots start at the organiser’s local midnight of the first day and step by the chosen granularity (in UTC) until the last slot ends before midnight after the last day.\n- Inconvenience per participant = weight × (distance-weighted minutes outside the working window + 2 × minutes outside the window between 22:00 and 07:00 local) ÷ 60. Distance weighting: a minute in the first hour past the window’s nearest edge counts 1, in the second hour 1.5, third 2, fourth 2.5, and 4 hours or more past the edge 3. So 17:30–18:15 after a 17:30 end costs 0.75 points, while 21:15–22:00 costs 2.125 points. A day that is not a working day counts entirely as outside at the top weight (3 points per hour, plus the night penalty).\n- Overnight windows (end earlier than start) belong to the day they start on; e.g. 22:00–06:00 on a Friday covers Friday 22:00 to Saturday 06:00.\n- Fairness cost of a slot = total + 1 × worst individual inconvenience + 0.5 × standard deviation (population). Lower is better; ties go to the earliest slot.\n- Rotation (deterministic greedy): the pool holds the lowest-cost slot of each distinct organiser-local wall time (up to 48 wall times, so the plan can move between genuinely different times); each occurrence repeats the slot’s organiser-local wall time every N days, re-scored for that exact date (DST-aware). For each occurrence the slot minimising the worst cumulative burden, then the total cumulative burden, then its own cost, then start time, is picked. The burden therefore moves to whoever has carried least so far; someone stays at 0 only when every alternative would cost the others more than it saves.\n- The .ics file uses UTC (Z) times, RFC 5545 escaping and 75-octet line folding; UID is a SHA-256 hash of the slot, participants and title (stable across re-imports); DTSTAMP is the computation time.",
        "tags": [
          "developer"
        ],
        "x-mcp-tool": "timefair",
        "x-owner-app": "opsdeck",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TimefairInput"
              },
              "examples": {
                "example1": {
                  "summary": "Berlin, New York, Bengaluru, Kathmandu",
                  "value": {
                    "title": "Platform sync",
                    "startDate": "2026-10-19",
                    "days": 5,
                    "durationMinutes": 60,
                    "granularity": "30",
                    "recurrences": 4,
                    "participants": [
                      {
                        "name": "Anna",
                        "timeZone": "Europe/Berlin",
                        "workStart": "09:00",
                        "workEnd": "17:30"
                      },
                      {
                        "name": "Ben",
                        "timeZone": "America/New_York",
                        "workStart": "09:00",
                        "workEnd": "17:00"
                      },
                      {
                        "name": "Chitra",
                        "timeZone": "Asia/Kolkata",
                        "workStart": "10:00",
                        "workEnd": "18:30"
                      },
                      {
                        "name": "Dev",
                        "timeZone": "Asia/Kathmandu",
                        "workStart": "10:00",
                        "workEnd": "17:00"
                      }
                    ]
                  }
                },
                "example2": {
                  "summary": "San Francisco, London, Sydney (no comfortable slot → rotation)",
                  "value": {
                    "startDate": "2026-11-02",
                    "days": 5,
                    "durationMinutes": 45,
                    "granularity": "15",
                    "recurrences": 6,
                    "participants": [
                      {
                        "name": "Sam",
                        "timeZone": "America/Los_Angeles",
                        "workStart": "08:00",
                        "workEnd": "17:00"
                      },
                      {
                        "name": "Lea",
                        "timeZone": "Europe/London",
                        "workStart": "09:00",
                        "workEnd": "17:30"
                      },
                      {
                        "name": "Kai",
                        "timeZone": "Australia/Sydney",
                        "workStart": "08:30",
                        "workEnd": "17:00"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Calculation result envelope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TimefairResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed JSON body.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "422": {
            "description": "Invalid input (see errors[]).",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit exceeded (see Retry-After).",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tools/dayweave-ics-validator/calculate": {
      "post": {
        "operationId": "calculateDayweaveIcsValidator",
        "summary": "Check an .ics calendar file against RFC 5545 and preview the next dates of every event.",
        "description": "Paste the text of an .ics file: the validator checks its structure (BEGIN/END, content lines, folding, CRLF), required properties (VERSION, PRODID, UID, DTSTAMP), duplicates, time zones without VTIMEZONE, dates, durations and recurrence rules, and lists every event with its time zone and next occurrences — the same reader Dayweave uses for its calendar import.\n\nMethodology:\n- Lines are unfolded (a line starting with a space or tab continues the previous one) and split into NAME;PARAM=value:VALUE content lines; components must nest with matching BEGIN/END.\n- Errors: missing VCALENDAR, VERSION:2.0 or PRODID, VEVENT without UID or DTSTAMP, single-value properties given twice, unreadable dates, DTEND before DTSTART, DTEND together with DURATION, recurrence rules outside the supported subset. Warnings: LF-only line ends, lines over 75 octets, TZIDs without VTIMEZONE, repeated UIDs, cancelled events and changed single occurrences (RECURRENCE-ID).\n- Times with Z are UTC; TZID times use that IANA zone (or the X-LIC-LOCATION of a VTIMEZONE with a Windows name); floating times are read in the zone you choose. The preview expands each event with the Dayweave recurrence engine.",
        "tags": [
          "apps"
        ],
        "x-mcp-tool": "dayweave_ics_validator",
        "x-owner-app": "dayweave",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DayweaveIcsValidatorInput"
              },
              "examples": {
                "example1": {
                  "summary": "Team calendar with a repeating stand-up and a missing DTSTAMP",
                  "value": {
                    "ics": "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//Example//Team calendar//EN\r\nBEGIN:VEVENT\r\nUID:standup-1@example.org\r\nDTSTAMP:20261201T080000Z\r\nDTSTART;TZID=Europe/Berlin:20261207T093000\r\nDTEND;TZID=Europe/Berlin:20261207T094500\r\nRRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR\r\nEXDATE;TZID=Europe/Berlin:20261224T093000\r\nSUMMARY:Daily stand-up\r\nEND:VEVENT\r\nBEGIN:VEVENT\r\nUID:launch@example.org\r\nDTSTART:20261210T140000Z\r\nDURATION:PT2H\r\nSUMMARY:Launch review\r\nEND:VEVENT\r\nBEGIN:VEVENT\r\nUID:holiday@example.org\r\nDTSTAMP:20261201T080000Z\r\nDTSTART;VALUE=DATE:20261225\r\nSUMMARY:Office closed\r\nEND:VEVENT\r\nEND:VCALENDAR"
                  }
                },
                "example2": {
                  "summary": "Broken file: unclosed event and an unsupported rule",
                  "value": {
                    "ics": "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//x//y//EN\r\nBEGIN:VEVENT\r\nUID:a\r\nDTSTAMP:20261201T000000Z\r\nDTSTART:20261207T090000Z\r\nRRULE:FREQ=HOURLY\r\nSUMMARY:Ping\r\nEND:VCALENDAR"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Calculation result envelope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DayweaveIcsValidatorResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed JSON body.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "422": {
            "description": "Invalid input (see errors[]).",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit exceeded (see Retry-After).",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/workflows": {
      "get": {
        "operationId": "listWorkflows",
        "summary": "Multi-tool workflows",
        "responses": {
          "200": {
            "description": "Workflow list.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Problem": {
        "type": "object",
        "description": "RFC 9457 problem details. 422 responses include per-field `errors`.",
        "required": [
          "type",
          "title",
          "status",
          "detail"
        ],
        "properties": {
          "type": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          },
          "detail": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "field",
                "message"
              ],
              "properties": {
                "field": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "HireboardFunnelAnalyzerInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "stages": {
            "title": "Stages in order (one per line: name[, kind])",
            "description": "Kinds: applied, screen, interview, assessment, offer, hired. Without a kind the first stage is “applied”, the last “hired”, stages named “offer” are offers.",
            "type": "string",
            "maxLength": 4000,
            "default": "Applied\nPhone screen\nInterview\nFinal interview\nOffer\nHired"
          },
          "candidates": {
            "title": "Candidates (one per line: id, source, Stage=YYYY-MM-DD, …, rejected= or withdrawn=date)",
            "description": "Each Stage=date is when the candidate entered that stage. A skipped stage counts as passed.",
            "type": "string",
            "maxLength": 600000,
            "default": "c01, Referral, Applied=2026-09-01, Phone screen=2026-09-03, Interview=2026-09-10, Final interview=2026-09-18, Offer=2026-09-24, Hired=2026-09-30\nc02, Job board, Applied=2026-09-02, Phone screen=2026-09-05, Interview=2026-09-12, rejected=2026-09-15\nc03, Job board, Applied=2026-09-02, rejected=2026-09-06\nc04, LinkedIn, Applied=2026-09-04, Phone screen=2026-09-08, Interview=2026-09-16, Final interview=2026-09-25, Offer=2026-10-01, withdrawn=2026-10-05\nc05, Careers page, Applied=2026-09-05, Phone screen=2026-09-09, rejected=2026-09-11\nc06, Referral, Applied=2026-09-08, Phone screen=2026-09-10, Interview=2026-09-17, Final interview=2026-09-26, Offer=2026-10-02, Hired=2026-10-06\nc07, Careers page, Applied=2026-09-10, Phone screen=2026-09-15, Interview=2026-09-23\nc08, Job board, Applied=2026-09-12, rejected=2026-09-14\nc09, LinkedIn, Applied=2026-09-15, Phone screen=2026-09-20\nc10, Careers page, Applied=2026-09-20"
          },
          "counts": {
            "title": "Or only stage counts (one per line: Stage: number)",
            "description": "When filled in, used instead of the candidate lines: e.g. “Applied: 200”. Counts = how many candidates reached the stage.",
            "type": "string",
            "maxLength": 4000,
            "default": ""
          },
          "board": {
            "title": "Or a Hireboard board (JSON, replaces the lines above)",
            "description": "A .hireboard.json file.",
            "type": "string",
            "maxLength": 2000000,
            "default": ""
          },
          "opening": {
            "title": "Opening of the board (title or id; empty = all openings by stage kind)",
            "type": "string",
            "maxLength": 160,
            "default": ""
          },
          "asOf": {
            "title": "Report date (YYYY-MM-DD; waiting times are counted up to this day)",
            "type": "string",
            "maxLength": 10,
            "default": "2026-10-15"
          }
        },
        "required": []
      },
      "HireboardFunnelAnalyzerResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "schemaVersion",
          "tool",
          "computedAt",
          "inputs",
          "summary",
          "result",
          "units",
          "assumptions",
          "sources",
          "warnings",
          "presentation",
          "links"
        ],
        "properties": {
          "schemaVersion": {
            "type": "string",
            "const": "1.0"
          },
          "tool": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "name",
              "version"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "version": {
                "type": "string"
              }
            }
          },
          "computedAt": {
            "type": "string",
            "format": "date-time"
          },
          "inputs": {
            "type": "object",
            "description": "Normalised inputs actually used, including applied defaults."
          },
          "summary": {
            "type": "string"
          },
          "result": {
            "type": "object",
            "properties": {
              "stages": {
                "type": "array"
              },
              "totals": {
                "type": "object"
              },
              "timeToHire": {
                "type": "object"
              },
              "sources": {
                "type": "array"
              },
              "bottleneck": {},
              "slowest": {}
            }
          },
          "units": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "assumptions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "title"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "publisher": {
                  "type": "string"
                },
                "retrievedAt": {
                  "type": "string"
                },
                "note": {
                  "type": "string"
                }
              }
            }
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "presentation": {
            "type": "array",
            "items": {
              "type": "object"
            },
            "description": "Display blocks used by the human page (same data)."
          },
          "links": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "human",
              "api",
              "openapi",
              "methodology"
            ],
            "properties": {
              "human": {
                "type": "string",
                "format": "uri"
              },
              "api": {
                "type": "string",
                "format": "uri"
              },
              "openapi": {
                "type": "string",
                "format": "uri"
              },
              "methodology": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        }
      },
      "HireboardJobAdCheckerInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "text": {
            "title": "Job ad text (English)",
            "description": "Plain text or Markdown. At most 40,000 characters.",
            "type": "string",
            "maxLength": 40000,
            "default": "Senior Salesman (m/f)\n\nWe are a young, fast-growing team of rockstars looking for an ambitious, competitive salesman who leads from the front.\n\nWhat you bring\n- 3+ years of B2B sales experience\n- Native English speaker\n- Must have own car\n- Please tell us your current salary\n\nYou are supportive, reliable and love working together with our customer team."
          }
        },
        "required": []
      },
      "HireboardJobAdCheckerResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "schemaVersion",
          "tool",
          "computedAt",
          "inputs",
          "summary",
          "result",
          "units",
          "assumptions",
          "sources",
          "warnings",
          "presentation",
          "links"
        ],
        "properties": {
          "schemaVersion": {
            "type": "string",
            "const": "1.0"
          },
          "tool": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "name",
              "version"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "version": {
                "type": "string"
              }
            }
          },
          "computedAt": {
            "type": "string",
            "format": "date-time"
          },
          "inputs": {
            "type": "object",
            "description": "Normalised inputs actually used, including applied defaults."
          },
          "summary": {
            "type": "string"
          },
          "result": {
            "type": "object",
            "properties": {
              "coding": {
                "type": "string"
              },
              "masculine": {
                "type": "integer"
              },
              "feminine": {
                "type": "integer"
              },
              "findings": {
                "type": "array"
              },
              "counts": {
                "type": "object"
              }
            }
          },
          "units": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "assumptions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "title"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "publisher": {
                  "type": "string"
                },
                "retrievedAt": {
                  "type": "string"
                },
                "note": {
                  "type": "string"
                }
              }
            }
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "presentation": {
            "type": "array",
            "items": {
              "type": "object"
            },
            "description": "Display blocks used by the human page (same data)."
          },
          "links": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "human",
              "api",
              "openapi",
              "methodology"
            ],
            "properties": {
              "human": {
                "type": "string",
                "format": "uri"
              },
              "api": {
                "type": "string",
                "format": "uri"
              },
              "openapi": {
                "type": "string",
                "format": "uri"
              },
              "methodology": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        }
      },
      "TimefairInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "title": {
            "title": "Meeting title",
            "type": "string",
            "maxLength": 120,
            "default": "Team meeting"
          },
          "participants": {
            "title": "Participants",
            "description": "IANA time zone such as Europe/Berlin, America/New_York, Asia/Kolkata. Work end earlier than start means an overnight shift. The first participant is the organiser (date range uses their calendar).",
            "type": "array",
            "minItems": 2,
            "maxItems": 20,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "name": {
                  "title": "Name",
                  "type": "string",
                  "maxLength": 80
                },
                "timeZone": {
                  "title": "Time zone",
                  "type": "string",
                  "maxLength": 64
                },
                "workStart": {
                  "title": "Work start",
                  "type": "string",
                  "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
                  "default": "09:00"
                },
                "workEnd": {
                  "title": "Work end",
                  "type": "string",
                  "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
                  "default": "17:00"
                },
                "weight": {
                  "title": "Weight",
                  "type": "number",
                  "minimum": 0.1,
                  "maximum": 10,
                  "default": 1
                }
              },
              "required": [
                "name",
                "timeZone"
              ]
            }
          },
          "startDate": {
            "title": "First day",
            "description": "In the organiser’s time zone. Defaults to today (UTC date).",
            "type": "string",
            "format": "date"
          },
          "days": {
            "title": "Number of days",
            "type": "integer",
            "minimum": 1,
            "maximum": 14,
            "default": 5
          },
          "durationMinutes": {
            "title": "Meeting length",
            "type": "integer",
            "minimum": 15,
            "maximum": 480,
            "default": 60,
            "x-unit": "min"
          },
          "granularity": {
            "title": "Slot granularity",
            "type": "string",
            "enum": [
              "15",
              "30",
              "60"
            ],
            "default": "30"
          },
          "workdays": {
            "title": "Working days (local to each participant)",
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "sun",
                "mon",
                "tue",
                "wed",
                "thu",
                "fri",
                "sat"
              ]
            },
            "default": [
              "mon",
              "tue",
              "wed",
              "thu",
              "fri"
            ]
          },
          "recurrences": {
            "title": "Occurrences to rotate",
            "type": "integer",
            "minimum": 1,
            "maximum": 12,
            "default": 4
          },
          "intervalDays": {
            "title": "Repeat every",
            "type": "integer",
            "minimum": 1,
            "maximum": 28,
            "default": 7,
            "x-unit": "days"
          }
        },
        "required": [
          "participants"
        ]
      },
      "TimefairResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "schemaVersion",
          "tool",
          "computedAt",
          "inputs",
          "summary",
          "result",
          "units",
          "assumptions",
          "sources",
          "warnings",
          "presentation",
          "links"
        ],
        "properties": {
          "schemaVersion": {
            "type": "string",
            "const": "1.0"
          },
          "tool": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "name",
              "version"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "version": {
                "type": "string"
              }
            }
          },
          "computedAt": {
            "type": "string",
            "format": "date-time"
          },
          "inputs": {
            "type": "object",
            "description": "Normalised inputs actually used, including applied defaults."
          },
          "summary": {
            "type": "string"
          },
          "result": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "organizerTimeZone",
              "rangeStartUtc",
              "rangeEndUtc",
              "durationMinutes",
              "granularityMinutes",
              "candidatesEvaluated",
              "participants",
              "bestSlots",
              "rotation",
              "rotationTotals",
              "chosen"
            ],
            "properties": {
              "organizerTimeZone": {
                "type": "string"
              },
              "rangeStartUtc": {
                "type": "string",
                "format": "date-time"
              },
              "rangeEndUtc": {
                "type": "string",
                "format": "date-time"
              },
              "durationMinutes": {
                "type": "integer"
              },
              "granularityMinutes": {
                "type": "integer"
              },
              "candidatesEvaluated": {
                "type": "integer",
                "minimum": 1
              },
              "participants": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "timeZone",
                    "workStart",
                    "workEnd",
                    "overnight",
                    "weight"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "timeZone": {
                      "type": "string"
                    },
                    "workStart": {
                      "type": "string"
                    },
                    "workEnd": {
                      "type": "string"
                    },
                    "overnight": {
                      "type": "boolean"
                    },
                    "weight": {
                      "type": "number"
                    }
                  }
                }
              },
              "bestSlots": {
                "type": "array",
                "minItems": 1,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "rank",
                    "startUtc",
                    "endUtc",
                    "cost",
                    "totalInconvenience",
                    "maxInconvenience",
                    "stdDevInconvenience",
                    "local"
                  ],
                  "properties": {
                    "rank": {
                      "type": "integer",
                      "minimum": 1
                    },
                    "startUtc": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "endUtc": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "cost": {
                      "type": "number",
                      "minimum": 0
                    },
                    "totalInconvenience": {
                      "type": "number",
                      "minimum": 0
                    },
                    "maxInconvenience": {
                      "type": "number",
                      "minimum": 0
                    },
                    "stdDevInconvenience": {
                      "type": "number",
                      "minimum": 0
                    },
                    "local": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "name",
                          "timeZone",
                          "localStart",
                          "localEnd",
                          "utcOffset",
                          "weekday",
                          "inconvenience",
                          "outsideMinutes",
                          "nightMinutes"
                        ],
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "timeZone": {
                            "type": "string"
                          },
                          "localStart": {
                            "type": "string",
                            "description": "Local wall time YYYY-MM-DDTHH:MM"
                          },
                          "localEnd": {
                            "type": "string"
                          },
                          "utcOffset": {
                            "type": "string",
                            "pattern": "^[+-]\\d{2}:\\d{2}$"
                          },
                          "weekday": {
                            "type": "string"
                          },
                          "inconvenience": {
                            "type": "number",
                            "minimum": 0
                          },
                          "outsideMinutes": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "nightMinutes": {
                            "type": "integer",
                            "minimum": 0
                          }
                        }
                      }
                    }
                  }
                }
              },
              "rotation": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "occurrence",
                    "startUtc",
                    "endUtc",
                    "local",
                    "cumulative"
                  ],
                  "properties": {
                    "occurrence": {
                      "type": "integer",
                      "minimum": 1
                    },
                    "startUtc": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "endUtc": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "local": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "name",
                          "timeZone",
                          "localStart",
                          "localEnd",
                          "utcOffset",
                          "weekday",
                          "inconvenience",
                          "outsideMinutes",
                          "nightMinutes"
                        ],
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "timeZone": {
                            "type": "string"
                          },
                          "localStart": {
                            "type": "string",
                            "description": "Local wall time YYYY-MM-DDTHH:MM"
                          },
                          "localEnd": {
                            "type": "string"
                          },
                          "utcOffset": {
                            "type": "string",
                            "pattern": "^[+-]\\d{2}:\\d{2}$"
                          },
                          "weekday": {
                            "type": "string"
                          },
                          "inconvenience": {
                            "type": "number",
                            "minimum": 0
                          },
                          "outsideMinutes": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "nightMinutes": {
                            "type": "integer",
                            "minimum": 0
                          }
                        }
                      }
                    },
                    "cumulative": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "name",
                          "total"
                        ],
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "total": {
                            "type": "number"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "rotationTotals": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "total"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "total": {
                      "type": "number"
                    }
                  }
                }
              },
              "chosen": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "startUtc",
                  "endUtc"
                ],
                "properties": {
                  "startUtc": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "endUtc": {
                    "type": "string",
                    "format": "date-time"
                  }
                }
              }
            }
          },
          "units": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "assumptions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "title"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "publisher": {
                  "type": "string"
                },
                "retrievedAt": {
                  "type": "string"
                },
                "note": {
                  "type": "string"
                }
              }
            }
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "presentation": {
            "type": "array",
            "items": {
              "type": "object"
            },
            "description": "Display blocks used by the human page (same data)."
          },
          "links": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "human",
              "api",
              "openapi",
              "methodology"
            ],
            "properties": {
              "human": {
                "type": "string",
                "format": "uri"
              },
              "api": {
                "type": "string",
                "format": "uri"
              },
              "openapi": {
                "type": "string",
                "format": "uri"
              },
              "methodology": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        }
      },
      "DayweaveIcsValidatorInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ics": {
            "title": "Calendar file text (.ics)",
            "type": "string",
            "maxLength": 2000000,
            "default": "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//Example//Team calendar//EN\r\nBEGIN:VEVENT\r\nUID:standup-1@example.org\r\nDTSTAMP:20261201T080000Z\r\nDTSTART;TZID=Europe/Berlin:20261207T093000\r\nDTEND;TZID=Europe/Berlin:20261207T094500\r\nRRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR\r\nEXDATE;TZID=Europe/Berlin:20261224T093000\r\nSUMMARY:Daily stand-up\r\nEND:VEVENT\r\nBEGIN:VEVENT\r\nUID:launch@example.org\r\nDTSTART:20261210T140000Z\r\nDURATION:PT2H\r\nSUMMARY:Launch review\r\nEND:VEVENT\r\nBEGIN:VEVENT\r\nUID:holiday@example.org\r\nDTSTAMP:20261201T080000Z\r\nDTSTART;VALUE=DATE:20261225\r\nSUMMARY:Office closed\r\nEND:VEVENT\r\nEND:VCALENDAR"
          },
          "timeZone": {
            "title": "Time zone for floating times and the preview",
            "type": "string",
            "maxLength": 64,
            "default": "Europe/Berlin"
          },
          "from": {
            "title": "Preview occurrences from (YYYY-MM-DD)",
            "type": "string",
            "maxLength": 10,
            "default": "2026-12-07"
          },
          "nextCount": {
            "title": "Occurrences per event",
            "type": "number",
            "minimum": 1,
            "maximum": 10,
            "default": 3
          }
        },
        "required": []
      },
      "DayweaveIcsValidatorResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "schemaVersion",
          "tool",
          "computedAt",
          "inputs",
          "summary",
          "result",
          "units",
          "assumptions",
          "sources",
          "warnings",
          "presentation",
          "links"
        ],
        "properties": {
          "schemaVersion": {
            "type": "string",
            "const": "1.0"
          },
          "tool": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "name",
              "version"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "version": {
                "type": "string"
              }
            }
          },
          "computedAt": {
            "type": "string",
            "format": "date-time"
          },
          "inputs": {
            "type": "object",
            "description": "Normalised inputs actually used, including applied defaults."
          },
          "summary": {
            "type": "string"
          },
          "result": {
            "type": "object"
          },
          "units": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "assumptions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "title"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "publisher": {
                  "type": "string"
                },
                "retrievedAt": {
                  "type": "string"
                },
                "note": {
                  "type": "string"
                }
              }
            }
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "presentation": {
            "type": "array",
            "items": {
              "type": "object"
            },
            "description": "Display blocks used by the human page (same data)."
          },
          "links": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "human",
              "api",
              "openapi",
              "methodology"
            ],
            "properties": {
              "human": {
                "type": "string",
                "format": "uri"
              },
              "api": {
                "type": "string",
                "format": "uri"
              },
              "openapi": {
                "type": "string",
                "format": "uri"
              },
              "methodology": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        }
      }
    }
  }
}