Examples
Draft · synthetic data only
All examples are synthetic. They describe an invented basement water loss. They contain no customer data and assert no verified emissions. Where data is missing, the example says so: the report below has no emissions total and is marked incomplete.
Source files live in examples/synthetic-water-loss/ in the repository and are validated in CI against the published schemas.
A valid claim, end to end
Section titled “A valid claim, end to end”{ "id": "claim-example-001", "type": "trp.claim", "schema_version": "3.0.0-draft", "source_system": "example-system", "created_at": "2026-10-26T12:00:00Z", "status": "accepted", "claim_id": "claim-example-001", "data_classification": "public", "property": { "country": "CA", "region": "CA-ON", "structure_count": 1 }, "loss": { "peril": "water", "date_of_loss": "2026-09-01", "description": "Synthetic example: supply-line failure in a finished basement." }, "parties": [ { "actor_id": "actor-contractor-001", "role": "contractor" }, { "actor_id": "actor-adjuster-001", "role": "adjuster" } ]}{ "id": "mit-example-001", "type": "trp.mitigation_event", "schema_version": "3.0.0-draft", "source_system": "example-system", "created_at": "2026-10-26T12:00:00Z", "status": "submitted", "claim_id": "claim-example-001", "job_id": "job-example-001", "event_time": "2026-09-02T15:30:00Z", "reported_by": "actor-contractor-001", "activity": "moisture_reading", "area": { "structure": "main", "level": "basement", "room": "family room" }, "loss_context": { "peril": "water", "classification_system": "example-system-v0" }, "readings": [ { "material": "drywall", "method": "pin_meter", "value": 18.5, "unit": "percent_moisture_content", "dry_standard": { "value": 12, "unit": "percent_moisture_content" } } ], "judgment": { "statement": "not_assessed", "made_by": "actor-contractor-001", "standard": "example-dry-standard" }, "evidence_ids": ["ev-reading-photo-001"], "verification_status": "documented"}{ "id": "waste-example-001", "type": "trp.waste_event", "schema_version": "3.0.0-draft", "source_system": "example-system", "created_at": "2026-10-26T12:00:00Z", "status": "submitted", "claim_id": "claim-example-001", "job_id": "job-example-001", "material_stream": "drywall", "quantity": { "value": 480, "unit": "kg" }, "weights": { "gross": { "value": 6480, "unit": "kg" }, "tare": { "value": 6000, "unit": "kg" }, "net": { "value": 480, "unit": "kg" } }, "measurement_method": "certified_scale", "event_time": "2026-09-03T18:10:00Z", "reported_by": "actor-contractor-001", "destination_facility": "facility-example-001", "ticket_id": "ticket-example-0001", "processing_outcome": "unknown", "outcome_evidence_status": "none", "allocation_fraction": 1, "evidence_ids": ["ev-scale-001"], "verification_status": "documented"}{ "id": "mr-example-001", "type": "trp.material_requirement", "schema_version": "3.0.0-draft", "source_system": "example-system", "created_at": "2026-10-26T12:00:00Z", "status": "submitted", "claim_id": "claim-example-001", "estimate_line_ids": ["line-example-014", "line-example-015"], "function": "Finished interior wall surface", "action": "replace", "quantity": { "value": 100, "unit": "m2" }, "constraints": ["fire-rated assembly", "moisture-resistant board in basement"], "mapping": { "basis": "assembly_decomposition", "data_grade": "C", "note": "Board, compound, tape and paint derived from two estimate lines." }}{ "id": "option-assessment-001", "type": "trp.option_assessment", "schema_version": "3.0.0-draft", "source_system": "example-system", "created_at": "2026-10-26T12:00:00Z", "status": "submitted", "claim_id": "claim-example-001", "requirement_id": "mr-example-001", "baseline_option_id": "baseline-001", "candidate_option_id": "candidate-001", "functional_unit": { "quantity": 100, "unit": "m2", "description": "installed wall assembly" }, "eligibility": { "status": "needs_review", "mandatory_checks": [ { "name": "building_code", "status": "unknown" }, { "name": "assembly_compatibility", "status": "unknown" }, { "name": "insurer_lkq", "status": "pending_approval" } ] }, "carbon": { "baseline_kg_co2e": null, "candidate_kg_co2e": null, "boundary": "A1-A3", "status": "pending_data" }, "commercial": { "currency": "CAD", "baseline_installed_cost": null, "candidate_installed_cost": null, "quote_status": "unverified" }, "availability": { "status": "unknown", "checked_at": null }, "resilience": { "perils": ["water"], "assessment_status": "not_assessed" }, "recommendation": { "status": "insufficient_evidence", "human_approval_required": true }}{ "id": "report-example-001", "type": "trp.claim_report", "schema_version": "3.0.0-draft", "source_system": "example-system", "created_at": "2026-10-26T12:00:00Z", "status": "submitted", "report_state": "draft", "claim_id": "claim-example-001", "reporting_perspective": "claim_physical_footprint", "generated_at": "2026-10-26T12:00:00Z", "period": { "start": "2026-09-01", "end": "2026-10-01" }, "methodology": { "id": "trp-claim-impact", "version": "0.1.0-draft", "factor_dataset_version": "EXAMPLE-NOT-FOR-PRODUCTION", "calculation_engine": "example-engine", "calculation_engine_version": "0.0.1" }, "scope_boundary": { "included_domains": ["waste", "reconstruction_materials"], "included_lifecycle_modules": ["A1", "A2", "A3", "C2", "C3", "C4"], "excluded_domains": ["mitigation", "contents", "equipment", "contractor_operations"], "allocation_method": "claim_attributable_activity", "double_counting_review": "pending" }, "impact_totals": { "gross_kg_co2e": null, "status": "incomplete", "missing_domains": ["mitigation", "contents", "equipment"] }, "evidence_ids": ["ev-scale-001"], "scenarios": ["scenario-baseline-001", "scenario-selected-001"], "quality": { "completeness": "partial", "assurance": "not_assured" }, "disclaimer": "Synthetic structure example only; no verified emissions are asserted."}Things to notice:
- The waste event carries gross, tare and net weight from a certified scale, and
processing_outcome: unknownwithoutcome_evidence_status: none. A delivered load is not a verified recycled load. - The mitigation reading records an observation. The
judgmentisnot_assessed, because a reading is not a drying decision. - The option assessment is
needs_reviewwithinsufficient_evidence, andhuman_approval_requiredis alwaystrue. - The report lists what it excludes and leaves
gross_kg_co2easnullrather than inventing a total.
Deliberately invalid records
Section titled “Deliberately invalid records”A validator should reject these, and the repository tests that it does.
{ "id": "waste-bad-002", "type": "trp.waste_event", "schema_version": "3.0.0-draft", "source_system": "example-system", "created_at": "2026-10-26T12:00:00Z", "status": "submitted", "claim_id": "claim-example-001", "job_id": "job-example-001", "material_stream": "wood", "quantity": { "value": 100, "unit": "kg" }, "weights": { "gross": { "value": 5000, "unit": "kg" }, "tare": { "value": 6000, "unit": "kg" } }, "measurement_method": "certified_scale", "event_time": "2026-09-03T18:10:00Z", "reported_by": "actor-contractor-001", "verification_status": "documented"}{ "id": "report-bad-001", "type": "trp.claim_report", "schema_version": "3.0.0-draft", "source_system": "example-system", "created_at": "2026-10-26T12:00:00Z", "status": "accepted", "claim_id": "claim-example-001", "reporting_perspective": "claim_physical_footprint", "generated_at": "2026-10-26T12:00:00Z", "methodology": { "id": "trp-claim-impact", "version": "0.1.0-draft", "factor_dataset_version": "EXAMPLE-NOT-FOR-PRODUCTION" }, "scope_boundary": { "included_domains": ["waste"], "excluded_domains": ["mitigation"], "allocation_method": "claim_attributable_activity", "double_counting_review": "completed" }, "impact_totals": { "gross_kg_co2e": 1234, "status": "complete", "missing_domains": ["mitigation"] }, "quality": { "completeness": "complete", "assurance": "not_assured" }}Other invalid fixtures cover a waste event with no quantity, a zero quantity with no reason code, and an option assessment that tries to skip human approval.