{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/safety_ncr/v2.json",
  "title": "safety_ncr contract v2",
  "type": "object",
  "required": [
    "external_id",
    "financial_period",
    "form_id",
    "form_title",
    "occurred_at"
  ],
  "properties": {
    "asset": {
      "type": "string",
      "description": "Plant/asset involved, where the NCR is a plant non-conformance.",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "worker": {
      "type": "number",
      "description": "Worker who raised or is responsible for the NCR; resolves to the worker spine.",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "form_id": {
      "type": "number",
      "description": "The source form template the NCR was captured on.",
      "x-demiton-requiredness": "required"
    },
    "project": {
      "type": "string",
      "description": "Project the NCR attaches to.",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "narrative": {
      "type": "string",
      "description": "The non-conformance description and what was done, composed from the source responses Q&A; may be null when nothing is renderable.",
      "x-demiton-requiredness": "optional"
    },
    "form_title": {
      "type": "string",
      "description": "The source form template's title — which tenant NCR template this is, and whether it is the quality or safety variant.",
      "x-demiton-requiredness": "required"
    },
    "notifiable": {
      "type": "boolean",
      "description": "whether this nonconformance meets a notification trigger in the contract that governs it (for example MRTS50 cl 10.2 (a) to (j)), so it must be notified to the principal. Optional: a nonconformance with none set starts no notification clock",
      "x-demiton-requiredness": "optional"
    },
    "external_id": {
      "type": "string",
      "description": "Stable identity of the source NCR record (Assignar form-result id, cast to text).",
      "x-demiton-requiredness": "required"
    },
    "occurred_at": {
      "type": "string",
      "description": "When the non-conformance was submitted/occurred; the reporting clock.",
      "x-demiton-requiredness": "required",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "creator_name": {
      "type": "string",
      "description": "Display name of the submitting Assignar user (free text, not a resolved identity).",
      "x-demiton-requiredness": "optional"
    },
    "jurisdiction": {
      "type": "jurisdiction",
      "description": "The WHS/quality regime whose notification and retention rules apply to this record.",
      "x-demiton-requiredness": "optional"
    },
    "modified_time": {
      "type": "string",
      "description": "Source last-modified time; the delta-harvest cursor.",
      "x-demiton-requiredness": "optional",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "financial_period": {
      "type": "string",
      "description": "The period the NCR falls in, derived from `occurred_at`; the axis retention is computed against.",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "`YYYY-MM`",
      "format": "date",
      "x-demiton-type": "date"
    }
  },
  "x-demiton-register-type": "safety_ncr",
  "x-demiton-contract-version": "2.1.1",
  "x-demiton-store": "tenant",
  "x-demiton-axes": [
    {
      "axis": "worker",
      "requirement": "optional",
      "role": "subject"
    },
    {
      "axis": "asset",
      "requirement": "optional",
      "role": "subject"
    },
    {
      "axis": "project",
      "requirement": "optional",
      "role": "subject"
    },
    {
      "axis": "financial_period",
      "requirement": "required",
      "role": "context"
    }
  ],
  "x-demiton-measures": [],
  "x-demiton-provenance": {
    "standards": [
      {
        "code": "AS/NZS ISO 14001:2016",
        "title": "Environmental management systems - Requirements with guidance for use",
        "access": "paywalled_secondary",
        "clause": "10.2",
        "region": "Australia",
        "edition": "2016",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AS/NZS ISO 45001:2018",
        "title": "Occupational health and safety management systems - Requirements with guidance for use",
        "access": "paywalled_secondary",
        "clause": "10.2",
        "region": "Australia",
        "edition": "2018",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AS/NZS ISO 9001:2016",
        "title": "Quality management systems - Requirements",
        "access": "paywalled_secondary",
        "clause": "7.5; 8.7; 10.2",
        "region": "Australia",
        "edition": "2016 (adoption of ISO 9001:2015)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Model WHS Act",
        "title": "Model Work Health and Safety Act",
        "access": "full_text_verified",
        "clause": "ss 35-37; s 38(7)",
        "region": "Australia",
        "edition": "model Bill 1 Aug 2023",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Privacy Act 1988 (Cth)",
        "title": "Privacy Act 1988 (Cth)",
        "access": "public_summary",
        "clause": "s 6FA",
        "region": "Australia",
        "edition": "current",
        "checked_on": "2026-09-14"
      },
      {
        "code": "GDPR",
        "title": "Regulation (EU) 2016/679",
        "access": "full_text_verified",
        "clause": "Art 9",
        "region": "European Union",
        "edition": "2016/679",
        "checked_on": "2026-09-14"
      },
      {
        "code": "ISO 45001:2018",
        "title": "Occupational health and safety management systems - Requirements with guidance for use",
        "access": "paywalled_secondary",
        "clause": "10.2",
        "region": "International",
        "edition": "2018 (Amd 1:2024)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "ISO 9001:2015",
        "title": "Quality management systems - Requirements",
        "access": "paywalled_secondary",
        "clause": "7.5 documented information; 8.7 control of nonconforming outputs; 10.2 nonconformity and corrective action",
        "region": "International",
        "edition": "2015 (ISO 9001:2026 expected 2026-09-16, publication unverified)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "RIDDOR 2013",
        "title": "Reporting of Injuries, Diseases and Dangerous Occurrences Regulations 2013 (SI 2013/1471)",
        "access": "public_summary",
        "clause": "reg 4; Sch 2",
        "region": "United Kingdom",
        "edition": "2013",
        "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.29; 7-day entry; 1904.33 retention",
        "region": "United States",
        "edition": "current",
        "checked_on": "2026-09-14"
      }
    ]
  },
  "description": "Non-conformance reports raised on site, for quality and safety.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/safety_ncr/",
  "x-demiton-register-catalog": "https://docs.demiton.io/concepts/register-catalog"
}