]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(ocpp16): fix StopTransaction unit schema and ChargingSchedule field name
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 15 Mar 2026 18:53:54 +0000 (19:53 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 15 Mar 2026 18:53:54 +0000 (19:53 +0100)
commit1ca41bfe1c955d773b0b0721b43193afc6bea222
tree7aafe63c89f3c5da3c4482ed7c3c5b95d7982cd3
parent6956e437a497d70f6283c22b1eb53358e352c1ef
fix(ocpp16): fix StopTransaction unit schema and ChargingSchedule field name

- Add missing 'Celsius' to StopTransaction.json unit enum (M-2/SP-1)
  The runtime schema had only 'Celcius' (legacy typo) while the OCA
  official schema has both. TS enum produces 'Celsius' which was
  rejected by AJV when ocppStrictCompliance was enabled.

- Rename minChargeRate to minChargingRate in OCPP16ChargingSchedule (RST-01)
  Field name typo caused JSON serialization mismatch with spec §7.13
  and schema 'minChargingRate', breaking SetChargingProfile and
  GetCompositeSchedule payloads.
src/assets/json-schemas/ocpp/1.6/StopTransaction.json
src/types/ocpp/1.6/ChargingProfile.ts