{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/project_outcome/v2.json",
  "title": "project_outcome contract v2",
  "type": "object",
  "required": [
    "cost_growth_pct",
    "external_id",
    "financial_period",
    "margin_pct",
    "occurred_at",
    "project",
    "recorded_at",
    "revenue_actual"
  ],
  "properties": {
    "project": {
      "type": "string",
      "description": "The project the outcome is for; asserted via `resolved_coordinates`, not a coordinate",
      "x-demiton-requiredness": "required",
      "x-demiton-reference": true
    },
    "currency": {
      "type": "currency",
      "description": "Unit `revenue_actual` is expressed in",
      "x-demiton-requiredness": "tenant-specific"
    },
    "customer": {
      "type": "string",
      "description": "Client the project is for",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "margin_pct": {
      "type": "number",
      "description": "Latest project margin at the reporting cut",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "percent",
      "x-demiton-type": "decimal"
    },
    "external_id": {
      "type": "string",
      "description": "Dedup key `{project}:{period}`; one upsert per project per month",
      "x-demiton-requiredness": "required"
    },
    "occurred_at": {
      "type": "string",
      "description": "Date the outcome asserts (min of period-28 and today)",
      "x-demiton-requiredness": "required",
      "format": "date",
      "x-demiton-type": "date"
    },
    "recorded_at": {
      "type": "string",
      "description": "When the fact was written",
      "x-demiton-requiredness": "required",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "legal_entity": {
      "type": "string",
      "description": "Owning BC company for multi-entity orgs",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "revenue_actual": {
      "type": "number",
      "description": "Revenue recognised to date; cumulative",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "currency (by coordinate)",
      "x-demiton-type": "decimal"
    },
    "cost_growth_pct": {
      "type": "number",
      "description": "Cost overrun versus budget at the cut",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "percent",
      "x-demiton-type": "decimal"
    },
    "financial_period": {
      "type": "string",
      "description": "Reporting period the snapshot is cut at",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "month"
    }
  },
  "x-demiton-register-type": "project_outcome",
  "x-demiton-contract-version": "2.0.2",
  "x-demiton-store": "tenant",
  "x-demiton-axes": [
    {
      "axis": "legal_entity",
      "requirement": "optional",
      "role": "context"
    },
    {
      "axis": "currency",
      "requirement": "optional",
      "role": "context"
    },
    {
      "axis": "customer",
      "requirement": "optional",
      "role": "context"
    },
    {
      "axis": "financial_period",
      "requirement": "required",
      "role": "context"
    }
  ],
  "x-demiton-measures": [
    {
      "key": "cost_growth_pct",
      "accumulation": "instantaneous",
      "dtype": "float",
      "unit": "pct"
    },
    {
      "key": "margin_pct",
      "accumulation": "instantaneous",
      "dtype": "float",
      "unit": "pct"
    },
    {
      "key": "revenue_actual",
      "accumulation": "additive",
      "dtype": "decimal",
      "unit": "by_coordinate"
    }
  ],
  "x-demiton-provenance": {
    "standards": [
      {
        "code": "A New Tax System (Goods and Services Tax) Act 1999 (Cth)",
        "title": "GST and tax invoice rules (ATO guidance)",
        "access": "public_summary",
        "region": "Australia",
        "edition": "ATO guidance updated 25 Aug 2025",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AS 2124-1992",
        "title": "General Conditions of Contract",
        "access": "paywalled_secondary",
        "clause": "Annexure Part A",
        "region": "Australia",
        "edition": "1992 (superseded)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AS 4000-1997",
        "title": "General Conditions of Contract",
        "access": "paywalled_secondary",
        "clause": "cl 37.1/37.2 (per commentary)",
        "region": "Australia",
        "edition": "1997 (superseded edition, still in use)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AS 4000:2025",
        "title": "General Conditions of Contract (construct only)",
        "access": "paywalled_secondary",
        "clause": "cl 37.2 (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 (R2005); status unverified",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Building Industry Fairness (Security of Payment) Act 2017 (Qld)",
        "title": "QLD security of payment - excluded amounts",
        "access": "public_summary",
        "region": "Australia",
        "edition": "as amended",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Building and Construction Industry (Security of Payment) Act 2021 (WA)",
        "title": "WA security of payment - excluded amounts",
        "access": "full_text_verified",
        "region": "Australia",
        "edition": "as amended",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Building and Construction Industry Security of Payment Act 1999 (NSW)",
        "title": "NSW security of payment - excluded amounts",
        "access": "public_summary",
        "region": "Australia",
        "edition": "as amended",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Building and Construction Industry Security of Payment Act 2002 (Vic)",
        "title": "VIC security of payment - excluded amounts",
        "access": "public_summary",
        "region": "Australia",
        "edition": "as amended",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Council Directive 2006/112/EC",
        "title": "VAT Directive",
        "access": "public_summary",
        "clause": "Art 226",
        "region": "European Union",
        "edition": "consolidated 1 Jan 2025",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Construction Contracts Act 2002 (NZ)",
        "title": "Construction Contracts Act 2002 (2002 No 46)",
        "access": "full_text_verified",
        "clause": "ss 18A-18I, 20, 21",
        "region": "New Zealand",
        "edition": "as at 5 Oct 2023",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Goods and Services Tax Act 1985 (NZ)",
        "title": "GST taxable supply information",
        "access": "public_summary",
        "region": "New Zealand",
        "edition": "as amended (1 Apr 2023 changes)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Housing Grants, Construction and Regeneration Act 1996 Part II",
        "title": "HGCRA 1996 Part II (Payment), as amended by LDEDCA 2009",
        "access": "full_text_verified",
        "clause": "ss 110-113",
        "region": "United Kingdom",
        "edition": "as amended (2011)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "SI 1998/649",
        "title": "Scheme for Construction Contracts (England and Wales) Regulations 1998",
        "access": "full_text_verified",
        "clause": "paras 4-10",
        "region": "United Kingdom",
        "edition": "as amended 2011",
        "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": "A project's actual financial outcome at close-out or a reporting point.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/project_outcome/",
  "x-demiton-register-catalog": "https://docs.demiton.io/concepts/register-catalog"
}