Demiton · Schema

retention_position contract v2

Retention currently withheld on a job, and its status.

CompanyConstructionCivil EngineeringProject ManagementComplianceMCPArtificial IntelligenceOpen Contracting

Properties

Name Type Description
project_ref string The subject project's stable external reference (today the ERP job number).
contract_ref string The contract or trust account the retention attaches to
retention_held boolean Whether money is currently withheld by the client
retention_basis string How the retention was calculated (percent of each claim, accumulated, cap)
retention_amount number The amount currently withheld, as recorded by the source
retention_status string The producer's lifecycle code: `PC`, `DLP`, `BG`, `COMPLETED`
retention_currency currency The currency the amount is denominated in
retention_amount_source string Which system actually supplied `retention_amount` (today the constant `bc_job_card_unpopulated`)
View JSON Schema on GitHub

JSON Schema

demiton-io-retention_position-v2-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/retention_position/v2.json",
  "title": "retention_position contract v2",
  "type": "object",
  "required": [
    "project_ref",
    "retention_held"
  ],
  "properties": {
    "project_ref": {
      "type": "string",
      "description": "The subject project's stable external reference (today the ERP job number).",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "n/a"
    },
    "contract_ref": {
      "type": "string",
      "description": "The contract or trust account the retention attaches to",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "n/a"
    },
    "retention_held": {
      "type": "boolean",
      "description": "Whether money is currently withheld by the client",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "n/a"
    },
    "retention_basis": {
      "type": "string",
      "description": "How the retention was calculated (percent of each claim, accumulated, cap)",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "n/a"
    },
    "retention_amount": {
      "type": "number",
      "description": "The amount currently withheld, as recorded by the source",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "currency of the bound legal entity",
      "x-demiton-type": "decimal"
    },
    "retention_status": {
      "type": "string",
      "description": "The producer's lifecycle code: `PC`, `DLP`, `BG`, `COMPLETED`",
      "x-demiton-requiredness": "tenant-specific",
      "x-demiton-unit": "n/a"
    },
    "retention_currency": {
      "type": "currency",
      "description": "The currency the amount is denominated in",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "n/a"
    },
    "retention_amount_source": {
      "type": "string",
      "description": "Which system actually supplied `retention_amount` (today the constant `bc_job_card_unpopulated`)",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "n/a"
    }
  },
  "x-demiton-register-type": "retention_position",
  "x-demiton-contract-version": "2.0.2",
  "x-demiton-store": "tenant",
  "x-demiton-axes": [
    {
      "axis": "customer",
      "requirement": "optional",
      "role": "context"
    },
    {
      "axis": "legal_entity",
      "requirement": "optional",
      "role": "context"
    }
  ],
  "x-demiton-measures": [],
  "x-demiton-provenance": {
    "standards": [
      {
        "code": "AS 4000-1997",
        "title": "General Conditions of Contract (superseded edition, still in use)",
        "access": "paywalled_secondary",
        "region": "Australia",
        "edition": "1997",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AS 4000:2025",
        "title": "General Conditions of Contract (construct only)",
        "access": "paywalled_secondary",
        "clause": "Annexure Part A (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": "Corporations Act 2001 (Cth) s 286",
        "title": "Corporations Act 2001 (Cth) - financial records, 7-year retention",
        "access": "full_text_verified",
        "clause": "s 286",
        "region": "Australia",
        "edition": "current",
        "checked_on": "2026-09-14"
      },
      {
        "code": "QLD BIF Act 2017",
        "title": "Building Industry Fairness (Security of Payment) Act 2017 (Qld)",
        "access": "public_summary",
        "region": "Australia",
        "edition": "2017 as amended",
        "checked_on": "2026-09-14"
      },
      {
        "code": "VIC BCISP Act 2002",
        "title": "Building and Construction Industry Security of Payment Act 2002 (Vic), as amended from 15 Apr 2026",
        "access": "public_summary",
        "clause": "ss 17A-17H (per commentary)",
        "region": "Australia",
        "edition": "2002 as amended 15 Apr 2026",
        "checked_on": "2026-09-14"
      },
      {
        "code": "WA BCISP Act 2021",
        "title": "Building and Construction Industry (Security of Payment) Act 2021 (WA)",
        "access": "full_text_verified",
        "clause": "ss 59, 71-77",
        "region": "Australia",
        "edition": "2021",
        "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 18B, 18C, 18D, 18DA, 18FD",
        "region": "New Zealand",
        "edition": "as at 5 Oct 2023",
        "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 111, 113",
        "region": "United Kingdom",
        "edition": "1996 c. 53 as 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": "Retention currently withheld on a job, and its status.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/retention_position/",
  "x-demiton-register-catalog": "https://docs.demiton.io/concepts/register-catalog"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/demiton-io-retention_position-v2"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.