M8-T05: bind electricity costs to source bindings

This commit is contained in:
2026-08-23 21:22:05 +02:00
parent 2e125dbd53
commit 1ea2f659e0
10 changed files with 1057 additions and 304 deletions
+12
View File
@@ -3086,6 +3086,18 @@
],
"title": "Contract Version Id",
"description": "FK to the contract version used for this billing period (null when degraded)."
},
"source_binding_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Source Binding Id",
"description": "FK to the source binding that supplied both cumulative endpoints (null for legacy or degraded periods)."
}
},
"type": "object",
+7
View File
@@ -2442,6 +2442,13 @@ components:
title: Contract Version Id
description: FK to the contract version used for this billing period (null
when degraded).
source_binding_id:
anyOf:
- type: integer
- type: 'null'
title: Source Binding Id
description: FK to the source binding that supplied both cumulative endpoints
(null for legacy or degraded periods).
type: object
required:
- period_start