Skip to content
Demiton

Margin driver contribution

Predicted contribution of each cost or revenue driver to a project's margin, by period.

Part of Projects in the register catalog.

Register ID
margin_driver_contributionUse this name to ask for the register. The API calls it a shelf ID.
Each record is
An eventSomething that happened at a point in time.
Status
DeclaredDefined, and fills when a source produces its first record.
Data
OrganisationPrivate to each organisation's own workspace.
Version
v1Current version.

Connectors

Connected today

Demiton keeps this register current from these systems now.

No system fills this register yet.

On the roadmap

Systems in the planned connector rollout that can fill this register. Partial means the system holds only some of its fields.

None planned yet.

Fields

13 fields: 9 required, 4 optional.

Required

Every record carries these fields.

project_idText

The project the prediction is about; the fact's subject anchor.

Example: BWG-2025-001

financial_periodText

The period the prediction is made for; part of the grain.

Example: 2026-07

predicted_margin_pctDecimal numberUnit: pct

The model's predicted project margin at the scoring cut.

Example: 8.4

driver_cost_growth_pctDecimal numberUnit: pct

Predicted margin contribution attributed to cost growth.

Example: 3.1

driver_labour_hoursDecimal numberUnit: hours

Predicted margin contribution attributed to labour hours.

Example: 1240.5

driver_delay_hoursDecimal numberUnit: hours

Predicted margin contribution attributed to site delay hours.

Example: 18

driver_variation_countDecimal number

Predicted margin contribution attributed to variation signals.

Example: 2

model_versionText

The fitted model version that produced these values; part of the fact identity.

Example: margin-driver-v3

fact_classText

Provenance marker distinguishing a model output from an observed fact.

Example: predicted

Optional

Present when the source system records them.

training_as_ofDate and timeISO 8601, with time zone

The transaction-time cutoff the model trained on.

n_training_rowsWhole numberUnit: count

Number of project rows the model fitted on.

feature_valuesGroup of fields

The raw feature inputs the contributions were derived from.

Example record

A sample from Bridgeworks Group, Demiton's demonstration company. The values are illustrative; the shape is exactly what the contract describes.

margin_driver_contribution.example.json
{
"driver_cost_growth_pct": 3.1,
"driver_delay_hours": 18,
"driver_labour_hours": 1240.5,
"driver_variation_count": 2,
"fact_class": "predicted",
"financial_period": "2026-07",
"model_version": "margin-driver-v3",
"predicted_margin_pct": 8.4,
"project_id": "BWG-2025-001"
}

Use this contract

The contract is a standard JSON Schema (draft 2020-12) document, so any JSON Schema validator can check a record against it. Keywords starting with x-demiton- add Demiton's own meaning, such as units and requiredness, and validators ignore them.

Schema URL
https://docs.demiton.io/registers/margin_driver_contribution/v1.json
Show the full JSON Schema

Loading the schema…

Talk to the team

Tell us what you run - your ERP, field, payroll and document systems - and we will show you the registers Demiton would keep current from them, on your data, in a 30-minute call.

Book a 30-minute callStart free