ocpp-messages 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +35 -0
- package/compile.js +17 -0
- package/package.json +28 -0
- package/schema/v1.6/Authorize.json +15 -0
- package/schema/v1.6/AuthorizeResponse.json +37 -0
- package/schema/v1.6/BootNotification.json +48 -0
- package/schema/v1.6/BootNotificationResponse.json +28 -0
- package/schema/v1.6/CancelReservation.json +14 -0
- package/schema/v1.6/CancelReservationResponse.json +18 -0
- package/schema/v1.6/ChangeAvailability.json +22 -0
- package/schema/v1.6/ChangeAvailabilityResponse.json +19 -0
- package/schema/v1.6/ChangeConfiguration.json +20 -0
- package/schema/v1.6/ChangeConfigurationResponse.json +20 -0
- package/schema/v1.6/ClearCache.json +7 -0
- package/schema/v1.6/ClearCacheResponse.json +18 -0
- package/schema/v1.6/ClearChargingProfile.json +25 -0
- package/schema/v1.6/ClearChargingProfileResponse.json +18 -0
- package/schema/v1.6/DataTransfer.json +22 -0
- package/schema/v1.6/DataTransferResponse.json +23 -0
- package/schema/v1.6/DiagnosticsStatusNotification.json +20 -0
- package/schema/v1.6/DiagnosticsStatusNotificationResponse.json +7 -0
- package/schema/v1.6/FirmwareStatusNotification.json +23 -0
- package/schema/v1.6/FirmwareStatusNotificationResponse.json +7 -0
- package/schema/v1.6/GetCompositeSchedule.json +25 -0
- package/schema/v1.6/GetCompositeScheduleResponse.json +74 -0
- package/schema/v1.6/GetConfiguration.json +15 -0
- package/schema/v1.6/GetConfigurationResponse.json +38 -0
- package/schema/v1.6/GetDiagnostics.json +29 -0
- package/schema/v1.6/GetDiagnosticsResponse.json +12 -0
- package/schema/v1.6/GetLocalListVersion.json +7 -0
- package/schema/v1.6/GetLocalListVersionResponse.json +14 -0
- package/schema/v1.6/Heartbeat.json +7 -0
- package/schema/v1.6/HeartbeatResponse.json +15 -0
- package/schema/v1.6/MeterValues.json +141 -0
- package/schema/v1.6/MeterValuesResponse.json +7 -0
- package/schema/v1.6/RemoteStartTransaction.json +119 -0
- package/schema/v1.6/RemoteStartTransactionResponse.json +18 -0
- package/schema/v1.6/RemoteStopTransaction.json +14 -0
- package/schema/v1.6/RemoteStopTransactionResponse.json +18 -0
- package/schema/v1.6/ReserveNow.json +32 -0
- package/schema/v1.6/ReserveNowResponse.json +21 -0
- package/schema/v1.6/Reset.json +18 -0
- package/schema/v1.6/ResetResponse.json +18 -0
- package/schema/v1.6/SendLocalList.json +63 -0
- package/schema/v1.6/SendLocalListResponse.json +20 -0
- package/schema/v1.6/SetChargingProfile.json +116 -0
- package/schema/v1.6/SetChargingProfileResponse.json +19 -0
- package/schema/v1.6/StartTransaction.json +31 -0
- package/schema/v1.6/StartTransactionResponse.json +41 -0
- package/schema/v1.6/StatusNotification.json +67 -0
- package/schema/v1.6/StatusNotificationResponse.json +7 -0
- package/schema/v1.6/StopTransaction.json +166 -0
- package/schema/v1.6/StopTransactionResponse.json +34 -0
- package/schema/v1.6/TriggerMessage.json +25 -0
- package/schema/v1.6/TriggerMessageResponse.json +19 -0
- package/schema/v1.6/UnlockConnector.json +14 -0
- package/schema/v1.6/UnlockConnectorResponse.json +19 -0
- package/schema/v1.6/UpdateFirmware.json +26 -0
- package/schema/v1.6/UpdateFirmwareResponse.json +7 -0
- package/schema/v2.0/AuthorizeRequest_v1p0.json +133 -0
- package/schema/v2.0/AuthorizeResponse_v1p0.json +154 -0
- package/schema/v2.0/BootNotificationRequest_v1p0.json +81 -0
- package/schema/v2.0/BootNotificationResponse_v1p0.json +30 -0
- package/schema/v2.0/CancelReservationRequest_v1p0.json +15 -0
- package/schema/v2.0/CancelReservationResponse_v1p0.json +20 -0
- package/schema/v2.0/CertificateSignedRequest_v1p0.json +29 -0
- package/schema/v2.0/CertificateSignedResponse_v1p0.json +20 -0
- package/schema/v2.0/ChangeAvailabilityRequest_v1p0.json +24 -0
- package/schema/v2.0/ChangeAvailabilityResponse_v1p0.json +21 -0
- package/schema/v2.0/ClearCacheRequest_v1p0.json +7 -0
- package/schema/v2.0/ClearCacheResponse_v1p0.json +20 -0
- package/schema/v2.0/ClearChargingProfileRequest_v1p0.json +43 -0
- package/schema/v2.0/ClearChargingProfileResponse_v1p0.json +20 -0
- package/schema/v2.0/ClearDisplayMessageRequest_v1p0.json +15 -0
- package/schema/v2.0/ClearDisplayMessageResponse_v1p0.json +20 -0
- package/schema/v2.0/ClearVariableMonitoringRequest_v1p0.json +20 -0
- package/schema/v2.0/ClearVariableMonitoringResponse_v1p0.json +48 -0
- package/schema/v2.0/ClearedChargingLimitRequest_v1p0.json +25 -0
- package/schema/v2.0/ClearedChargingLimitResponse_v1p0.json +7 -0
- package/schema/v2.0/CostUpdatedRequest_v1p0.json +20 -0
- package/schema/v2.0/CostUpdatedResponse_v1p0.json +7 -0
- package/schema/v2.0/CustomerInformationRequest_v1p0.json +130 -0
- package/schema/v2.0/CustomerInformationResponse_v1p0.json +21 -0
- package/schema/v2.0/DataTransferRequest_v1p0.json +21 -0
- package/schema/v2.0/DataTransferResponse_v1p0.json +23 -0
- package/schema/v2.0/DeleteCertificateRequest_v1p0.json +54 -0
- package/schema/v2.0/DeleteCertificateResponse_v1p0.json +21 -0
- package/schema/v2.0/FirmwareStatusNotificationRequest_v1p0.json +40 -0
- package/schema/v2.0/FirmwareStatusNotificationResponse_v1p0.json +7 -0
- package/schema/v2.0/Get15118EVCertificateRequest_v1p0.json +21 -0
- package/schema/v2.0/Get15118EVCertificateResponse_v1p0.json +62 -0
- package/schema/v2.0/GetBaseReportRequest_v1p0.json +25 -0
- package/schema/v2.0/GetBaseReportResponse_v1p0.json +21 -0
- package/schema/v2.0/GetCertificateStatusRequest_v1p0.json +58 -0
- package/schema/v2.0/GetCertificateStatusResponse_v1p0.json +24 -0
- package/schema/v2.0/GetChargingProfilesRequest_v1p0.json +73 -0
- package/schema/v2.0/GetChargingProfilesResponse_v1p0.json +20 -0
- package/schema/v2.0/GetCompositeScheduleRequest_v1p0.json +27 -0
- package/schema/v2.0/GetCompositeScheduleResponse_v1p0.json +108 -0
- package/schema/v2.0/GetDisplayMessagesRequest_v1p0.json +42 -0
- package/schema/v2.0/GetDisplayMessagesResponse_v1p0.json +20 -0
- package/schema/v2.0/GetInstalledCertificateIdsRequest_v1p0.json +24 -0
- package/schema/v2.0/GetInstalledCertificateIdsResponse_v1p0.json +70 -0
- package/schema/v2.0/GetLocalListVersionRequest_v1p0.json +7 -0
- package/schema/v2.0/GetLocalListVersionResponse_v1p0.json +15 -0
- package/schema/v2.0/GetLogRequest_v1p0.json +61 -0
- package/schema/v2.0/GetLogResponse_v1p0.json +25 -0
- package/schema/v2.0/GetMonitoringReportRequest_v1p0.json +112 -0
- package/schema/v2.0/GetMonitoringReportResponse_v1p0.json +21 -0
- package/schema/v2.0/GetReportRequest_v1p0.json +113 -0
- package/schema/v2.0/GetReportResponse_v1p0.json +21 -0
- package/schema/v2.0/GetTransactionStatusRequest_v1p0.json +13 -0
- package/schema/v2.0/GetTransactionStatusResponse_v1p0.json +18 -0
- package/schema/v2.0/GetVariablesRequest_v1p0.json +108 -0
- package/schema/v2.0/GetVariablesResponse_v1p0.json +127 -0
- package/schema/v2.0/HeartbeatRequest_v1p0.json +7 -0
- package/schema/v2.0/HeartbeatResponse_v1p0.json +16 -0
- package/schema/v2.0/InstallCertificateRequest_v1p0.json +29 -0
- package/schema/v2.0/InstallCertificateResponse_v1p0.json +25 -0
- package/schema/v2.0/LogStatusNotificationRequest_v1p0.json +29 -0
- package/schema/v2.0/LogStatusNotificationResponse_v1p0.json +7 -0
- package/schema/v2.0/MeterValuesRequest_v1p0.json +212 -0
- package/schema/v2.0/MeterValuesResponse_v1p0.json +7 -0
- package/schema/v2.0/NotifyCentralChargingNeedsRequest_v1p0.json +191 -0
- package/schema/v2.0/NotifyCentralChargingNeedsResponse_v1p0.json +20 -0
- package/schema/v2.0/NotifyChargingLimitRequest_v1p0.json +117 -0
- package/schema/v2.0/NotifyChargingLimitResponse_v1p0.json +7 -0
- package/schema/v2.0/NotifyCustomerInformationRequest_v1p0.json +32 -0
- package/schema/v2.0/NotifyCustomerInformationResponse_v1p0.json +7 -0
- package/schema/v2.0/NotifyDisplayMessagesRequest_v1p0.json +157 -0
- package/schema/v2.0/NotifyDisplayMessagesResponse_v1p0.json +7 -0
- package/schema/v2.0/NotifyEVChargingNeedsRequest_v1p0.json +125 -0
- package/schema/v2.0/NotifyEVChargingNeedsResponse_v1p0.json +21 -0
- package/schema/v2.0/NotifyEVChargingScheduleRequest_v1p0.json +88 -0
- package/schema/v2.0/NotifyEVChargingScheduleResponse_v1p0.json +20 -0
- package/schema/v2.0/NotifyEventRequest_v1p0.json +193 -0
- package/schema/v2.0/NotifyEventResponse_v1p0.json +7 -0
- package/schema/v2.0/NotifyMonitoringReportRequest_v1p0.json +160 -0
- package/schema/v2.0/NotifyMonitoringReportResponse_v1p0.json +7 -0
- package/schema/v2.0/NotifyReportRequest_v1p0.json +216 -0
- package/schema/v2.0/NotifyReportResponse_v1p0.json +7 -0
- package/schema/v2.0/PublishFirmwareRequest_v1p0.json +24 -0
- package/schema/v2.0/PublishFirmwareResponse_v1p0.json +20 -0
- package/schema/v2.0/PublishFirmwareStatusNotificationRequest_v1p0.json +36 -0
- package/schema/v2.0/PublishFirmwareStatusNotificationResponse_v1p0.json +7 -0
- package/schema/v2.0/Renegotiate15118ScheduleRequest_v1p0.json +33 -0
- package/schema/v2.0/Renegotiate15118ScheduleResponse_v1p0.json +20 -0
- package/schema/v2.0/ReportChargingProfilesRequest_v1p0.json +183 -0
- package/schema/v2.0/ReportChargingProfilesResponse_v1p0.json +7 -0
- package/schema/v2.0/RequestStartTransactionRequest_v1p0.json +222 -0
- package/schema/v2.0/RequestStartTransactionResponse_v1p0.json +24 -0
- package/schema/v2.0/RequestStopTransactionRequest_v1p0.json +16 -0
- package/schema/v2.0/RequestStopTransactionResponse_v1p0.json +20 -0
- package/schema/v2.0/ReservationStatusUpdateRequest_v1p0.json +24 -0
- package/schema/v2.0/ReservationStatusUpdateResponse_v1p0.json +7 -0
- package/schema/v2.0/ReserveNowRequest_v1p0.json +151 -0
- package/schema/v2.0/ReserveNowResponse_v1p0.json +23 -0
- package/schema/v2.0/ResetRequest_v1p0.json +20 -0
- package/schema/v2.0/ResetResponse_v1p0.json +21 -0
- package/schema/v2.0/SecurityEventNotificationRequest_v1p0.json +41 -0
- package/schema/v2.0/SecurityEventNotificationResponse_v1p0.json +7 -0
- package/schema/v2.0/SendLocalListRequest_v1p0.json +211 -0
- package/schema/v2.0/SendLocalListResponse_v1p0.json +21 -0
- package/schema/v2.0/SetChargingProfileRequest_v1p0.json +158 -0
- package/schema/v2.0/SetChargingProfileResponse_v1p0.json +20 -0
- package/schema/v2.0/SetDisplayMessageRequest_v1p0.json +144 -0
- package/schema/v2.0/SetDisplayMessageResponse_v1p0.json +24 -0
- package/schema/v2.0/SetMonitoringBaseRequest_v1p0.json +21 -0
- package/schema/v2.0/SetMonitoringBaseResponse_v1p0.json +21 -0
- package/schema/v2.0/SetMonitoringLevelRequest_v1p0.json +15 -0
- package/schema/v2.0/SetMonitoringLevelResponse_v1p0.json +20 -0
- package/schema/v2.0/SetNetworkProfileRequest_v1p0.json +182 -0
- package/schema/v2.0/SetNetworkProfileResponse_v1p0.json +21 -0
- package/schema/v2.0/SetVariableMonitoringRequest_v1p0.json +123 -0
- package/schema/v2.0/SetVariableMonitoringResponse_v1p0.json +133 -0
- package/schema/v2.0/SetVariablesRequest_v1p0.json +113 -0
- package/schema/v2.0/SetVariablesResponse_v1p0.json +126 -0
- package/schema/v2.0/SignCertificateRequest_v1p0.json +24 -0
- package/schema/v2.0/SignCertificateResponse_v1p0.json +20 -0
- package/schema/v2.0/StatusNotificationRequest_v1p0.json +36 -0
- package/schema/v2.0/StatusNotificationResponse_v1p0.json +7 -0
- package/schema/v2.0/TransactionEventRequest_v1p0.json +415 -0
- package/schema/v2.0/TransactionEventResponse_v1p0.json +136 -0
- package/schema/v2.0/TriggerMessageRequest_v1p0.json +51 -0
- package/schema/v2.0/TriggerMessageResponse_v1p0.json +21 -0
- package/schema/v2.0/UnlockConnectorRequest_v1p0.json +19 -0
- package/schema/v2.0/UnlockConnectorResponse_v1p0.json +20 -0
- package/schema/v2.0/UnpublishFirmwareRequest_v1p0.json +16 -0
- package/schema/v2.0/UnpublishFirmwareResponse_v1p0.json +21 -0
- package/schema/v2.0/Update15118EVCertificateRequest_v1p0.json +21 -0
- package/schema/v2.0/Update15118EVCertificateResponse_v1p0.json +24 -0
- package/schema/v2.0/UpdateFirmwareRequest_v1p0.json +58 -0
- package/schema/v2.0/UpdateFirmwareResponse_v1p0.json +21 -0
- package/v1.6/Authorize.d.ts +10 -0
- package/v1.6/AuthorizeResponse.d.ts +15 -0
- package/v1.6/BootNotification.d.ts +18 -0
- package/v1.6/BootNotificationResponse.d.ts +12 -0
- package/v1.6/CancelReservation.d.ts +10 -0
- package/v1.6/CancelReservationResponse.d.ts +10 -0
- package/v1.6/ChangeAvailability.d.ts +11 -0
- package/v1.6/ChangeAvailabilityResponse.d.ts +10 -0
- package/v1.6/ChangeConfiguration.d.ts +11 -0
- package/v1.6/ChangeConfigurationResponse.d.ts +10 -0
- package/v1.6/ClearCache.d.ts +8 -0
- package/v1.6/ClearCacheResponse.d.ts +10 -0
- package/v1.6/ClearChargingProfile.d.ts +13 -0
- package/v1.6/ClearChargingProfileResponse.d.ts +10 -0
- package/v1.6/DataTransfer.d.ts +12 -0
- package/v1.6/DataTransferResponse.d.ts +11 -0
- package/v1.6/DiagnosticsStatusNotification.d.ts +10 -0
- package/v1.6/DiagnosticsStatusNotificationResponse.d.ts +8 -0
- package/v1.6/FirmwareStatusNotification.d.ts +10 -0
- package/v1.6/FirmwareStatusNotificationResponse.d.ts +8 -0
- package/v1.6/GetCompositeSchedule.d.ts +12 -0
- package/v1.6/GetCompositeScheduleResponse.d.ts +25 -0
- package/v1.6/GetConfiguration.d.ts +10 -0
- package/v1.6/GetConfigurationResponse.d.ts +16 -0
- package/v1.6/GetDiagnostics.d.ts +14 -0
- package/v1.6/GetDiagnosticsResponse.d.ts +10 -0
- package/v1.6/GetLocalListVersion.d.ts +8 -0
- package/v1.6/GetLocalListVersionResponse.d.ts +10 -0
- package/v1.6/Heartbeat.d.ts +8 -0
- package/v1.6/HeartbeatResponse.d.ts +10 -0
- package/v1.6/MeterValues.d.ts +91 -0
- package/v1.6/MeterValuesResponse.d.ts +8 -0
- package/v1.6/RemoteStartTransaction.d.ts +35 -0
- package/v1.6/RemoteStartTransactionResponse.d.ts +10 -0
- package/v1.6/RemoteStopTransaction.d.ts +10 -0
- package/v1.6/RemoteStopTransactionResponse.d.ts +10 -0
- package/v1.6/ReserveNow.d.ts +14 -0
- package/v1.6/ReserveNowResponse.d.ts +10 -0
- package/v1.6/Reset.d.ts +10 -0
- package/v1.6/ResetResponse.d.ts +10 -0
- package/v1.6/SendLocalList.d.ts +19 -0
- package/v1.6/SendLocalListResponse.d.ts +10 -0
- package/v1.6/SetChargingProfile.d.ts +34 -0
- package/v1.6/SetChargingProfileResponse.d.ts +10 -0
- package/v1.6/StartTransaction.d.ts +14 -0
- package/v1.6/StartTransactionResponse.d.ts +16 -0
- package/v1.6/StatusNotification.d.ts +41 -0
- package/v1.6/StatusNotificationResponse.d.ts +8 -0
- package/v1.6/StopTransaction.d.ts +85 -0
- package/v1.6/StopTransactionResponse.d.ts +15 -0
- package/v1.6/TriggerMessage.d.ts +17 -0
- package/v1.6/TriggerMessageResponse.d.ts +10 -0
- package/v1.6/UnlockConnector.d.ts +10 -0
- package/v1.6/UnlockConnectorResponse.d.ts +10 -0
- package/v1.6/UpdateFirmware.d.ts +13 -0
- package/v1.6/UpdateFirmwareResponse.d.ts +8 -0
- package/v1.6/index.d.ts +214 -0
- package/v2.0/AuthorizeRequest.d.ts +111 -0
- package/v2.0/AuthorizeResponse.d.ts +179 -0
- package/v2.0/BootNotificationRequest.d.ts +92 -0
- package/v2.0/BootNotificationResponse.d.ts +53 -0
- package/v2.0/CancelReservationRequest.d.ts +22 -0
- package/v2.0/CancelReservationResponse.d.ts +42 -0
- package/v2.0/CertificateSignedRequest.d.ts +32 -0
- package/v2.0/CertificateSignedResponse.d.ts +42 -0
- package/v2.0/ChangeAvailabilityRequest.d.ts +47 -0
- package/v2.0/ChangeAvailabilityResponse.d.ts +42 -0
- package/v2.0/ClearCacheRequest.d.ts +17 -0
- package/v2.0/ClearCacheResponse.d.ts +42 -0
- package/v2.0/ClearChargingProfileRequest.d.ts +60 -0
- package/v2.0/ClearChargingProfileResponse.d.ts +42 -0
- package/v2.0/ClearDisplayMessageRequest.d.ts +22 -0
- package/v2.0/ClearDisplayMessageResponse.d.ts +42 -0
- package/v2.0/ClearVariableMonitoringRequest.d.ts +24 -0
- package/v2.0/ClearVariableMonitoringResponse.d.ts +56 -0
- package/v2.0/ClearedChargingLimitRequest.d.ts +29 -0
- package/v2.0/ClearedChargingLimitResponse.d.ts +17 -0
- package/v2.0/CostUpdatedRequest.d.ts +29 -0
- package/v2.0/CostUpdatedResponse.d.ts +17 -0
- package/v2.0/CustomerInformationRequest.d.ts +114 -0
- package/v2.0/CustomerInformationResponse.d.ts +42 -0
- package/v2.0/DataTransferRequest.d.ts +35 -0
- package/v2.0/DataTransferResponse.d.ts +49 -0
- package/v2.0/DeleteCertificateRequest.d.ts +44 -0
- package/v2.0/DeleteCertificateResponse.d.ts +42 -0
- package/v2.0/FirmwareStatusNotificationRequest.d.ts +45 -0
- package/v2.0/FirmwareStatusNotificationResponse.d.ts +17 -0
- package/v2.0/Get15118EVCertificateRequest.d.ts +35 -0
- package/v2.0/Get15118EVCertificateResponse.d.ts +47 -0
- package/v2.0/GetBaseReportRequest.d.ts +29 -0
- package/v2.0/GetBaseReportResponse.d.ts +42 -0
- package/v2.0/GetCertificateStatusRequest.d.ts +50 -0
- package/v2.0/GetCertificateStatusResponse.d.ts +47 -0
- package/v2.0/GetChargingProfilesRequest.d.ts +83 -0
- package/v2.0/GetChargingProfilesResponse.d.ts +42 -0
- package/v2.0/GetCompositeScheduleRequest.d.ts +36 -0
- package/v2.0/GetCompositeScheduleResponse.d.ts +119 -0
- package/v2.0/GetDisplayMessagesRequest.d.ts +43 -0
- package/v2.0/GetDisplayMessagesResponse.d.ts +42 -0
- package/v2.0/GetInstalledCertificateIdsRequest.d.ts +31 -0
- package/v2.0/GetInstalledCertificateIdsResponse.d.ts +95 -0
- package/v2.0/GetLocalListVersionRequest.d.ts +17 -0
- package/v2.0/GetLocalListVersionResponse.d.ts +22 -0
- package/v2.0/GetLogRequest.d.ts +71 -0
- package/v2.0/GetLogResponse.d.ts +47 -0
- package/v2.0/GetMonitoringReportRequest.d.ts +104 -0
- package/v2.0/GetMonitoringReportResponse.d.ts +42 -0
- package/v2.0/GetReportRequest.d.ts +105 -0
- package/v2.0/GetReportResponse.d.ts +42 -0
- package/v2.0/GetTransactionStatusRequest.d.ts +22 -0
- package/v2.0/GetTransactionStatusResponse.d.ts +27 -0
- package/v2.0/GetVariablesRequest.d.ts +93 -0
- package/v2.0/GetVariablesResponse.d.ts +131 -0
- package/v2.0/HeartbeatRequest.d.ts +17 -0
- package/v2.0/HeartbeatResponse.d.ts +22 -0
- package/v2.0/InstallCertificateRequest.d.ts +33 -0
- package/v2.0/InstallCertificateResponse.d.ts +42 -0
- package/v2.0/LogStatusNotificationRequest.d.ts +38 -0
- package/v2.0/LogStatusNotificationResponse.d.ts +17 -0
- package/v2.0/MeterValuesRequest.d.ts +187 -0
- package/v2.0/MeterValuesResponse.d.ts +17 -0
- package/v2.0/NotifyChargingLimitRequest.d.ts +267 -0
- package/v2.0/NotifyChargingLimitResponse.d.ts +17 -0
- package/v2.0/NotifyCustomerInformationRequest.d.ts +43 -0
- package/v2.0/NotifyCustomerInformationResponse.d.ts +17 -0
- package/v2.0/NotifyDisplayMessagesRequest.d.ts +159 -0
- package/v2.0/NotifyDisplayMessagesResponse.d.ts +17 -0
- package/v2.0/NotifyEVChargingNeedsRequest.d.ts +159 -0
- package/v2.0/NotifyEVChargingNeedsResponse.d.ts +42 -0
- package/v2.0/NotifyEVChargingScheduleRequest.d.ts +245 -0
- package/v2.0/NotifyEVChargingScheduleResponse.d.ts +42 -0
- package/v2.0/NotifyEventRequest.d.ts +171 -0
- package/v2.0/NotifyEventResponse.d.ts +17 -0
- package/v2.0/NotifyMonitoringReportRequest.d.ts +168 -0
- package/v2.0/NotifyMonitoringReportResponse.d.ts +17 -0
- package/v2.0/NotifyReportRequest.d.ts +212 -0
- package/v2.0/NotifyReportResponse.d.ts +17 -0
- package/v2.0/PublishFirmwareRequest.d.ts +50 -0
- package/v2.0/PublishFirmwareResponse.d.ts +42 -0
- package/v2.0/PublishFirmwareStatusNotificationRequest.d.ts +50 -0
- package/v2.0/PublishFirmwareStatusNotificationResponse.d.ts +17 -0
- package/v2.0/ReportChargingProfilesRequest.d.ts +337 -0
- package/v2.0/ReportChargingProfilesResponse.d.ts +17 -0
- package/v2.0/RequestStartTransactionRequest.d.ts +372 -0
- package/v2.0/RequestStartTransactionResponse.d.ts +47 -0
- package/v2.0/RequestStopTransactionRequest.d.ts +22 -0
- package/v2.0/RequestStopTransactionResponse.d.ts +42 -0
- package/v2.0/ReservationStatusUpdateRequest.d.ts +29 -0
- package/v2.0/ReservationStatusUpdateResponse.d.ts +17 -0
- package/v2.0/ReserveNowRequest.d.ts +110 -0
- package/v2.0/ReserveNowResponse.d.ts +42 -0
- package/v2.0/ResetRequest.d.ts +29 -0
- package/v2.0/ResetResponse.d.ts +42 -0
- package/v2.0/SecurityEventNotificationRequest.d.ts +32 -0
- package/v2.0/SecurityEventNotificationResponse.d.ts +17 -0
- package/v2.0/SendLocalListRequest.d.ts +187 -0
- package/v2.0/SendLocalListResponse.d.ts +42 -0
- package/v2.0/SetChargingProfileRequest.d.ts +318 -0
- package/v2.0/SetChargingProfileResponse.d.ts +42 -0
- package/v2.0/SetDisplayMessageRequest.d.ts +146 -0
- package/v2.0/SetDisplayMessageResponse.d.ts +48 -0
- package/v2.0/SetMonitoringBaseRequest.d.ts +24 -0
- package/v2.0/SetMonitoringBaseResponse.d.ts +42 -0
- package/v2.0/SetMonitoringLevelRequest.d.ts +47 -0
- package/v2.0/SetMonitoringLevelResponse.d.ts +42 -0
- package/v2.0/SetNetworkProfileRequest.d.ts +198 -0
- package/v2.0/SetNetworkProfileResponse.d.ts +42 -0
- package/v2.0/SetVariableMonitoringRequest.d.ts +141 -0
- package/v2.0/SetVariableMonitoringResponse.d.ts +157 -0
- package/v2.0/SetVariablesRequest.d.ts +96 -0
- package/v2.0/SetVariablesResponse.d.ts +119 -0
- package/v2.0/SignCertificateRequest.d.ts +30 -0
- package/v2.0/SignCertificateResponse.d.ts +42 -0
- package/v2.0/StatusNotificationRequest.d.ts +39 -0
- package/v2.0/StatusNotificationResponse.d.ts +17 -0
- package/v2.0/TransactionEventRequest.d.ts +371 -0
- package/v2.0/TransactionEventResponse.d.ts +176 -0
- package/v2.0/TriggerMessageRequest.d.ts +57 -0
- package/v2.0/TriggerMessageResponse.d.ts +42 -0
- package/v2.0/UnlockConnectorRequest.d.ts +27 -0
- package/v2.0/UnlockConnectorResponse.d.ts +42 -0
- package/v2.0/UnpublishFirmwareRequest.d.ts +22 -0
- package/v2.0/UnpublishFirmwareResponse.d.ts +24 -0
- package/v2.0/UpdateFirmwareRequest.d.ts +76 -0
- package/v2.0/UpdateFirmwareResponse.d.ts +48 -0
- package/v2.0/index.d.ts +129 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 embyt
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Open Charge Point Protocol (OCPP) v1.6 and v2.0.1 type declarations
|
|
2
|
+
|
|
3
|
+
This package provides TypeScript type declarations for the OCPP (Open Charge Point Protocol). It includes type definitions for all OCPP message types and their properties.
|
|
4
|
+
|
|
5
|
+
## OCPP versions supported:
|
|
6
|
+
|
|
7
|
+
- 1.6
|
|
8
|
+
- 2.0.1
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install --save-dev ocpp-messages
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
Import the provided type definitions into your TypeScript project:
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { StatusNotificationRequest } from "ocpp-messages/v1.6";
|
|
22
|
+
|
|
23
|
+
// Use the types in your code
|
|
24
|
+
const statusRequest: StatusNotificationRequest = {
|
|
25
|
+
// ...
|
|
26
|
+
};
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Contributing
|
|
30
|
+
|
|
31
|
+
Contributions are welcome! If you find any issues or would like to add new features or improvements, please open an issue or submit a pull request on the GitHub repository.
|
|
32
|
+
|
|
33
|
+
## License
|
|
34
|
+
|
|
35
|
+
This package is licensed under the MIT License.
|
package/compile.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const { compileFromFile } = require("json-schema-to-typescript");
|
|
3
|
+
const fs = require("fs");
|
|
4
|
+
fs.readdir(__dirname + "/schema/v1.6", function (err, files) {
|
|
5
|
+
//handling error
|
|
6
|
+
if (err) {
|
|
7
|
+
return console.log("Unable to scan directory: " + err);
|
|
8
|
+
}
|
|
9
|
+
//listing all files using forEach
|
|
10
|
+
files.forEach(function (file) {
|
|
11
|
+
// compile from file
|
|
12
|
+
compileFromFile(`${__dirname}/schema/v1.6/${file}`).then((ts) =>
|
|
13
|
+
fs.writeFileSync(`${__dirname}/v1.6/${file.replace(".json", ".d.ts")}`, ts),
|
|
14
|
+
);
|
|
15
|
+
console.log(file);
|
|
16
|
+
});
|
|
17
|
+
});
|
package/package.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ocpp-messages",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "TypeScript definitions for Open Charge Point Protocol (OCPP)",
|
|
5
|
+
"main": "",
|
|
6
|
+
"author": "Roman Morawek, embyt GmbH",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/embyt/ocpp-messages.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/embyt/ocpp-messages/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/embyt/ocpp-messages",
|
|
16
|
+
"keywords": [
|
|
17
|
+
"ocpp",
|
|
18
|
+
"ocpp types",
|
|
19
|
+
"@types ocpp",
|
|
20
|
+
"open charge point protocol",
|
|
21
|
+
"v1.6",
|
|
22
|
+
"v2.0"
|
|
23
|
+
],
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"json-schema-to-typescript": "^13.1.1"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {}
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "AuthorizeRequest",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"idTag": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"maxLength": 20
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"additionalProperties": false,
|
|
12
|
+
"required": [
|
|
13
|
+
"idTag"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "AuthorizeResponse",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"idTagInfo": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"status": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"enum": [
|
|
12
|
+
"Accepted",
|
|
13
|
+
"Blocked",
|
|
14
|
+
"Expired",
|
|
15
|
+
"Invalid",
|
|
16
|
+
"ConcurrentTx"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"expiryDate": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"format": "date-time"
|
|
22
|
+
},
|
|
23
|
+
"parentIdTag": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"maxLength": 20
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required": [
|
|
29
|
+
"status"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"additionalProperties": false,
|
|
34
|
+
"required": [
|
|
35
|
+
"idTagInfo"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "BootNotificationRequest",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"chargePointVendor": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"maxLength": 20
|
|
9
|
+
},
|
|
10
|
+
"chargePointModel": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"maxLength": 20
|
|
13
|
+
},
|
|
14
|
+
"chargePointSerialNumber": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"maxLength": 25
|
|
17
|
+
},
|
|
18
|
+
"chargeBoxSerialNumber": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"maxLength": 25
|
|
21
|
+
},
|
|
22
|
+
"firmwareVersion": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"maxLength": 50
|
|
25
|
+
},
|
|
26
|
+
"iccid": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"maxLength": 20
|
|
29
|
+
},
|
|
30
|
+
"imsi": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"maxLength": 20
|
|
33
|
+
},
|
|
34
|
+
"meterType": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"maxLength": 25
|
|
37
|
+
},
|
|
38
|
+
"meterSerialNumber": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"maxLength": 25
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"additionalProperties": false,
|
|
44
|
+
"required": [
|
|
45
|
+
"chargePointVendor",
|
|
46
|
+
"chargePointModel"
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "BootNotificationResponse",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"status": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"enum": [
|
|
9
|
+
"Accepted",
|
|
10
|
+
"Pending",
|
|
11
|
+
"Rejected"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"currentTime": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": "date-time"
|
|
17
|
+
},
|
|
18
|
+
"interval": {
|
|
19
|
+
"type": "number"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"required": [
|
|
24
|
+
"status",
|
|
25
|
+
"currentTime",
|
|
26
|
+
"interval"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "CancelReservationRequest",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"reservationId": {
|
|
7
|
+
"type": "integer"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"additionalProperties": false,
|
|
11
|
+
"required": [
|
|
12
|
+
"reservationId"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "CancelReservationResponse",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"status": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"enum": [
|
|
9
|
+
"Accepted",
|
|
10
|
+
"Rejected"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"required": [
|
|
16
|
+
"status"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "ChangeAvailabilityRequest",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"connectorId": {
|
|
7
|
+
"type": "integer"
|
|
8
|
+
},
|
|
9
|
+
"type": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"enum": [
|
|
12
|
+
"Inoperative",
|
|
13
|
+
"Operative"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"additionalProperties": false,
|
|
18
|
+
"required": [
|
|
19
|
+
"connectorId",
|
|
20
|
+
"type"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "ChangeAvailabilityResponse",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"status": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"enum": [
|
|
9
|
+
"Accepted",
|
|
10
|
+
"Rejected",
|
|
11
|
+
"Scheduled"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"required": [
|
|
17
|
+
"status"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "ChangeConfigurationRequest",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"key": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"maxLength": 50
|
|
9
|
+
},
|
|
10
|
+
"value": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"maxLength": 500
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"required": [
|
|
17
|
+
"key",
|
|
18
|
+
"value"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "ChangeConfigurationResponse",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"status": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"enum": [
|
|
9
|
+
"Accepted",
|
|
10
|
+
"Rejected",
|
|
11
|
+
"RebootRequired",
|
|
12
|
+
"NotSupported"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"additionalProperties": false,
|
|
17
|
+
"required": [
|
|
18
|
+
"status"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "ClearCacheResponse",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"status": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"enum": [
|
|
9
|
+
"Accepted",
|
|
10
|
+
"Rejected"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"required": [
|
|
16
|
+
"status"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "ClearChargingProfileRequest",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": {
|
|
7
|
+
"type": "integer"
|
|
8
|
+
},
|
|
9
|
+
"connectorId": {
|
|
10
|
+
"type": "integer"
|
|
11
|
+
},
|
|
12
|
+
"chargingProfilePurpose": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"enum": [
|
|
15
|
+
"ChargePointMaxProfile",
|
|
16
|
+
"TxDefaultProfile",
|
|
17
|
+
"TxProfile"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"stackLevel": {
|
|
21
|
+
"type": "integer"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "ClearChargingProfileResponse",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"status": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"enum": [
|
|
9
|
+
"Accepted",
|
|
10
|
+
"Unknown"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"required": [
|
|
16
|
+
"status"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "DataTransferRequest",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"vendorId": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"maxLength": 255
|
|
9
|
+
},
|
|
10
|
+
"messageId": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"maxLength": 50
|
|
13
|
+
},
|
|
14
|
+
"data": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"additionalProperties": false,
|
|
19
|
+
"required": [
|
|
20
|
+
"vendorId"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "DataTransferResponse",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"status": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"enum": [
|
|
9
|
+
"Accepted",
|
|
10
|
+
"Rejected",
|
|
11
|
+
"UnknownMessageId",
|
|
12
|
+
"UnknownVendorId"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"data": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"additionalProperties": false,
|
|
20
|
+
"required": [
|
|
21
|
+
"status"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "DiagnosticsStatusNotificationRequest",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"status": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"enum": [
|
|
9
|
+
"Idle",
|
|
10
|
+
"Uploaded",
|
|
11
|
+
"UploadFailed",
|
|
12
|
+
"Uploading"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"additionalProperties": false,
|
|
17
|
+
"required": [
|
|
18
|
+
"status"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "FirmwareStatusNotificationRequest",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"status": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"enum": [
|
|
9
|
+
"Downloaded",
|
|
10
|
+
"DownloadFailed",
|
|
11
|
+
"Downloading",
|
|
12
|
+
"Idle",
|
|
13
|
+
"InstallationFailed",
|
|
14
|
+
"Installing",
|
|
15
|
+
"Installed"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"additionalProperties": false,
|
|
20
|
+
"required": [
|
|
21
|
+
"status"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "GetCompositeScheduleRequest",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"connectorId": {
|
|
7
|
+
"type": "integer"
|
|
8
|
+
},
|
|
9
|
+
"duration": {
|
|
10
|
+
"type": "integer"
|
|
11
|
+
},
|
|
12
|
+
"chargingRateUnit": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"enum": [
|
|
15
|
+
"A",
|
|
16
|
+
"W"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"additionalProperties": false,
|
|
21
|
+
"required": [
|
|
22
|
+
"connectorId",
|
|
23
|
+
"duration"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "GetCompositeScheduleResponse",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"status": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"enum": [
|
|
9
|
+
"Accepted",
|
|
10
|
+
"Rejected"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"connectorId": {
|
|
14
|
+
"type": "integer"
|
|
15
|
+
},
|
|
16
|
+
"scheduleStart": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": "date-time"
|
|
19
|
+
},
|
|
20
|
+
"chargingSchedule": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"duration": {
|
|
24
|
+
"type": "integer"
|
|
25
|
+
},
|
|
26
|
+
"startSchedule": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"format": "date-time"
|
|
29
|
+
},
|
|
30
|
+
"chargingRateUnit": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": [
|
|
33
|
+
"A",
|
|
34
|
+
"W"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"chargingSchedulePeriod": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"items": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"properties": {
|
|
42
|
+
"startPeriod": {
|
|
43
|
+
"type": "integer"
|
|
44
|
+
},
|
|
45
|
+
"limit": {
|
|
46
|
+
"type": "number",
|
|
47
|
+
"multipleOf" : 0.1
|
|
48
|
+
},
|
|
49
|
+
"numberPhases": {
|
|
50
|
+
"type": "integer"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": [
|
|
54
|
+
"startPeriod",
|
|
55
|
+
"limit"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"minChargingRate": {
|
|
60
|
+
"type": "number",
|
|
61
|
+
"multipleOf" : 0.1
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": [
|
|
65
|
+
"chargingRateUnit",
|
|
66
|
+
"chargingSchedulePeriod"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"additionalProperties": false,
|
|
71
|
+
"required": [
|
|
72
|
+
"status"
|
|
73
|
+
]
|
|
74
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "GetConfigurationRequest",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"key": {
|
|
7
|
+
"type": "array",
|
|
8
|
+
"items": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"maxLength": 50
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|