{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/day_works_docket/v2.json",
  "title": "day_works_docket contract v2",
  "type": "object",
  "required": [
    "description",
    "external_id",
    "occurred_at",
    "project",
    "work_date"
  ],
  "properties": {
    "rate": {
      "type": "string",
      "description": "The agreed dayworks rate.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "currency per hour/unit"
    },
    "asset": {
      "type": "string",
      "description": "The plant or equipment used.",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "hours": {
      "type": "number",
      "description": "Hours of extra work.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "hours",
      "x-demiton-type": "decimal"
    },
    "amount": {
      "type": "number",
      "description": "The docket total.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "currency",
      "x-demiton-type": "decimal"
    },
    "worker": {
      "type": "number",
      "description": "The worker the docket is attributed to.",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "project": {
      "type": "number",
      "description": "The project or job the extra work was done on.",
      "x-demiton-requiredness": "required",
      "x-demiton-reference": true
    },
    "currency": {
      "type": "currency",
      "description": "the currency of `rate`/`amount`",
      "x-demiton-requiredness": "optional"
    },
    "narrative": {
      "type": "object",
      "description": "The source form responses.",
      "x-demiton-requiredness": "optional"
    },
    "signature": {
      "type": "string",
      "description": "The client sign-off on the docket.",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "tax_basis": {
      "type": "string",
      "description": "whether `rate`/`amount` include GST/VAT",
      "x-demiton-requiredness": "optional"
    },
    "work_date": {
      "type": "string",
      "description": "The calendar day the dayworks were performed, falling back to the diary date.",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "day",
      "format": "date",
      "x-demiton-type": "date"
    },
    "delay_days": {
      "type": "number",
      "description": "Estimated delay, in days, attributable to the extra work.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "days",
      "x-demiton-type": "decimal"
    },
    "attachments": {
      "type": "string",
      "description": "Photo evidence attached to the docket.",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "description": {
      "type": "string",
      "description": "The works performed.",
      "x-demiton-requiredness": "required"
    },
    "external_id": {
      "type": "string",
      "description": "The source row's own identifier.",
      "x-demiton-requiredness": "required"
    },
    "occurred_at": {
      "type": "string",
      "description": "When the docket was submitted.",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "instant",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "creator_name": {
      "type": "string",
      "description": "Who filled the docket in.",
      "x-demiton-requiredness": "optional"
    },
    "project_number": {
      "type": "string",
      "description": "The human project number quoted on the docket.",
      "x-demiton-requiredness": "optional"
    },
    "source_form_id": {
      "type": "number",
      "description": "The id of the form template that produced the row.",
      "x-demiton-requiredness": "optional"
    },
    "client_reference": {
      "type": "string",
      "description": "The client's own docket or PO reference.",
      "x-demiton-requiredness": "optional"
    },
    "financial_period": {
      "type": "string",
      "description": "the period the work is attributed to",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "source_form_title": {
      "type": "string",
      "description": "The title of the form template that produced the row.",
      "x-demiton-requiredness": "optional"
    },
    "claimable_under_sop": {
      "type": "boolean",
      "description": "whether the amount may be included in a Security-of-Payment claim in the governing jurisdiction",
      "x-demiton-requiredness": "optional"
    },
    "client_representative": {
      "type": "string",
      "description": "The client's authorised representative.",
      "x-demiton-requiredness": "optional"
    },
    "contractor_representative": {
      "type": "string",
      "description": "The contractor's authorised representative.",
      "x-demiton-requiredness": "optional"
    }
  },
  "x-demiton-register-type": "day_works_docket",
  "x-demiton-contract-version": "2.0.3",
  "x-demiton-store": "tenant",
  "x-demiton-axes": [
    {
      "axis": "financial_period",
      "requirement": "optional",
      "role": "context"
    },
    {
      "axis": "worker",
      "requirement": "optional",
      "role": "subject"
    },
    {
      "axis": "project",
      "requirement": "required",
      "role": "subject"
    },
    {
      "axis": "asset",
      "requirement": "optional",
      "role": "subject"
    }
  ],
  "x-demiton-measures": [],
  "x-demiton-provenance": {
    "standards": [
      {
        "code": "AS 4000-1997",
        "title": "General Conditions of Contract (superseded edition, still in use)",
        "access": "paywalled_secondary",
        "clause": "cl 37.1/37.2 (per commentary)",
        "region": "Australia",
        "edition": "1997",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AS 4000:2025",
        "title": "General Conditions of Contract (construct only)",
        "access": "paywalled_secondary",
        "clause": "cl 20 (per commentary)",
        "region": "Australia",
        "edition": "2025",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AS 4902-2000",
        "title": "General Conditions of Contract for Design and Construct",
        "access": "paywalled_secondary",
        "region": "Australia",
        "edition": "2000",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AU SoP Acts",
        "title": "Australian state and territory Security of Payment Acts (NSW 1999, QLD 2017, VIC 2002, WA 2021, SA 2009, TAS 2009, ACT 2009, NT 2004)",
        "access": "public_summary",
        "region": "Australia",
        "edition": "various",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Privacy Act 1988 (Cth)",
        "title": "Privacy Act 1988 (Cth)",
        "access": "public_summary",
        "region": "Australia",
        "edition": "current",
        "checked_on": "2026-09-14"
      },
      {
        "code": "TAS BCISP Act 2009",
        "title": "Building and Construction Industry Security of Payment Act 2009 (Tas)",
        "access": "full_text_verified",
        "clause": "s 17(6)",
        "region": "Australia",
        "edition": "2009 (in force 2025-10-11)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Regulation (EU) 2016/679 (GDPR)",
        "title": "General Data Protection Regulation",
        "access": "full_text_verified",
        "region": "European Union",
        "edition": "2016",
        "checked_on": "2026-09-14"
      },
      {
        "code": "NZ CCA 2002",
        "title": "Construction Contracts Act 2002 (NZ), 2002 No 46, as amended 2015 and 2023",
        "access": "full_text_verified",
        "clause": "ss 17-21",
        "region": "New Zealand",
        "edition": "as at 5 Oct 2023",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Privacy Act 2020 (NZ)",
        "title": "Privacy Act 2020 (NZ)",
        "access": "public_summary",
        "region": "New Zealand",
        "edition": "current",
        "checked_on": "2026-09-14"
      },
      {
        "code": "HGCRA 1996 Part II",
        "title": "Housing Grants, Construction and Regeneration Act 1996, Part II (as amended by LDEDCA 2009)",
        "access": "full_text_verified",
        "clause": "ss 110A, 111",
        "region": "United Kingdom",
        "edition": "1996 c. 53 as amended",
        "checked_on": "2026-09-14"
      },
      {
        "code": "SI 1998/649",
        "title": "Scheme for Construction Contracts (England and Wales) Regulations 1998",
        "access": "full_text_verified",
        "region": "United Kingdom",
        "edition": "1998 as amended 2011",
        "checked_on": "2026-09-14"
      },
      {
        "code": "UK GDPR / DPA 2018",
        "title": "UK GDPR and Data Protection Act 2018",
        "access": "public_summary",
        "region": "United Kingdom",
        "edition": "as retained and amended",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AIA G702-1992 / G703-1992",
        "title": "Application and Certificate for Payment; Continuation Sheet",
        "access": "public_summary",
        "region": "United States",
        "edition": "1992 (current base editions)",
        "checked_on": "2026-09-14"
      }
    ]
  },
  "description": "Day works dockets for extra or variation work.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/day_works_docket/",
  "x-demiton-register-catalog": "https://docs.demiton.io/concepts/register-catalog"
}