HR-R2 Documents

Documents and certificates baseline

Document/certificate metadata is visible by scope; raw attachments and special-protected files stay out of evidence and public UI.

API endpointMetadata baseline/people/v1/documents/certificates?companyId=company-alpha

Operational pattern

Core workflow rows

Postgres-backed API
SubjectStatusControl
Employment certificateavailablemetadata only
Medical certificatefutureprotected
Expirytrackedreport-ready

Sensitive-field handling

No raw leakage

HR-R2 screens and evidence avoid national ID, raw salary detail, health data, geolocation, photo, signature, device fingerprint, raw attachment, and receipt blob values.