{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/plant_prestart/v2.json",
  "title": "plant_prestart contract v2",
  "type": "object",
  "required": [
    "asset",
    "external_id",
    "flagged_count",
    "occurred_at"
  ],
  "properties": {
    "asset": {
      "type": "number",
      "description": "the item of plant the prestart is about",
      "x-demiton-requiredness": "required",
      "x-demiton-reference": true
    },
    "worker": {
      "type": "number",
      "description": "the worker who submitted the prestart; an anchor, not a declared axis",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "form_id": {
      "type": "number",
      "description": "the source form template identity",
      "x-demiton-requiredness": "optional"
    },
    "project": {
      "type": "number",
      "description": "the project the plant was pre-started on that day",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "certifier": {
      "type": "string",
      "description": "the competent person who performed or certified the prestart",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "form_title": {
      "type": "string",
      "description": "the tenant's own name for the prestart form the record was captured on; the key the `form_pattern` sweep matches",
      "x-demiton-requiredness": "tenant-specific"
    },
    "external_id": {
      "type": "string",
      "description": "the source form-result's own identifier, as text",
      "x-demiton-requiredness": "required"
    },
    "occurred_at": {
      "type": "string",
      "description": "when the prestart was submitted; the date the retention clock runs from",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "instant",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "jurisdiction": {
      "type": "jurisdiction",
      "description": "the WHS/examination regime whose interval and retention rule apply",
      "x-demiton-requiredness": "optional"
    },
    "source_units": {
      "type": "object",
      "description": "the source unit each measure arrived in, beside the canonical unit",
      "x-demiton-requiredness": "optional"
    },
    "tag_severity": {
      "type": "integer",
      "description": "the green/yellow/red plant tag at its worst on the form",
      "x-demiton-requiredness": "optional"
    },
    "flagged_count": {
      "type": "integer",
      "description": "how many answers name a fault; the shelf's primary condition signal",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "dimensionless"
    },
    "prestart_date": {
      "type": "string",
      "description": "the date the form itself carries, where it differs from submission time",
      "x-demiton-requiredness": "optional",
      "format": "date",
      "x-demiton-type": "date"
    },
    "tenant_payload": {
      "type": "object",
      "description": "the tenant's own prestart questions and answers — check-item results, selectors, comments, the grout/mixer numerics",
      "x-demiton-requiredness": "tenant-specific"
    },
    "narrative_count": {
      "type": "integer",
      "description": "how many free-text answers were filled in",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "dimensionless"
    },
    "inspection_class": {
      "type": "string",
      "description": "pre-operational / routine / major inspection",
      "x-demiton-requiredness": "optional"
    },
    "unanswered_count": {
      "type": "integer",
      "description": "how many answerable questions were left blank",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "dimensionless"
    },
    "hour_meter_reading": {
      "type": "number",
      "description": "the machine's hour-meter reading recorded at the prestart",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "hours (**unit unverified**)",
      "x-demiton-type": "decimal"
    },
    "asset_registration_number": {
      "type": "string",
      "description": "the registration number for plant that must be registered before use",
      "x-demiton-requiredness": "optional"
    }
  },
  "x-demiton-register-type": "plant_prestart",
  "x-demiton-contract-version": "2.0.3",
  "x-demiton-store": "tenant",
  "x-demiton-axes": [
    {
      "axis": "project",
      "requirement": "optional",
      "role": "subject"
    },
    {
      "axis": "worker",
      "requirement": "optional",
      "role": "subject"
    },
    {
      "axis": "financial_period",
      "requirement": "optional",
      "role": "context"
    },
    {
      "axis": "asset",
      "requirement": "required",
      "role": "subject"
    }
  ],
  "x-demiton-measures": [
    {
      "key": "flagged_count",
      "accumulation": "additive",
      "dtype": "integer",
      "unit": "dimensionless"
    },
    {
      "key": "narrative_count",
      "accumulation": "additive",
      "dtype": "integer",
      "unit": "dimensionless"
    },
    {
      "key": "tag_severity",
      "accumulation": "instantaneous",
      "dtype": "integer",
      "unit": "dimensionless"
    },
    {
      "key": "unanswered_count",
      "accumulation": "additive",
      "dtype": "integer",
      "unit": "dimensionless"
    }
  ],
  "x-demiton-provenance": {
    "standards": [
      {
        "code": "AS 2550.10",
        "title": "Cranes, hoists and winches - Safe use - Mobile elevating work platforms",
        "access": "paywalled_secondary",
        "region": "Australia",
        "edition": "2025",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AS/NZS 1418.10",
        "title": "Cranes, hoists and winches - Mobile elevating work platforms (design and construction)",
        "access": "paywalled_secondary",
        "region": "Australia",
        "edition": "2025",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Model WHS Regulations",
        "title": "Model Work Health and Safety Regulations (Safe Work Australia; given effect by each state/territory)",
        "access": "full_text_verified",
        "clause": "regs 81, 226, 234, 235(4), 237; Sch 3, 5",
        "region": "Australia",
        "edition": "as amended 5 December 2025",
        "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": "8.1",
        "region": "International",
        "edition": "2018 + Amd 1:2024 (AS/NZS ISO 45001:2018 AU/NZ adoption)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "ISO 55000",
        "title": "Asset management - Vocabulary, overview and principles",
        "access": "paywalled_secondary",
        "region": "International",
        "edition": "2024 (AS ISO 55000:2024 identical AU adoption)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "ISO 55001",
        "title": "Asset management - Asset management system - Requirements",
        "access": "paywalled_secondary",
        "clause": "8.1; 7.6",
        "region": "International",
        "edition": "2024 (AS ISO 55001:2024 identical AU adoption)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "ISO/TS 15143-3",
        "title": "Earth-moving machinery and mobile road construction machinery - Worksite data exchange - Telematics data (AEMP 2.0)",
        "access": "paywalled_secondary",
        "region": "International",
        "edition": "2020 (SA TS ISO 15143.3:2021 AU and PD ISO/TS 15143-3:2020 UK identical adoptions)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "LOLER 1998",
        "title": "Lifting Operations and Lifting Equipment Regulations 1998",
        "access": "public_summary",
        "clause": "Schedule 1",
        "region": "United Kingdom",
        "edition": "1998 (with HSE ACOP)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "29 CFR 1910.179",
        "title": "OSHA - Overhead and gantry cranes",
        "access": "full_text_verified",
        "clause": "(j)",
        "region": "United States",
        "edition": "eCFR current (read 2026-09-01 point in time)",
        "checked_on": "2026-09-14"
      }
    ]
  },
  "description": "Daily plant and equipment pre-start checks: condition, defects, compliance.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/plant_prestart/",
  "x-demiton-register-catalog": "https://docs.demiton.io/concepts/register-catalog"
}