Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ body. Being precise about this is part of the honest-coalition story.
| [`concept-note.md`](concept-note.md) | The one-page concept note - the attachable summary |
| [`IMPLEMENTATION-PLAN.md`](IMPLEMENTATION-PLAN.md) | The milestone-by-milestone plan for building the reference proof |
| [`proof/`](proof/) | Reference-binding implementation: validate a bare OC4IDS package, wrap it for Peppol, transmit over AS4, capture the MLR receipt |
| [`samples/bridgeworks/`](samples/bridgeworks/) | Sample OC4IDS v0.9.5 packages emitted from a contractor's delivery data (the payload this binding carries), binding-valid against the proof validator |
| [`CONTRIBUTING.md`](CONTRIBUTING.md) | How OCP, CoST, OpenPeppol, Peppol Authorities, and agencies can engage |

## Run the proof
Expand Down
64 changes: 64 additions & 0 deletions samples/bridgeworks/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Bridgeworks — OC4IDS sample data

Sample **OC4IDS v0.9.5 project packages** emitted by the [Demiton](https://demiton.io)
platform from a contractor's own delivery data — the payload this binding proposes
to carry over Peppol.

> **Demonstration data.** "Bridgeworks Group Pty Ltd" is a representative
> South-East Queensland civil contractor (~$120M revenue) used in Demiton's demo
> tenant. The contractor and its operational figures are synthetic, but the
> structure is exactly what Demiton emits from live contractor delivery data, and
> the projects mirror real public Queensland tenders.

## The projects

Three contracts currently in delivery, each modelled as an OC4IDS project at
`status: "implementation"`:

| File | Project | Buyer | Value (AUD) | Progress | OCID |
|---|---|---|---|---|---|
| `bridgeworks-bwg-2025-001-emerald-street.json` | RFT260051 Emerald Street Rejuvenation | Central Highlands Regional Council | $2.85M | 56.8% | `ocds-bwgqld-2025-001` |
| `bridgeworks-bwg-2025-002-moore-park-beach.json` | TEN/2963 Coastal Protection, Moore Park Beach | Bundaberg Regional Council | $3.20M | 45.6% | `ocds-bwgqld-2025-002` |
| `bridgeworks-bwg-2025-003-cherbourg-wtp.json` | DLGWV2025-0153 Cherbourg Water Treatment Plant | Dept of Local Government, Water & Volunteers (QLD) | $3.40M | 28.8% | `ocds-bwgqld-2025-003` |

Each project carries `status`, `sector` (with `demiton:`-namespaced civil
sub-sectors), `period`, `locations` (point geometry), `parties` (head contractor
with ABN identifier + procuring entity), `budget`, a physical-progress `metrics`
observation, and `contractingProcesses` linked by `ocid`.

`bridgeworks-oc4ids-package.json` bundles all three as one package for convenience.

## Conformance

The three per-project files are **single-prime, binding-valid** — they pass this
repository's own validator, which layers the binding's MUST checks (exactly one
project, `version: "0.9"`, a present `ocds-…` OCID) on top of JSON-Schema
validation against the vendored OC4IDS v0.9.5 schema:

```bash
cd proof && uv sync
uv run oc4ids-peppol validate ../samples/bridgeworks/bridgeworks-bwg-2025-001-emerald-street.json
# VALID engine=jsonschema oc4ids=0.9.5
```

They were generated by, and validated through, Demiton's production OC4IDS
conformance gate before export — the same gate Demiton runs at emission time.

> `bridgeworks-oc4ids-package.json` carries three projects, so it is a valid
> OC4IDS *project package* but **not** the single-prime binding shape this
> proposal transmits (binding spec 4.2). The per-project files are the
> transmittable unit.

## A note on OCIDs

OC4IDS links a delivery record to its procurement by OCID
(`contractingProcesses[].id`). The OCIDs here (`ocds-bwgqld-…`) are **illustrative**:
the underlying Queensland tenders are published on VendorPanel, which does not yet
expose OCDS, so no real OCID exists to link to. This is precisely the front-half
gap the broader proposal assumes — where an agency does publish OCDS, the real
OCID drops straight into this field and the loop closes.

Source tenders (public):
- Emerald Street — Central Highlands RC (RFT260051)
- Moore Park Beach — Bundaberg RC (TEN/2963)
- Cherbourg WTP — DLGWV QLD (DLGWV2025-0153)
111 changes: 111 additions & 0 deletions samples/bridgeworks/bridgeworks-bwg-2025-001-emerald-street.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{
"uri": "https://demiton.io/snapshots/bridgeworks-bwg-2025-001-emerald-street",
"version": "0.9",
"publishedDate": "2026-06-22T00:00:00Z",
"publisher": {
"name": "Bridgeworks Group Pty Ltd",
"uri": "https://demiton.io/"
},
"projects": [
{
"id": "bridgeworks-bwg-2025-001-emerald-street",
"title": "RFT260051 Emerald Street Rejuvenation",
"description": "Road, pavement and streetscape rejuvenation works at Emerald (Egerton/Yamala), Central Highlands.",
"status": "implementation",
"type": "construction",
"sector": [
"transport.road",
"demiton:civil.earthworks"
],
"period": {
"startDate": "2025-07-01T00:00:00Z",
"durationInDays": 540
},
"locations": [
{
"id": "bridgeworks-bwg-2025-001-emerald-street-loc-1",
"description": "Emerald, Central Highlands, Queensland",
"geometry": {
"type": "Point",
"coordinates": [
148.158,
-23.527
]
}
}
],
"parties": [
{
"id": "bridgeworks",
"name": "Bridgeworks Group Pty Ltd",
"roles": [
"supplier",
"demiton:headContractor"
],
"identifier": {
"scheme": "AU-ABN",
"id": "83167229410",
"legalName": "Bridgeworks Group Pty Ltd"
}
},
{
"id": "buyer",
"name": "Central Highlands Regional Council",
"roles": [
"buyer",
"procuringEntity"
]
}
],
"budget": {
"amount": {
"amount": 2850000.0,
"currency": "AUD"
},
"approvalDate": "2025-07-01T00:00:00Z",
"description": "Awarded contract value (head contract)."
},
"metrics": [
{
"id": "bridgeworks-bwg-2025-001-emerald-street-physical-progress",
"title": "Physical progress",
"description": "Self-reported physical completion, derived from site allocations and timesheets in Demiton Civil Memory.",
"observations": [
{
"id": "bridgeworks-bwg-2025-001-emerald-street-progress-2026-06",
"measure": 56.8,
"unit": {
"name": "percent"
},
"period": {
"startDate": "2026-06-22T00:00:00Z",
"endDate": "2026-06-22T00:00:00Z"
},
"notes": "Cumulative physical progress at reporting date."
}
]
}
],
"contractingProcesses": [
{
"id": "ocds-bwgqld-2025-001",
"suppliers": [
{
"id": "bridgeworks",
"name": "Bridgeworks Group Pty Ltd"
}
],
"contractValue": {
"amount": 2850000.0,
"currency": "AUD"
},
"awardedDate": "2025-05-01",
"description": "RFT260051 Emerald Street Rejuvenation",
"title": "RFT260051 Emerald Street Rejuvenation",
"status": "active",
"ocds_stage": "implementation"
}
]
}
]
}
111 changes: 111 additions & 0 deletions samples/bridgeworks/bridgeworks-bwg-2025-002-moore-park-beach.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{
"uri": "https://demiton.io/snapshots/bridgeworks-bwg-2025-002-moore-park-beach",
"version": "0.9",
"publishedDate": "2026-06-22T00:00:00Z",
"publisher": {
"name": "Bridgeworks Group Pty Ltd",
"uri": "https://demiton.io/"
},
"projects": [
{
"id": "bridgeworks-bwg-2025-002-moore-park-beach",
"title": "TEN/2963 Coastal Protection Works, Moore Park Beach",
"description": "Coastal protection / rock armour and embankment restoration works at Moore Park Beach, Bundaberg.",
"status": "implementation",
"type": "construction",
"sector": [
"naturalResources.floodProtection",
"demiton:civil.retainingStructure"
],
"period": {
"startDate": "2025-07-01T00:00:00Z",
"durationInDays": 540
},
"locations": [
{
"id": "bridgeworks-bwg-2025-002-moore-park-beach-loc-1",
"description": "Moore Park Beach, Bundaberg, Queensland",
"geometry": {
"type": "Point",
"coordinates": [
152.226,
-24.708
]
}
}
],
"parties": [
{
"id": "bridgeworks",
"name": "Bridgeworks Group Pty Ltd",
"roles": [
"supplier",
"demiton:headContractor"
],
"identifier": {
"scheme": "AU-ABN",
"id": "83167229410",
"legalName": "Bridgeworks Group Pty Ltd"
}
},
{
"id": "buyer",
"name": "Bundaberg Regional Council",
"roles": [
"buyer",
"procuringEntity"
]
}
],
"budget": {
"amount": {
"amount": 3200000.0,
"currency": "AUD"
},
"approvalDate": "2025-07-01T00:00:00Z",
"description": "Awarded contract value (head contract)."
},
"metrics": [
{
"id": "bridgeworks-bwg-2025-002-moore-park-beach-physical-progress",
"title": "Physical progress",
"description": "Self-reported physical completion, derived from site allocations and timesheets in Demiton Civil Memory.",
"observations": [
{
"id": "bridgeworks-bwg-2025-002-moore-park-beach-progress-2026-06",
"measure": 45.6,
"unit": {
"name": "percent"
},
"period": {
"startDate": "2026-06-22T00:00:00Z",
"endDate": "2026-06-22T00:00:00Z"
},
"notes": "Cumulative physical progress at reporting date."
}
]
}
],
"contractingProcesses": [
{
"id": "ocds-bwgqld-2025-002",
"suppliers": [
{
"id": "bridgeworks",
"name": "Bridgeworks Group Pty Ltd"
}
],
"contractValue": {
"amount": 3200000.0,
"currency": "AUD"
},
"awardedDate": "2025-05-15",
"description": "TEN/2963 Coastal Protection Works, Moore Park Beach",
"title": "TEN/2963 Coastal Protection Works, Moore Park Beach",
"status": "active",
"ocds_stage": "implementation"
}
]
}
]
}
Loading
Loading