Demiton · Schema

platform_contractor_stats contract v2

Per-contractor statistics rolled up from awarded contracts.

CompanyConstructionCivil EngineeringProject ManagementComplianceMCPArtificial IntelligenceOpen Contracting

Properties

Name Type Description
content string Human-readable narrative label, e.g. ": $X across N contracts (3yr)".
currency currency the currency of every amount on this record (`total_awarded_3yr`), an ISO 4217 alpha-3 code as the source states it. A record with no currency has no usable amount.
tax_basis string `unstated`)
abn_source string —
series_key string The semantic supersede identity, `platform_contractor_stats\
window_end string Last day of the window (= the run date, `observed_at`).
observed_at string Run time at which the rollup was computed; drives freshness ordering.
value_basis string What kind of money the measure is: awarded contract value, latest revision per contract — not a sum of award facts.
revenue_band string `mid` \
window_start string First day of the rolling window the totals cover.
last_win_date string Date of the most recent award in the window.
state_primary string The single most frequent state among the window's awards. Same entity/fact split as `states_active`.
states_active array States the contractor's awards in the window belong to. Written to `PlatformEntity.attributes` today, not to the fact.
contractor_abn string The CONTRACTOR_ABN axis: the contractor identity the rollup is keyed and superseded on. A real ABN where the publisher supplied one, otherwise a minted `demiton-c-` name key.
source_dataset string Producer identity, `contractor_stats_aggregator`.
top_agency_names array Up to 5 buyer names with the most awards in the window.
top_unspsc_codes array Up to 5 category codes with the most awards in the window.
total_awarded_3yr number Sum, across the distinct contracts in the window, of each contract's latest observed award value.
contract_count_3yr integer Count of distinct contracts (by `ocid`, else fact id) with an award in the window.
contractor_entity_id integer The civil-pipeline spine identity the rollup belongs to; also the producer's in-memory aggregation key.
derived_from_fact_count integer Number of award facts scanned to produce the row; provenance for the rollup.
View JSON Schema on GitHub

JSON Schema

demiton-io-platform_contractor_stats-v2-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/platform_contractor_stats/v2.json",
  "title": "platform_contractor_stats contract v2",
  "type": "object",
  "required": [
    "contract_count_3yr",
    "contractor_abn",
    "contractor_entity_id",
    "currency",
    "last_win_date",
    "observed_at",
    "series_key",
    "source_dataset",
    "total_awarded_3yr",
    "value_basis",
    "window_end",
    "window_start"
  ],
  "properties": {
    "content": {
      "type": "string",
      "description": "Human-readable narrative label, e.g. \"<name>: $X across N contracts (3yr)\".",
      "x-demiton-requiredness": "optional"
    },
    "currency": {
      "type": "currency",
      "description": "the currency of every amount on this record (`total_awarded_3yr`), an ISO 4217 alpha-3 code as the source states it. A record with no currency has no usable amount.",
      "x-demiton-requiredness": "required"
    },
    "tax_basis": {
      "type": "string",
      "description": "`unstated`)",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "`exclusive` \\"
    },
    "abn_source": {
      "type": "string",
      "description": "—",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "`provisional`)"
    },
    "series_key": {
      "type": "string",
      "description": "The semantic supersede identity, `platform_contractor_stats\\",
      "x-demiton-requiredness": "required"
    },
    "window_end": {
      "type": "string",
      "description": "Last day of the window (= the run date, `observed_at`).",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "ISO 8601",
      "format": "date",
      "x-demiton-type": "date"
    },
    "observed_at": {
      "type": "string",
      "description": "Run time at which the rollup was computed; drives freshness ordering.",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "ISO 8601",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "value_basis": {
      "type": "string",
      "description": "What kind of money the measure is: awarded contract value, latest revision per contract — not a sum of award facts.",
      "x-demiton-requiredness": "required"
    },
    "revenue_band": {
      "type": "string",
      "description": "`mid` \\",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "`small` \\"
    },
    "window_start": {
      "type": "string",
      "description": "First day of the rolling window the totals cover.",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "ISO 8601",
      "format": "date",
      "x-demiton-type": "date"
    },
    "last_win_date": {
      "type": "string",
      "description": "Date of the most recent award in the window.",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "ISO 8601",
      "format": "date",
      "x-demiton-type": "date"
    },
    "state_primary": {
      "type": "string",
      "description": "The single most frequent state among the window's awards. Same entity/fact split as `states_active`.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "ISO 3166-2:AU subdivision"
    },
    "states_active": {
      "type": "array",
      "description": "States the contractor's awards in the window belong to. Written to `PlatformEntity.attributes` today, not to the fact.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "ISO 3166-2:AU subdivision"
    },
    "contractor_abn": {
      "type": "string",
      "description": "The CONTRACTOR_ABN axis: the contractor identity the rollup is keyed and superseded on. A real ABN where the publisher supplied one, otherwise a minted `demiton-c-<sha16>` name key.",
      "x-demiton-requiredness": "required"
    },
    "source_dataset": {
      "type": "string",
      "description": "Producer identity, `contractor_stats_aggregator`.",
      "x-demiton-requiredness": "required"
    },
    "top_agency_names": {
      "type": "array",
      "description": "Up to 5 buyer names with the most awards in the window.",
      "x-demiton-requiredness": "optional"
    },
    "top_unspsc_codes": {
      "type": "array",
      "description": "Up to 5 category codes with the most awards in the window.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "UNSPSC code"
    },
    "total_awarded_3yr": {
      "type": "number",
      "description": "Sum, across the distinct contracts in the window, of each contract's latest observed award value.",
      "x-demiton-requiredness": "required",
      "x-demiton-type": "decimal"
    },
    "contract_count_3yr": {
      "type": "integer",
      "description": "Count of distinct contracts (by `ocid`, else fact id) with an award in the window.",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "dimensionless"
    },
    "contractor_entity_id": {
      "type": "integer",
      "description": "The civil-pipeline spine identity the rollup belongs to; also the producer's in-memory aggregation key.",
      "x-demiton-requiredness": "required"
    },
    "derived_from_fact_count": {
      "type": "integer",
      "description": "Number of award facts scanned to produce the row; provenance for the rollup.",
      "x-demiton-requiredness": "optional"
    }
  },
  "x-demiton-register-type": "platform_contractor_stats",
  "x-demiton-contract-version": "2.0.1",
  "x-demiton-store": "platform",
  "x-demiton-axes": [
    {
      "axis": "contractor_abn",
      "requirement": "required",
      "role": "context"
    },
    {
      "axis": "series",
      "requirement": "required",
      "role": "context"
    }
  ],
  "x-demiton-measures": [
    {
      "key": "total_awarded_3yr",
      "accumulation": "instantaneous",
      "dtype": "decimal",
      "unit": "by_coordinate"
    },
    {
      "key": "contract_count_3yr",
      "accumulation": "instantaneous",
      "dtype": "integer",
      "unit": "dimensionless"
    }
  ],
  "x-demiton-provenance": {
    "standards": [
      {
        "code": "ABN",
        "title": "Australian Business Number - Australian Business Register (ABN Lookup)",
        "access": "public_summary",
        "region": "Australia",
        "edition": "current register",
        "checked_on": "2026-09-14"
      },
      {
        "code": "CPRs",
        "title": "Commonwealth Procurement Rules",
        "access": "public_summary",
        "region": "Australia",
        "edition": "17 November 2025",
        "checked_on": "2026-09-14"
      },
      {
        "code": "OC4IDS",
        "title": "Open Contracting for Infrastructure Data Standard",
        "access": "full_text_verified",
        "region": "International",
        "edition": "0.9.5 (site switcher shows 0.9.4; unresolved)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "OCDS",
        "title": "Open Contracting Data Standard",
        "access": "full_text_verified",
        "region": "International",
        "edition": "1.1 (documentation release 1.1.5)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "UNSPSC",
        "title": "United Nations Standard Products and Services Code",
        "access": "public_summary",
        "region": "International",
        "edition": "v26.0801 (Sep 2025, per secondary source)",
        "checked_on": "2026-09-14"
      }
    ]
  },
  "description": "Per-contractor statistics rolled up from awarded contracts.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/platform_contractor_stats/",
  "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-platform_contractor_stats-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.