# `people@1` — Team staffing, hiring, time off and scored surveys

Version **1.0.0** · published 2026-12-02 · MIT · boards: Hiring Pipeline, Team & Headcount, Engagement Survey, Time Off.

`people@1` defines the aggregate handoff from an ATS, HRIS, scheduler or survey export to a board. It gives each
board a common team key and the counts and denominators needed for comparable metrics.

## Grains and measures

- **Staffing** uses the first day of the reporting month as its key. Each source uses a consistent snapshot
  convention for actuals and plan. Within a team-month, split by mutually exclusive primary roles or use a single
  unsplit row keyed by the reserved role id `role-all`. Never publish the team total alongside its role breakdown. Headcount and FTE are point-in-time
  measures. Monthly costs are period totals in `meta.base_currency` and use the same role split. Omit reported
  or planned cost where its applicable headcount is unknown or below two.
- **Hiring** keeps the public-to-the-team requisition state separately from candidate aggregates. The cohort
  month is the month the application entered that requisition. A connector counts an application at most once
  per stage and cohort. A **current** count puts each active application in one stage. A **reached** count includes
  each application that progressed to or beyond the stage in the standard funnel, including skips. Reached
  counts support conversion, current counts show queues. Compare reached counts over the same requisitions
  and cohorts with known numerator and denominator. A stage absent in an export remains unknown. Time to
  hire is total elapsed seconds from application to acceptance divided by the measured-hire count. Compute
  a combined average as the sum of those durations divided by the sum of the measured counts.
- **Time off** uses Monday-start weeks in the reporting zone and working seconds. Count each scheduled person
  once at every instant even if more than one approved leave entry overlaps. The weekly peak away and minimum
  available headcounts are optional, require overlap data at source, and are not additive. Report leave balances
  on the source snapshot date, by team and coarse category. Remaining seconds may be negative. A team must
  have at least two scheduled people for coverage and two people represented in a balance.
- **Surveys** keep one score aggregate per closed wave, team and scored question. The question fixes its scale
  across comparable waves. Compute a combined score as total score sum divided by total response count for the
  same question and scale. Response counts are specific to each question, so adding counts across questions
  does not count unique respondents. A team aggregate must have at least five distinct scored responses to
  that question, or meet a higher local `meta.survey_min_group` floor if specified. Suppress smaller cells before
  writing the database. Missing cells stay unknown.

## Privacy and import conventions

- Aggregate before storage. Keep team and role labels, requisition keys, survey question labels, and counts.
  Discard employee, candidate and respondent names and identifiers, including hashed identifiers, individual
  responses, free comments, interview detail, unaggregated pay and private leave reasons or events.
- Use single, non-overlapping cuts for additive facts. Coarsen or suppress any group from which an individual
  could be inferred, including when totals, overlapping cohorts or successive releases enable subtraction.
  A minimum count is a floor. It cannot establish anonymity by itself.
- Store a connector `source`, a cleaned aggregate locator in `source_ref` and an ISO 8601 UTC `imported_at`
  on every fact. Strip identifying filenames, input text, private paths and individual IDs from locators,
  issue details, annotations, corrections and extensions. Count suppressed source rows in scope-wide
  `import_issues` without retaining the suppressed cells or their responses.
- Choose one authoritative source per fact type and reporting team. Replace an aggregate with the newest
  authoritative snapshot for the same key. Keep IDs stable from the source's organizational identifiers
  or a deterministic key. Missing measures are NULL and reported zeroes are zero. Use local dates in
  `meta.timezone`, UTC instants for import timestamps, and omit import timestamps from `data_hash`.

| Source | Aggregate records |
|---|---|
| ATS requisition and stage summaries | Teams, roles, requisitions, cohort counts and aggregate hire durations |
| HRIS team/role staffing and plan exports | Staffing snapshots with counts, FTE or costs |
| HRIS and scheduler team weekly summaries | Scheduled work, approved absence overlap and leave balances |
| Survey tool scored team summaries | Wave metadata, scale definitions and reportable weighted scores |

## Compatibility

Boards that declare `people@1 >=1.x` can read the published fields in later 1.x databases. Validate against
the declared release or a newer compatible checker. Prefix fork tables with `x_<owner>_` and board-derived
tables with `d_`. Both must follow the same privacy contract. The checker verifies the standard's own tables and
cannot verify the content of arbitrary extensions. Breaking changes go into `people@2` with a migration and
metrics codemod.

## Fields

<!-- fields:begin (generated from schema.sql by spec/build.py; edit the DDL comments) -->

### `meta` (required table)

Key/value facts about the import, including reporting date, time zone and cost currency.

| Field | Type | Required | Meaning |
|---|---|---|---|
| `key` | TEXT | **yes** | e.g. as_of |
| `value` | TEXT | **yes** | string value |

### `teams` (required table)

A reporting team defined by the organization. Each person is assigned to one primary team in an additive cut.

| Field | Type | Required | Meaning |
|---|---|---|---|
| `team_id` | TEXT | **yes** | stable source team id such as team-orbit |
| `name` | TEXT | **yes** | team label without names or other personal information |

### `roles`

A reporting role, job family or group such as All roles when a finer cut is unavailable.

| Field | Type | Required | Meaning |
|---|---|---|---|
| `role_id` | TEXT | **yes** | stable source role id such as role-support; role-all is reserved for an unsplit team total |
| `name` | TEXT | **yes** | role label without names or other personal information |

### `staffing_snapshots`

One staffing row per reporting month, team and role. Use mutually exclusive primary-role groups for each team-month.

| Field | Type | Required | Meaning |
|---|---|---|---|
| `month_start` | TEXT (date) | **yes** | first day of the reporting month, in meta.timezone |
| `team_id` | TEXT | **yes** | the reporting team |
| `role_id` | TEXT | **yes** | the primary role or an unsplit team-wide role |
| `actual_headcount` | INTEGER | no | people active at the source's reporting snapshot |
| `planned_headcount` | INTEGER | no | people budgeted for the same reporting snapshot |
| `actual_fte` | REAL | no | full-time equivalents at the snapshot |
| `planned_fte` | REAL | no | full-time equivalents budgeted for the snapshot |
| `actual_cost` | REAL | no | nonnegative organization staffing cost for the month in major currency units |
| `planned_cost` | REAL | no | nonnegative staffing cost budgeted for the same month |
| `currency` | TEXT (currency) | no | ISO 4217, equal to meta.base_currency when either cost is reported |
| `source` | TEXT | **yes** | connector id for the staffing aggregate |
| `source_ref` | TEXT | **yes** | privacy-safe aggregate locator |
| `imported_at` | TEXT (instant) | **yes** | ISO 8601 UTC instant, excluded from meta.data_hash |

### `hiring_openings`

One recruiting requisition for a team and role. A requisition may authorize more than one seat.

| Field | Type | Required | Meaning |
|---|---|---|---|
| `opening_id` | TEXT | **yes** | stable source requisition id, never a candidate id |
| `team_id` | TEXT | **yes** | the recruiting team |
| `role_id` | TEXT | **yes** | the recruiting role |
| `opened_on` | TEXT (date) | **yes** | first date the requisition opened in meta.timezone |
| `closed_on` | TEXT (date) | no | closing date, only for a filled or cancelled requisition |
| `status` | TEXT (vocab `opening_statuses`) | **yes** | open \| paused \| filled \| cancelled, as of meta.as_of |
| `seats` | INTEGER | **yes** | number of authorized hires on the requisition |
| `source` | TEXT | **yes** | connector id for the requisition |
| `source_ref` | TEXT | **yes** | privacy-safe requisition locator |
| `imported_at` | TEXT (instant) | **yes** | ISO 8601 UTC instant, excluded from meta.data_hash |

### `hiring_stage_counts`

One aggregate per requisition, application cohort month and standardized hiring stage, as of meta.as_of.

| Field | Type | Required | Meaning |
|---|---|---|---|
| `opening_id` | TEXT | **yes** | the requisition |
| `cohort_month` | TEXT (date) | **yes** | first day of the month applications entered this requisition |
| `stage` | TEXT (vocab `hiring_stages`) | **yes** | applied \| screened \| interview \| offer \| hired, in funnel order |
| `current_count` | INTEGER | no | applications whose current stage is this stage, excluding ended applications other than hires |
| `reached_count` | INTEGER | no | distinct applications in this cohort to have reached this stage or beyond |
| `hire_duration_count` | INTEGER | no | hired stage only: number of hires with a measured time to hire |
| `hire_duration_seconds` | INTEGER | no | hired stage only: sum of elapsed application-to-acceptance seconds for measured hires |
| `source` | TEXT | **yes** | connector id for the stage aggregate |
| `source_ref` | TEXT | **yes** | privacy-safe aggregate locator, never an application reference |
| `imported_at` | TEXT (instant) | **yes** | ISO 8601 UTC instant, excluded from meta.data_hash |

### `leave_coverage`

Work coverage and approved time off for one team and calendar week. No person or leave event is retained.

| Field | Type | Required | Meaning |
|---|---|---|---|
| `team_id` | TEXT | **yes** | scheduled team |
| `week_start` | TEXT (date) | **yes** | Monday in meta.timezone, inclusive |
| `scheduled_headcount` | INTEGER | **yes** | distinct people scheduled to work at least once during the week |
| `scheduled_seconds` | INTEGER | **yes** | sum of scheduled team working seconds during the week |
| `leave_seconds` | INTEGER | **yes** | approved time off that overlaps scheduled work; count overlapping leave once |
| `peak_simultaneous_away` | INTEGER | no | largest number of distinct scheduled people on approved leave at the same time |
| `min_available_headcount` | INTEGER | no | smallest number available across intervals with at least one person scheduled |
| `source` | TEXT | **yes** | connector id for the weekly coverage aggregate |
| `source_ref` | TEXT | **yes** | privacy-safe aggregate locator, never a person, request or reason |
| `imported_at` | TEXT (instant) | **yes** | ISO 8601 UTC instant, excluded from meta.data_hash |

### `leave_balances`

A team-level leave balance for one reporting date and coarse leave category.

| Field | Type | Required | Meaning |
|---|---|---|---|
| `team_id` | TEXT | **yes** | reporting team |
| `balance_on` | TEXT (date) | **yes** | date of the source's balance snapshot |
| `leave_kind` | TEXT (vocab `leave_kinds`) | **yes** | annual \| personal \| compensatory \| other; health reasons are excluded |
| `eligible_count` | INTEGER | **yes** | people represented by the balance aggregate |
| `remaining_seconds` | INTEGER | **yes** | combined remaining balance as working seconds; may be negative if overdrawn |
| `source` | TEXT | **yes** | connector id for the leave balance aggregate |
| `source_ref` | TEXT | **yes** | privacy-safe aggregate locator |
| `imported_at` | TEXT (instant) | **yes** | ISO 8601 UTC instant, excluded from meta.data_hash |

### `survey_waves`

One collection wave from a scored survey. The survey instrument can be reused by subsequent waves.

| Field | Type | Required | Meaning |
|---|---|---|---|
| `wave_id` | TEXT | **yes** | stable source wave id, such as pulse-2026-03 |
| `name` | TEXT | **yes** | privacy-safe campaign label |
| `opened_on` | TEXT (date) | **yes** | first day covered by the wave |
| `closed_on` | TEXT (date) | **yes** | last day covered by the wave, inclusive |
| `source` | TEXT | **yes** | connector id for the survey summary |
| `source_ref` | TEXT | **yes** | privacy-safe wave locator |
| `imported_at` | TEXT (instant) | **yes** | ISO 8601 UTC instant, excluded from meta.data_hash |

### `survey_questions`

One scored question on one fixed scale. A materially revised question or scale needs a new question id.

| Field | Type | Required | Meaning |
|---|---|---|---|
| `question_id` | TEXT | **yes** | stable question id across comparable waves |
| `label` | TEXT | **yes** | the question label without responses or private names |
| `scale_min` | REAL | **yes** | smallest permitted response score |
| `scale_max` | REAL | **yes** | largest permitted response score, strictly above scale_min |

### `survey_scores`

One reportable scored response aggregate per wave, team and question. Small cohorts are omitted.

| Field | Type | Required | Meaning |
|---|---|---|---|
| `wave_id` | TEXT | **yes** | collection wave |
| `team_id` | TEXT | **yes** | reporting team |
| `question_id` | TEXT | **yes** | question and scale |
| `response_count` | INTEGER | **yes** | distinct submitted responses that supplied a score for this question |
| `score_sum` | REAL | **yes** | sum of the submitted scores, weighted mean = score_sum / response_count |
| `source` | TEXT | **yes** | connector id for the survey aggregate |
| `source_ref` | TEXT | **yes** | privacy-safe aggregate locator, never a response reference |
| `imported_at` | TEXT (instant) | **yes** | ISO 8601 UTC instant, excluded from meta.data_hash |

### `import_issues`

A privacy-safe account of rows the importer skipped or could not use.

| Field | Type | Required | Meaning |
|---|---|---|---|
| `issue_id` | TEXT | **yes** | deterministic id from aggregate source, issue kind and safe locator |
| `severity` | TEXT (vocab `severities`) | **yes** | info \| warn \| error |
| `kind` | TEXT | **yes** | safe issue category such as suppressed or invalid_period |
| `affected_rows` | INTEGER | **yes** | source rows accounted for by this issue, zero for a file-level issue |
| `source` | TEXT | **yes** | connector id |
| `source_ref` | TEXT | **yes** | privacy-safe file or aggregate locator |
| `detail` | TEXT | **yes** | reason without original values or personal records |
| `handling` | TEXT | **yes** | action the importer took |

### `overrides`

Corrections to aggregate records with privacy-safe evidence (platform table).

| Field | Type | Required | Meaning |
|---|---|---|---|
| `override_id` | TEXT | **yes** | stable correction id |
| `target` | TEXT | **yes** | aggregate table and key targeted by the correction |
| `field` | TEXT | no | column targeted by the correction |
| `old_value` | TEXT | no | old aggregate value |
| `new_value` | TEXT | no | new aggregate value |
| `reason` | TEXT | **yes** | privacy-safe reason for the correction |
| `evidence` | TEXT | no | privacy-safe aggregate reference |
| `author` | TEXT | no | person or assistant label without personal identifiers |
| `created_at` | TEXT (instant) | no | ISO 8601 UTC instant |

### `annotations`

Privacy-safe notes on metrics and pages (platform table).

| Field | Type | Required | Meaning |
|---|---|---|---|
| `annotation_id` | TEXT | **yes** | stable note id |
| `target` | TEXT | **yes** | metric or page id |
| `kind` | TEXT | **yes** | note \| caveat \| flag \| decision \| open_item |
| `body` | TEXT | **yes** | note without personal details, use metric placeholders for figures |
| `author` | TEXT | no | person or assistant label without personal identifiers |
| `source_ref` | TEXT | no | privacy-safe aggregate reference |
| `created_at` | TEXT (instant) | no | ISO 8601 UTC instant |
| `data_hash` | TEXT | no | hash of the cited metric values at writing time |
| `status` | TEXT | no | active \| stale \| retired |

### `metric_registry`

Board metrics installed by the importer (platform table).

| Field | Type | Required | Meaning |
|---|---|---|---|
| `metric_id` | TEXT | **yes** | e.g. staffing.headcount |
| `version` | INTEGER | no | version of the metric |
| `unit` | TEXT | no | unit such as seconds or count |
| `params` | TEXT | no | comma-separated parameter names |
| `description` | TEXT | no | metric description |
| `sql` | TEXT | no | SQL of the metric |
| `test` | TEXT | no | check covering the metric |

<!-- fields:end -->

## Vocabularies

`hiring_stages.csv`, `opening_statuses.csv`, `leave_kinds.csv` and `severities.csv` map source codes to
the reporting contract.

## Conformance

`checks.yaml` covers aggregate grain, references, period boundaries, valid amounts and counts, provenance and
survey thresholds. Run `dashremix spec check <db> people@1` to verify a populated dataset.
