Demiton · Schema

cash_position contract v2

Current cash balances across bank accounts.

CompanyConstructionCivil EngineeringProject ManagementComplianceMCPArtificial IntelligenceOpen Contracting

Properties

Name Type Description
as_of string the instant the balances were read
summary string one-line prose digest of the snapshot
accounts array per-account breakdown behind the total
currency currency the reporting currency of `total_cash`, an ISO 4217 alpha-3 code. Each account carries its own `currency`. A record with no currency has no usable amount.
total_cash number sum of the account balances in the reporting currency
account_count integer number of accounts the total covers
legal_entity_id string the legal entity whose cash this is; the fact's subject anchor, stamped also as a `LEGAL_ENTITY` context coordinate
View JSON Schema on GitHub

JSON Schema

demiton-io-cash_position-v2-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/cash_position/v2.json",
  "title": "cash_position contract v2",
  "type": "object",
  "required": [
    "accounts",
    "as_of",
    "currency",
    "legal_entity_id",
    "total_cash"
  ],
  "properties": {
    "as_of": {
      "type": "string",
      "description": "the instant the balances were read",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "instant",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "summary": {
      "type": "string",
      "description": "one-line prose digest of the snapshot",
      "x-demiton-requiredness": "optional"
    },
    "accounts": {
      "type": "array",
      "description": "per-account breakdown behind the total",
      "x-demiton-requiredness": "required",
      "items": {
        "type": "object",
        "properties": {
          "balance": {
            "type": "number",
            "description": "the account's balance at `as_of`",
            "x-demiton-requiredness": "required",
            "x-demiton-unit": "`accounts[].currency`"
          },
          "currency": {
            "type": "string",
            "description": "the account's own currency",
            "x-demiton-requiredness": "optional",
            "x-demiton-type": "money"
          },
          "account_no": {
            "type": "string",
            "description": "account identifier",
            "x-demiton-requiredness": "required"
          },
          "account_name": {
            "type": "string",
            "description": "human label for the account",
            "x-demiton-requiredness": "required"
          },
          "last_statement_date": {
            "type": "string",
            "description": "date of the bank's last statement for the account",
            "x-demiton-requiredness": "optional",
            "format": "date",
            "x-demiton-type": "date"
          }
        },
        "required": [
          "account_name",
          "account_no",
          "balance"
        ]
      }
    },
    "currency": {
      "type": "currency",
      "description": "the reporting currency of `total_cash`, an ISO 4217 alpha-3 code. Each account carries its own `currency`. A record with no currency has no usable amount.",
      "x-demiton-requiredness": "required"
    },
    "total_cash": {
      "type": "number",
      "description": "sum of the account balances in the reporting currency",
      "x-demiton-requiredness": "required"
    },
    "account_count": {
      "type": "integer",
      "description": "number of accounts the total covers",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "count"
    },
    "legal_entity_id": {
      "type": "string",
      "description": "the legal entity whose cash this is; the fact's subject anchor, stamped also as a `LEGAL_ENTITY` context coordinate",
      "x-demiton-requiredness": "required",
      "x-demiton-reference": true
    }
  },
  "x-demiton-register-type": "cash_position",
  "x-demiton-contract-version": "2.0.1",
  "x-demiton-store": "tenant",
  "x-demiton-axes": [
    {
      "axis": "currency",
      "requirement": "optional",
      "role": "context"
    },
    {
      "axis": "legal_entity",
      "requirement": "optional",
      "role": "context"
    }
  ],
  "x-demiton-measures": [],
  "x-demiton-provenance": {
    "standards": [
      {
        "code": "Construction Contracts Act 2002 (NZ)",
        "title": "Construction Contracts Act 2002 (NZ), 2002 No 46",
        "access": "full_text_verified",
        "clause": "ss 18C, 18D, 18FD",
        "region": "New Zealand",
        "edition": "as at 5 Oct 2023 (incl. Retention Money Amendment Act 2023)",
        "checked_on": "2026-09-14"
      }
    ]
  },
  "description": "Current cash balances across bank accounts.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/cash_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-cash_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.