{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/health_screening/v1.json",
  "title": "health_screening contract v1",
  "type": "object",
  "required": [
    "external_id",
    "form_title",
    "occurred_at",
    "worker"
  ],
  "properties": {
    "worker": {
      "type": "number",
      "description": "The worker the screening is about; the required subject anchor.",
      "x-demiton-requiredness": "required",
      "x-demiton-reference": true
    },
    "form_id": {
      "type": "number",
      "description": "The Assignar form-template id (87, 430, 211 for the three title patterns), the stable twin of `form_title`.",
      "x-demiton-requiredness": "optional"
    },
    "project": {
      "type": "number",
      "description": "The project the screening was recorded against, where the source gives one.",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "attributes": {
      "type": "object",
      "description": "Every remaining form answer, keyed by the tenant's own question text, plus `_raw_metadata` at rest.",
      "x-demiton-requiredness": "tenant-specific"
    },
    "form_title": {
      "type": "string",
      "description": "The matched Assignar form's title — which screening instrument this fact is.",
      "x-demiton-requiredness": "required"
    },
    "external_id": {
      "type": "string",
      "description": "Stable identity of the source record (Assignar form-result id, cast to text).",
      "x-demiton-requiredness": "required"
    },
    "occurred_at": {
      "type": "string",
      "description": "When the screening record was submitted; the event time and the retention clock start.",
      "x-demiton-requiredness": "required",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "screened_on": {
      "type": "string",
      "description": "The screening's own date where the form states one (the reader's `date` answer / `diary_date` fallback).",
      "x-demiton-requiredness": "optional",
      "format": "date",
      "x-demiton-type": "date"
    },
    "confirmation": {
      "type": "boolean",
      "description": "Whether the worker confirmed the declaration on the form.",
      "x-demiton-requiredness": "optional"
    },
    "financial_period": {
      "type": "string",
      "description": "The accounting period the screening falls in, derived from `occurred_at`.",
      "x-demiton-requiredness": "optional",
      "format": "date",
      "x-demiton-type": "date"
    },
    "control_measures_required": {
      "type": "string",
      "description": "Control measures the screening identified as required.",
      "x-demiton-requiredness": "optional"
    },
    "fatigue_self_assessment_score": {
      "type": "number",
      "description": "The fatigue self-assessment value, where the form carries one.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "score"
    }
  },
  "x-demiton-register-type": "health_screening",
  "x-demiton-contract-version": "1.0.3",
  "x-demiton-store": "tenant",
  "x-demiton-axes": [
    {
      "axis": "worker",
      "requirement": "required",
      "role": "subject"
    },
    {
      "axis": "financial_period",
      "requirement": "optional",
      "role": "context"
    },
    {
      "axis": "project",
      "requirement": "optional",
      "role": "subject"
    }
  ],
  "x-demiton-measures": [],
  "x-demiton-provenance": {
    "standards": [
      {
        "code": "AS/NZS ISO 45001:2018",
        "title": "Occupational health and safety management systems - Requirements with guidance for use (AU/NZ adoption)",
        "access": "paywalled_secondary",
        "clause": "8.1",
        "region": "Australia",
        "edition": "2018 incorporating Amd 1:2024",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Fair Work Act 2009 (Cth)",
        "title": "Fair Work Act 2009 - employee records and National Employment Standards",
        "access": "full_text_verified",
        "clause": "s.535",
        "region": "Australia",
        "edition": "compilation 2026-07-07",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Model Work Health and Safety Act Part 3",
        "title": "Incident notification (notifiable incidents) and site/record preservation",
        "access": "public_summary",
        "region": "Australia",
        "edition": "model Act (2025 update)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Privacy Act 1988 (Cth)",
        "title": "Privacy Act 1988 - Australian Privacy Principles; employee-records exemption; health information s.6FA",
        "access": "public_summary",
        "clause": "s.6FA",
        "region": "Australia",
        "edition": "current",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Regulation (EU) 2016/679 (GDPR)",
        "title": "General Data Protection Regulation",
        "access": "full_text_verified",
        "clause": "Art 9",
        "region": "European Union",
        "edition": "2016",
        "checked_on": "2026-09-14"
      },
      {
        "code": "ISO 30414:2025",
        "title": "Human resource management - Requirements and recommendations for human capital reporting and disclosure",
        "access": "paywalled_secondary",
        "region": "International",
        "edition": "2nd ed. 2025 (supersedes ISO 30414:2018)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Health and Safety at Work Act 2015 (NZ)",
        "title": "Health and Safety at Work Act 2015",
        "access": "public_summary",
        "region": "New Zealand",
        "edition": "current",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Privacy Act 2020 (NZ)",
        "title": "Privacy Act 2020 and Health Information Privacy Code 2020",
        "access": "public_summary",
        "region": "New Zealand",
        "edition": "Act 2020; HIPC version as at 1 May 2026",
        "checked_on": "2026-09-14"
      },
      {
        "code": "SI 1998/1833",
        "title": "Working Time Regulations 1998",
        "access": "full_text_verified",
        "clause": "reg 9",
        "region": "United Kingdom",
        "edition": "as amended by SI 2023/1426 from 1 Jan 2024",
        "checked_on": "2026-09-14"
      },
      {
        "code": "SI 2013/1471",
        "title": "Reporting of Injuries, Diseases and Dangerous Occurrences Regulations 2013 (RIDDOR)",
        "access": "public_summary",
        "region": "United Kingdom",
        "edition": "2013",
        "checked_on": "2026-09-14"
      },
      {
        "code": "UK GDPR",
        "title": "UK GDPR and Data Protection Act 2018",
        "access": "public_summary",
        "region": "United Kingdom",
        "edition": "current",
        "checked_on": "2026-09-14"
      },
      {
        "code": "29 CFR 1910.1020",
        "title": "OSHA Access to employee exposure and medical records",
        "access": "full_text_verified",
        "clause": "1910.1020(d)(1)(i)",
        "region": "United States",
        "edition": "current",
        "checked_on": "2026-09-14"
      },
      {
        "code": "29 CFR Part 1904",
        "title": "OSHA Recording and Reporting Occupational Injuries and Illnesses",
        "access": "full_text_verified",
        "clause": "1904.33",
        "region": "United States",
        "edition": "eCFR current as of 9 Sep 2026",
        "checked_on": "2026-09-14"
      }
    ]
  },
  "description": "Fitness-for-work and fatigue screening results, by worker and project.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/health_screening/",
  "x-demiton-register-catalog": "https://docs.demiton.io/concepts/register-catalog"
}