ProofedMesh/schemas/expense/canonical/examples/v1.1.0/single-project.json
CTO Agent 81e5f334b5
Some checks failed
validate / Rego (opa fmt + opa test) (push) Successful in 12s
validate / JSON Schema (ajv) (push) Has been cancelled
schemas: add expense.canonical v1.1.0 and sink.db.expense v1.1.0 — per-line project allocations (percentage or absolute)
2026-10-25 16:19:21 +00:00

22 lines
685 B
JSON

{
"schema": { "name": "expense.canonical", "version": "1.1.0" },
"workflow_id": "WF-2026-0042",
"employee_id": "EMP-12345",
"trip": {
"start_date": "2026-10-01",
"end_date": "2026-10-03",
"destination": "Berlin",
"purpose": "Kundentermin"
},
"currency": "EUR",
"total_amount": "428.50",
"project_assignment": {
"project_code": "P-42",
"cost_center": "CC-100",
"source_attestation_ref": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
},
"expense_items": [
{ "type": "HOTEL", "amount": "328.50", "incurred_on": "2026-10-01" },
{ "type": "MEALS", "amount": "100.00", "incurred_on": "2026-10-02" }
]
}