Incoming requests payload validation with JSON schemas (#135)
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 18 Aug 2022 06:50:52 +0000 (08:50 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Aug 2022 06:50:52 +0000 (08:50 +0200)
commite3018bc4b27b43106073e4c4cda031cc37715027
tree5c73e76dd6d107223cc34d1ea3ca4129470e6847
parent43ea87ca2228b1819069168fe00422ce1ec489d9
Incoming requests payload validation with JSON schemas (#135)
27 files changed:
README.md
package-lock.json
package.json
rollup.config.mjs
src/assets/json-schemas/ocpp/1.6/ChangeAvailability.json [new file with mode: 0644]
src/assets/json-schemas/ocpp/1.6/ChangeConfiguration.json [new file with mode: 0644]
src/assets/json-schemas/ocpp/1.6/ClearCache.json [new file with mode: 0644]
src/assets/json-schemas/ocpp/1.6/ClearChargingProfile.json [new file with mode: 0644]
src/assets/json-schemas/ocpp/1.6/GetConfiguration.json [new file with mode: 0644]
src/assets/json-schemas/ocpp/1.6/GetDiagnostics.json [new file with mode: 0644]
src/assets/json-schemas/ocpp/1.6/RemoteStartTransaction.json [new file with mode: 0644]
src/assets/json-schemas/ocpp/1.6/RemoteStopTransaction.json [new file with mode: 0644]
src/assets/json-schemas/ocpp/1.6/Reset.json [new file with mode: 0644]
src/assets/json-schemas/ocpp/1.6/SetChargingProfile.json [new file with mode: 0644]
src/assets/json-schemas/ocpp/1.6/TriggerMessage.json [new file with mode: 0644]
src/assets/json-schemas/ocpp/1.6/UnlockConnector.json [new file with mode: 0644]
src/charging-station/ChargingStation.ts
src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts
src/charging-station/ocpp/1.6/OCPP16RequestService.ts
src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
src/charging-station/ocpp/OCPPIncomingRequestService.ts
src/charging-station/ocpp/OCPPRequestService.ts
src/charging-station/ocpp/OCPPResponseService.ts
src/types/ChargingStationTemplate.ts
src/types/ocpp/1.6/Requests.ts
src/types/ocpp/ErrorType.ts
src/types/ocpp/Requests.ts