There is small typo in the dataclass ChargingNeedsType in ocpp.ocpp.v201.datatypes. Specifically, the attribute request_energy_transfer should be refactored to requested_energy_transfer. Otherwise when sending the Payload for NotifyEVChargingNeedsRequest for validation with json schema it fails, because in the schema the field is called requestedEnergyTransfer and in the payload after conversion to camel case is requestEnergyTransfer.
Hello,
There is small typo in the dataclass ChargingNeedsType in ocpp.ocpp.v201.datatypes. Specifically, the attribute request_energy_transfer should be refactored to requested_energy_transfer. Otherwise when sending the Payload for NotifyEVChargingNeedsRequest for validation with json schema it fails, because in the schema the field is called requestedEnergyTransfer and in the payload after conversion to camel case is requestEnergyTransfer.