ocpp-messages 0.1.1 → 0.2.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/compile.js +41 -0
- package/package.json +5 -3
- package/schema/v2.0/AuthorizeRequest.json +171 -0
- package/schema/v2.0/AuthorizeResponse.json +233 -0
- package/schema/v2.0/BootNotificationRequest.json +114 -0
- package/schema/v2.0/BootNotificationResponse.json +83 -0
- package/schema/v2.0/CancelReservationRequest.json +35 -0
- package/schema/v2.0/CancelReservationResponse.json +71 -0
- package/schema/v2.0/CertificateSignedRequest.json +49 -0
- package/schema/v2.0/CertificateSignedResponse.json +71 -0
- package/schema/v2.0/ChangeAvailabilityRequest.json +69 -0
- package/schema/v2.0/ChangeAvailabilityResponse.json +72 -0
- package/schema/v2.0/ClearCacheRequest.json +28 -0
- package/schema/v2.0/ClearCacheResponse.json +71 -0
- package/schema/v2.0/ClearChargingProfileRequest.json +69 -0
- package/schema/v2.0/ClearChargingProfileResponse.json +71 -0
- package/schema/v2.0/ClearDisplayMessageRequest.json +35 -0
- package/schema/v2.0/ClearDisplayMessageResponse.json +71 -0
- package/schema/v2.0/ClearVariableMonitoringRequest.json +40 -0
- package/schema/v2.0/ClearVariableMonitoringResponse.json +98 -0
- package/schema/v2.0/ClearedChargingLimitRequest.json +50 -0
- package/schema/v2.0/ClearedChargingLimitResponse.json +28 -0
- package/schema/v2.0/CostUpdatedRequest.json +41 -0
- package/schema/v2.0/CostUpdatedResponse.json +28 -0
- package/schema/v2.0/CustomerInformationRequest.json +173 -0
- package/schema/v2.0/CustomerInformationResponse.json +72 -0
- package/schema/v2.0/DataTransferRequest.json +44 -0
- package/schema/v2.0/DataTransferResponse.json +76 -0
- package/schema/v2.0/DeleteCertificateRequest.json +79 -0
- package/schema/v2.0/DeleteCertificateResponse.json +72 -0
- package/schema/v2.0/FirmwareStatusNotificationRequest.json +60 -0
- package/schema/v2.0/FirmwareStatusNotificationResponse.json +28 -0
- package/schema/v2.0/Get15118EVCertificateRequest.json +56 -0
- package/schema/v2.0/Get15118EVCertificateResponse.json +77 -0
- package/schema/v2.0/GetBaseReportRequest.json +50 -0
- package/schema/v2.0/GetBaseReportResponse.json +73 -0
- package/schema/v2.0/GetCertificateStatusRequest.json +85 -0
- package/schema/v2.0/GetCertificateStatusResponse.json +76 -0
- package/schema/v2.0/GetChargingProfilesRequest.json +103 -0
- package/schema/v2.0/GetChargingProfilesResponse.json +71 -0
- package/schema/v2.0/GetCompositeScheduleRequest.json +53 -0
- package/schema/v2.0/GetCompositeScheduleResponse.json +157 -0
- package/schema/v2.0/GetDisplayMessagesRequest.json +73 -0
- package/schema/v2.0/GetDisplayMessagesResponse.json +71 -0
- package/schema/v2.0/GetInstalledCertificateIdsRequest.json +49 -0
- package/schema/v2.0/GetInstalledCertificateIdsResponse.json +166 -0
- package/schema/v2.0/GetLocalListVersionRequest.json +28 -0
- package/schema/v2.0/GetLocalListVersionResponse.json +35 -0
- package/schema/v2.0/GetLogRequest.json +90 -0
- package/schema/v2.0/GetLogResponse.json +77 -0
- package/schema/v2.0/GetMonitoringReportRequest.json +156 -0
- package/schema/v2.0/GetMonitoringReportResponse.json +73 -0
- package/schema/v2.0/GetReportRequest.json +157 -0
- package/schema/v2.0/GetReportResponse.json +73 -0
- package/schema/v2.0/GetTransactionStatusRequest.json +33 -0
- package/schema/v2.0/GetTransactionStatusResponse.json +39 -0
- package/schema/v2.0/GetVariablesRequest.json +149 -0
- package/schema/v2.0/GetVariablesResponse.json +198 -0
- package/schema/v2.0/HeartbeatRequest.json +28 -0
- package/schema/v2.0/HeartbeatResponse.json +36 -0
- package/schema/v2.0/InstallCertificateRequest.json +52 -0
- package/schema/v2.0/InstallCertificateResponse.json +72 -0
- package/schema/v2.0/LogStatusNotificationRequest.json +54 -0
- package/schema/v2.0/LogStatusNotificationResponse.json +28 -0
- package/schema/v2.0/MeterValuesRequest.json +251 -0
- package/schema/v2.0/MeterValuesResponse.json +28 -0
- package/schema/v2.0/NotifyChargingLimitRequest.json +323 -0
- package/schema/v2.0/NotifyChargingLimitResponse.json +28 -0
- package/schema/v2.0/NotifyCustomerInformationRequest.json +57 -0
- package/schema/v2.0/NotifyCustomerInformationResponse.json +28 -0
- package/schema/v2.0/NotifyDisplayMessagesRequest.json +207 -0
- package/schema/v2.0/NotifyDisplayMessagesResponse.json +28 -0
- package/schema/v2.0/NotifyEVChargingNeedsRequest.json +169 -0
- package/schema/v2.0/NotifyEVChargingNeedsResponse.json +72 -0
- package/schema/v2.0/NotifyEVChargingScheduleRequest.json +289 -0
- package/schema/v2.0/NotifyEVChargingScheduleResponse.json +71 -0
- package/schema/v2.0/NotifyEventRequest.json +224 -0
- package/schema/v2.0/NotifyEventResponse.json +28 -0
- package/schema/v2.0/NotifyMonitoringReportRequest.json +212 -0
- package/schema/v2.0/NotifyMonitoringReportResponse.json +28 -0
- package/schema/v2.0/NotifyReportRequest.json +279 -0
- package/schema/v2.0/NotifyReportResponse.json +28 -0
- package/schema/v2.0/PublishFirmwareRequest.json +55 -0
- package/schema/v2.0/PublishFirmwareResponse.json +71 -0
- package/schema/v2.0/PublishFirmwareStatusNotificationRequest.json +66 -0
- package/schema/v2.0/PublishFirmwareStatusNotificationResponse.json +28 -0
- package/schema/v2.0/ReportChargingProfilesRequest.json +406 -0
- package/schema/v2.0/ReportChargingProfilesResponse.json +28 -0
- package/schema/v2.0/RequestStartTransactionRequest.json +457 -0
- package/schema/v2.0/RequestStartTransactionResponse.json +76 -0
- package/schema/v2.0/RequestStopTransactionRequest.json +36 -0
- package/schema/v2.0/RequestStopTransactionResponse.json +71 -0
- package/schema/v2.0/ReservationStatusUpdateRequest.json +49 -0
- package/schema/v2.0/ReservationStatusUpdateResponse.json +28 -0
- package/schema/v2.0/ReserveNowRequest.json +157 -0
- package/schema/v2.0/ReserveNowResponse.json +74 -0
- package/schema/v2.0/ResetRequest.json +48 -0
- package/schema/v2.0/ResetResponse.json +72 -0
- package/schema/v2.0/SecurityEventNotificationRequest.json +47 -0
- package/schema/v2.0/SecurityEventNotificationResponse.json +28 -0
- package/schema/v2.0/SendLocalListRequest.json +258 -0
- package/schema/v2.0/SendLocalListResponse.json +72 -0
- package/schema/v2.0/SetChargingProfileRequest.json +375 -0
- package/schema/v2.0/SetChargingProfileResponse.json +71 -0
- package/schema/v2.0/SetDisplayMessageRequest.json +193 -0
- package/schema/v2.0/SetDisplayMessageResponse.json +75 -0
- package/schema/v2.0/SetMonitoringBaseRequest.json +45 -0
- package/schema/v2.0/SetMonitoringBaseResponse.json +73 -0
- package/schema/v2.0/SetMonitoringLevelRequest.json +35 -0
- package/schema/v2.0/SetMonitoringLevelResponse.json +71 -0
- package/schema/v2.0/SetNetworkProfileRequest.json +241 -0
- package/schema/v2.0/SetNetworkProfileResponse.json +72 -0
- package/schema/v2.0/SetVariableMonitoringRequest.json +169 -0
- package/schema/v2.0/SetVariableMonitoringResponse.json +204 -0
- package/schema/v2.0/SetVariablesRequest.json +154 -0
- package/schema/v2.0/SetVariablesResponse.json +193 -0
- package/schema/v2.0/SignCertificateRequest.json +49 -0
- package/schema/v2.0/SignCertificateResponse.json +71 -0
- package/schema/v2.0/StatusNotificationRequest.json +63 -0
- package/schema/v2.0/StatusNotificationResponse.json +28 -0
- package/schema/v2.0/TransactionEventRequest.json +497 -0
- package/schema/v2.0/TransactionEventResponse.json +223 -0
- package/schema/v2.0/TriggerMessageRequest.json +78 -0
- package/schema/v2.0/TriggerMessageResponse.json +72 -0
- package/schema/v2.0/UnlockConnectorRequest.json +40 -0
- package/schema/v2.0/UnlockConnectorResponse.json +73 -0
- package/schema/v2.0/UnpublishFirmwareRequest.json +36 -0
- package/schema/v2.0/UnpublishFirmwareResponse.json +45 -0
- package/schema/v2.0/UpdateFirmwareRequest.json +87 -0
- package/schema/v2.0/UpdateFirmwareResponse.json +74 -0
- package/v1.6/MeterValues.d.ts +51 -71
- package/v2.0/AuthorizeRequest.d.ts +2 -2
- package/v2.0/AuthorizeResponse.d.ts +2 -2
- package/v2.0/BootNotificationRequest.d.ts +2 -2
- package/v2.0/BootNotificationResponse.d.ts +2 -2
- package/v2.0/CancelReservationRequest.d.ts +2 -2
- package/v2.0/CancelReservationResponse.d.ts +2 -2
- package/v2.0/CertificateSignedRequest.d.ts +2 -2
- package/v2.0/CertificateSignedResponse.d.ts +2 -2
- package/v2.0/ChangeAvailabilityRequest.d.ts +2 -2
- package/v2.0/ChangeAvailabilityResponse.d.ts +2 -2
- package/v2.0/ClearCacheRequest.d.ts +2 -2
- package/v2.0/ClearCacheResponse.d.ts +2 -2
- package/v2.0/ClearChargingProfileRequest.d.ts +2 -2
- package/v2.0/ClearChargingProfileResponse.d.ts +2 -2
- package/v2.0/ClearDisplayMessageRequest.d.ts +2 -2
- package/v2.0/ClearDisplayMessageResponse.d.ts +2 -2
- package/v2.0/ClearVariableMonitoringRequest.d.ts +2 -2
- package/v2.0/ClearVariableMonitoringResponse.d.ts +2 -2
- package/v2.0/ClearedChargingLimitRequest.d.ts +2 -2
- package/v2.0/ClearedChargingLimitResponse.d.ts +2 -2
- package/v2.0/CostUpdatedRequest.d.ts +2 -2
- package/v2.0/CostUpdatedResponse.d.ts +2 -2
- package/v2.0/CustomerInformationRequest.d.ts +2 -2
- package/v2.0/CustomerInformationResponse.d.ts +2 -2
- package/v2.0/DataTransferRequest.d.ts +2 -2
- package/v2.0/DataTransferResponse.d.ts +2 -2
- package/v2.0/DeleteCertificateRequest.d.ts +2 -2
- package/v2.0/DeleteCertificateResponse.d.ts +2 -2
- package/v2.0/FirmwareStatusNotificationRequest.d.ts +2 -2
- package/v2.0/FirmwareStatusNotificationResponse.d.ts +2 -2
- package/v2.0/Get15118EVCertificateRequest.d.ts +2 -2
- package/v2.0/Get15118EVCertificateResponse.d.ts +2 -2
- package/v2.0/GetBaseReportRequest.d.ts +2 -2
- package/v2.0/GetBaseReportResponse.d.ts +2 -2
- package/v2.0/GetCertificateStatusRequest.d.ts +2 -2
- package/v2.0/GetCertificateStatusResponse.d.ts +2 -2
- package/v2.0/GetChargingProfilesRequest.d.ts +2 -2
- package/v2.0/GetChargingProfilesResponse.d.ts +2 -2
- package/v2.0/GetCompositeScheduleRequest.d.ts +2 -2
- package/v2.0/GetCompositeScheduleResponse.d.ts +2 -2
- package/v2.0/GetDisplayMessagesRequest.d.ts +2 -2
- package/v2.0/GetDisplayMessagesResponse.d.ts +2 -2
- package/v2.0/GetInstalledCertificateIdsRequest.d.ts +2 -2
- package/v2.0/GetInstalledCertificateIdsResponse.d.ts +2 -2
- package/v2.0/GetLocalListVersionRequest.d.ts +2 -2
- package/v2.0/GetLocalListVersionResponse.d.ts +2 -2
- package/v2.0/GetLogRequest.d.ts +2 -2
- package/v2.0/GetLogResponse.d.ts +2 -2
- package/v2.0/GetMonitoringReportRequest.d.ts +2 -2
- package/v2.0/GetMonitoringReportResponse.d.ts +2 -2
- package/v2.0/GetReportRequest.d.ts +2 -2
- package/v2.0/GetReportResponse.d.ts +2 -2
- package/v2.0/GetTransactionStatusRequest.d.ts +2 -2
- package/v2.0/GetTransactionStatusResponse.d.ts +2 -2
- package/v2.0/GetVariablesRequest.d.ts +2 -2
- package/v2.0/GetVariablesResponse.d.ts +2 -2
- package/v2.0/HeartbeatRequest.d.ts +2 -2
- package/v2.0/HeartbeatResponse.d.ts +2 -2
- package/v2.0/InstallCertificateRequest.d.ts +2 -2
- package/v2.0/InstallCertificateResponse.d.ts +2 -2
- package/v2.0/LogStatusNotificationRequest.d.ts +2 -2
- package/v2.0/LogStatusNotificationResponse.d.ts +2 -2
- package/v2.0/MeterValuesRequest.d.ts +2 -2
- package/v2.0/MeterValuesResponse.d.ts +2 -2
- package/v2.0/NotifyChargingLimitRequest.d.ts +2 -2
- package/v2.0/NotifyChargingLimitResponse.d.ts +2 -2
- package/v2.0/NotifyCustomerInformationRequest.d.ts +2 -2
- package/v2.0/NotifyCustomerInformationResponse.d.ts +2 -2
- package/v2.0/NotifyDisplayMessagesRequest.d.ts +2 -2
- package/v2.0/NotifyDisplayMessagesResponse.d.ts +2 -2
- package/v2.0/NotifyEVChargingNeedsRequest.d.ts +2 -2
- package/v2.0/NotifyEVChargingNeedsResponse.d.ts +2 -2
- package/v2.0/NotifyEVChargingScheduleRequest.d.ts +2 -2
- package/v2.0/NotifyEVChargingScheduleResponse.d.ts +2 -2
- package/v2.0/NotifyEventRequest.d.ts +2 -2
- package/v2.0/NotifyEventResponse.d.ts +2 -2
- package/v2.0/NotifyMonitoringReportRequest.d.ts +2 -2
- package/v2.0/NotifyMonitoringReportResponse.d.ts +2 -2
- package/v2.0/NotifyReportRequest.d.ts +2 -2
- package/v2.0/NotifyReportResponse.d.ts +2 -2
- package/v2.0/PublishFirmwareRequest.d.ts +2 -2
- package/v2.0/PublishFirmwareResponse.d.ts +2 -2
- package/v2.0/PublishFirmwareStatusNotificationRequest.d.ts +2 -2
- package/v2.0/PublishFirmwareStatusNotificationResponse.d.ts +2 -2
- package/v2.0/ReportChargingProfilesRequest.d.ts +2 -2
- package/v2.0/ReportChargingProfilesResponse.d.ts +2 -2
- package/v2.0/RequestStartTransactionRequest.d.ts +2 -2
- package/v2.0/RequestStartTransactionResponse.d.ts +2 -2
- package/v2.0/RequestStopTransactionRequest.d.ts +2 -2
- package/v2.0/RequestStopTransactionResponse.d.ts +2 -2
- package/v2.0/ReservationStatusUpdateRequest.d.ts +2 -2
- package/v2.0/ReservationStatusUpdateResponse.d.ts +2 -2
- package/v2.0/ReserveNowRequest.d.ts +2 -2
- package/v2.0/ReserveNowResponse.d.ts +2 -2
- package/v2.0/ResetRequest.d.ts +2 -2
- package/v2.0/ResetResponse.d.ts +2 -2
- package/v2.0/SecurityEventNotificationRequest.d.ts +2 -2
- package/v2.0/SecurityEventNotificationResponse.d.ts +2 -2
- package/v2.0/SendLocalListRequest.d.ts +2 -2
- package/v2.0/SendLocalListResponse.d.ts +2 -2
- package/v2.0/SetChargingProfileRequest.d.ts +2 -2
- package/v2.0/SetChargingProfileResponse.d.ts +2 -2
- package/v2.0/SetDisplayMessageRequest.d.ts +2 -2
- package/v2.0/SetDisplayMessageResponse.d.ts +2 -2
- package/v2.0/SetMonitoringBaseRequest.d.ts +2 -2
- package/v2.0/SetMonitoringBaseResponse.d.ts +2 -2
- package/v2.0/SetMonitoringLevelRequest.d.ts +2 -2
- package/v2.0/SetMonitoringLevelResponse.d.ts +2 -2
- package/v2.0/SetNetworkProfileRequest.d.ts +2 -2
- package/v2.0/SetNetworkProfileResponse.d.ts +2 -2
- package/v2.0/SetVariableMonitoringRequest.d.ts +2 -2
- package/v2.0/SetVariableMonitoringResponse.d.ts +2 -2
- package/v2.0/SetVariablesRequest.d.ts +2 -2
- package/v2.0/SetVariablesResponse.d.ts +2 -2
- package/v2.0/SignCertificateRequest.d.ts +2 -2
- package/v2.0/SignCertificateResponse.d.ts +2 -2
- package/v2.0/StatusNotificationRequest.d.ts +2 -2
- package/v2.0/StatusNotificationResponse.d.ts +2 -2
- package/v2.0/TransactionEventRequest.d.ts +2 -2
- package/v2.0/TransactionEventResponse.d.ts +2 -2
- package/v2.0/TriggerMessageRequest.d.ts +2 -2
- package/v2.0/TriggerMessageResponse.d.ts +2 -2
- package/v2.0/UnlockConnectorRequest.d.ts +2 -2
- package/v2.0/UnlockConnectorResponse.d.ts +2 -2
- package/v2.0/UnpublishFirmwareRequest.d.ts +2 -2
- package/v2.0/UnpublishFirmwareResponse.d.ts +2 -2
- package/v2.0/UpdateFirmwareRequest.d.ts +2 -2
- package/v2.0/UpdateFirmwareResponse.d.ts +2 -2
- package/v2.0/index.d.ts +338 -129
- package/schema/v2.0/AuthorizeRequest_v1p0.json +0 -133
- package/schema/v2.0/AuthorizeResponse_v1p0.json +0 -154
- package/schema/v2.0/BootNotificationRequest_v1p0.json +0 -81
- package/schema/v2.0/BootNotificationResponse_v1p0.json +0 -30
- package/schema/v2.0/CancelReservationRequest_v1p0.json +0 -15
- package/schema/v2.0/CancelReservationResponse_v1p0.json +0 -20
- package/schema/v2.0/CertificateSignedRequest_v1p0.json +0 -29
- package/schema/v2.0/CertificateSignedResponse_v1p0.json +0 -20
- package/schema/v2.0/ChangeAvailabilityRequest_v1p0.json +0 -24
- package/schema/v2.0/ChangeAvailabilityResponse_v1p0.json +0 -21
- package/schema/v2.0/ClearCacheRequest_v1p0.json +0 -7
- package/schema/v2.0/ClearCacheResponse_v1p0.json +0 -20
- package/schema/v2.0/ClearChargingProfileRequest_v1p0.json +0 -43
- package/schema/v2.0/ClearChargingProfileResponse_v1p0.json +0 -20
- package/schema/v2.0/ClearDisplayMessageRequest_v1p0.json +0 -15
- package/schema/v2.0/ClearDisplayMessageResponse_v1p0.json +0 -20
- package/schema/v2.0/ClearVariableMonitoringRequest_v1p0.json +0 -20
- package/schema/v2.0/ClearVariableMonitoringResponse_v1p0.json +0 -48
- package/schema/v2.0/ClearedChargingLimitRequest_v1p0.json +0 -25
- package/schema/v2.0/ClearedChargingLimitResponse_v1p0.json +0 -7
- package/schema/v2.0/CostUpdatedRequest_v1p0.json +0 -20
- package/schema/v2.0/CostUpdatedResponse_v1p0.json +0 -7
- package/schema/v2.0/CustomerInformationRequest_v1p0.json +0 -130
- package/schema/v2.0/CustomerInformationResponse_v1p0.json +0 -21
- package/schema/v2.0/DataTransferRequest_v1p0.json +0 -21
- package/schema/v2.0/DataTransferResponse_v1p0.json +0 -23
- package/schema/v2.0/DeleteCertificateRequest_v1p0.json +0 -54
- package/schema/v2.0/DeleteCertificateResponse_v1p0.json +0 -21
- package/schema/v2.0/FirmwareStatusNotificationRequest_v1p0.json +0 -40
- package/schema/v2.0/FirmwareStatusNotificationResponse_v1p0.json +0 -7
- package/schema/v2.0/Get15118EVCertificateRequest_v1p0.json +0 -21
- package/schema/v2.0/Get15118EVCertificateResponse_v1p0.json +0 -62
- package/schema/v2.0/GetBaseReportRequest_v1p0.json +0 -25
- package/schema/v2.0/GetBaseReportResponse_v1p0.json +0 -21
- package/schema/v2.0/GetCertificateStatusRequest_v1p0.json +0 -58
- package/schema/v2.0/GetCertificateStatusResponse_v1p0.json +0 -24
- package/schema/v2.0/GetChargingProfilesRequest_v1p0.json +0 -73
- package/schema/v2.0/GetChargingProfilesResponse_v1p0.json +0 -20
- package/schema/v2.0/GetCompositeScheduleRequest_v1p0.json +0 -27
- package/schema/v2.0/GetCompositeScheduleResponse_v1p0.json +0 -108
- package/schema/v2.0/GetDisplayMessagesRequest_v1p0.json +0 -42
- package/schema/v2.0/GetDisplayMessagesResponse_v1p0.json +0 -20
- package/schema/v2.0/GetInstalledCertificateIdsRequest_v1p0.json +0 -24
- package/schema/v2.0/GetInstalledCertificateIdsResponse_v1p0.json +0 -70
- package/schema/v2.0/GetLocalListVersionRequest_v1p0.json +0 -7
- package/schema/v2.0/GetLocalListVersionResponse_v1p0.json +0 -15
- package/schema/v2.0/GetLogRequest_v1p0.json +0 -61
- package/schema/v2.0/GetLogResponse_v1p0.json +0 -25
- package/schema/v2.0/GetMonitoringReportRequest_v1p0.json +0 -112
- package/schema/v2.0/GetMonitoringReportResponse_v1p0.json +0 -21
- package/schema/v2.0/GetReportRequest_v1p0.json +0 -113
- package/schema/v2.0/GetReportResponse_v1p0.json +0 -21
- package/schema/v2.0/GetTransactionStatusRequest_v1p0.json +0 -13
- package/schema/v2.0/GetTransactionStatusResponse_v1p0.json +0 -18
- package/schema/v2.0/GetVariablesRequest_v1p0.json +0 -108
- package/schema/v2.0/GetVariablesResponse_v1p0.json +0 -127
- package/schema/v2.0/HeartbeatRequest_v1p0.json +0 -7
- package/schema/v2.0/HeartbeatResponse_v1p0.json +0 -16
- package/schema/v2.0/InstallCertificateRequest_v1p0.json +0 -29
- package/schema/v2.0/InstallCertificateResponse_v1p0.json +0 -25
- package/schema/v2.0/LogStatusNotificationRequest_v1p0.json +0 -29
- package/schema/v2.0/LogStatusNotificationResponse_v1p0.json +0 -7
- package/schema/v2.0/MeterValuesRequest_v1p0.json +0 -212
- package/schema/v2.0/MeterValuesResponse_v1p0.json +0 -7
- package/schema/v2.0/NotifyCentralChargingNeedsRequest_v1p0.json +0 -191
- package/schema/v2.0/NotifyCentralChargingNeedsResponse_v1p0.json +0 -20
- package/schema/v2.0/NotifyChargingLimitRequest_v1p0.json +0 -117
- package/schema/v2.0/NotifyChargingLimitResponse_v1p0.json +0 -7
- package/schema/v2.0/NotifyCustomerInformationRequest_v1p0.json +0 -32
- package/schema/v2.0/NotifyCustomerInformationResponse_v1p0.json +0 -7
- package/schema/v2.0/NotifyDisplayMessagesRequest_v1p0.json +0 -157
- package/schema/v2.0/NotifyDisplayMessagesResponse_v1p0.json +0 -7
- package/schema/v2.0/NotifyEVChargingNeedsRequest_v1p0.json +0 -125
- package/schema/v2.0/NotifyEVChargingNeedsResponse_v1p0.json +0 -21
- package/schema/v2.0/NotifyEVChargingScheduleRequest_v1p0.json +0 -88
- package/schema/v2.0/NotifyEVChargingScheduleResponse_v1p0.json +0 -20
- package/schema/v2.0/NotifyEventRequest_v1p0.json +0 -193
- package/schema/v2.0/NotifyEventResponse_v1p0.json +0 -7
- package/schema/v2.0/NotifyMonitoringReportRequest_v1p0.json +0 -160
- package/schema/v2.0/NotifyMonitoringReportResponse_v1p0.json +0 -7
- package/schema/v2.0/NotifyReportRequest_v1p0.json +0 -216
- package/schema/v2.0/NotifyReportResponse_v1p0.json +0 -7
- package/schema/v2.0/PublishFirmwareRequest_v1p0.json +0 -24
- package/schema/v2.0/PublishFirmwareResponse_v1p0.json +0 -20
- package/schema/v2.0/PublishFirmwareStatusNotificationRequest_v1p0.json +0 -36
- package/schema/v2.0/PublishFirmwareStatusNotificationResponse_v1p0.json +0 -7
- package/schema/v2.0/Renegotiate15118ScheduleRequest_v1p0.json +0 -33
- package/schema/v2.0/Renegotiate15118ScheduleResponse_v1p0.json +0 -20
- package/schema/v2.0/ReportChargingProfilesRequest_v1p0.json +0 -183
- package/schema/v2.0/ReportChargingProfilesResponse_v1p0.json +0 -7
- package/schema/v2.0/RequestStartTransactionRequest_v1p0.json +0 -222
- package/schema/v2.0/RequestStartTransactionResponse_v1p0.json +0 -24
- package/schema/v2.0/RequestStopTransactionRequest_v1p0.json +0 -16
- package/schema/v2.0/RequestStopTransactionResponse_v1p0.json +0 -20
- package/schema/v2.0/ReservationStatusUpdateRequest_v1p0.json +0 -24
- package/schema/v2.0/ReservationStatusUpdateResponse_v1p0.json +0 -7
- package/schema/v2.0/ReserveNowRequest_v1p0.json +0 -151
- package/schema/v2.0/ReserveNowResponse_v1p0.json +0 -23
- package/schema/v2.0/ResetRequest_v1p0.json +0 -20
- package/schema/v2.0/ResetResponse_v1p0.json +0 -21
- package/schema/v2.0/SecurityEventNotificationRequest_v1p0.json +0 -41
- package/schema/v2.0/SecurityEventNotificationResponse_v1p0.json +0 -7
- package/schema/v2.0/SendLocalListRequest_v1p0.json +0 -211
- package/schema/v2.0/SendLocalListResponse_v1p0.json +0 -21
- package/schema/v2.0/SetChargingProfileRequest_v1p0.json +0 -158
- package/schema/v2.0/SetChargingProfileResponse_v1p0.json +0 -20
- package/schema/v2.0/SetDisplayMessageRequest_v1p0.json +0 -144
- package/schema/v2.0/SetDisplayMessageResponse_v1p0.json +0 -24
- package/schema/v2.0/SetMonitoringBaseRequest_v1p0.json +0 -21
- package/schema/v2.0/SetMonitoringBaseResponse_v1p0.json +0 -21
- package/schema/v2.0/SetMonitoringLevelRequest_v1p0.json +0 -15
- package/schema/v2.0/SetMonitoringLevelResponse_v1p0.json +0 -20
- package/schema/v2.0/SetNetworkProfileRequest_v1p0.json +0 -182
- package/schema/v2.0/SetNetworkProfileResponse_v1p0.json +0 -21
- package/schema/v2.0/SetVariableMonitoringRequest_v1p0.json +0 -123
- package/schema/v2.0/SetVariableMonitoringResponse_v1p0.json +0 -133
- package/schema/v2.0/SetVariablesRequest_v1p0.json +0 -113
- package/schema/v2.0/SetVariablesResponse_v1p0.json +0 -126
- package/schema/v2.0/SignCertificateRequest_v1p0.json +0 -24
- package/schema/v2.0/SignCertificateResponse_v1p0.json +0 -20
- package/schema/v2.0/StatusNotificationRequest_v1p0.json +0 -36
- package/schema/v2.0/StatusNotificationResponse_v1p0.json +0 -7
- package/schema/v2.0/TransactionEventRequest_v1p0.json +0 -415
- package/schema/v2.0/TransactionEventResponse_v1p0.json +0 -136
- package/schema/v2.0/TriggerMessageRequest_v1p0.json +0 -51
- package/schema/v2.0/TriggerMessageResponse_v1p0.json +0 -21
- package/schema/v2.0/UnlockConnectorRequest_v1p0.json +0 -19
- package/schema/v2.0/UnlockConnectorResponse_v1p0.json +0 -20
- package/schema/v2.0/UnpublishFirmwareRequest_v1p0.json +0 -16
- package/schema/v2.0/UnpublishFirmwareResponse_v1p0.json +0 -21
- package/schema/v2.0/Update15118EVCertificateRequest_v1p0.json +0 -21
- package/schema/v2.0/Update15118EVCertificateResponse_v1p0.json +0 -24
- package/schema/v2.0/UpdateFirmwareRequest_v1p0.json +0 -58
- package/schema/v2.0/UpdateFirmwareResponse_v1p0.json +0 -21
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
3
|
+
"$id": "urn:OCPP:Cp:2:2020:3:HeartbeatResponse",
|
|
4
|
+
"comment": "OCPP 2.0.1 FINAL",
|
|
5
|
+
"definitions": {
|
|
6
|
+
"CustomDataType": {
|
|
7
|
+
"description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
|
|
8
|
+
"javaType": "CustomData",
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"vendorId": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"maxLength": 255
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"vendorId"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"type": "object",
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"properties": {
|
|
24
|
+
"customData": {
|
|
25
|
+
"$ref": "#/definitions/CustomDataType"
|
|
26
|
+
},
|
|
27
|
+
"currentTime": {
|
|
28
|
+
"description": "Contains the current time of the CSMS.\r\n",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": "date-time"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": [
|
|
34
|
+
"currentTime"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
3
|
+
"$id": "urn:OCPP:Cp:2:2020:3:InstallCertificateRequest",
|
|
4
|
+
"comment": "OCPP 2.0.1 FINAL",
|
|
5
|
+
"definitions": {
|
|
6
|
+
"CustomDataType": {
|
|
7
|
+
"description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
|
|
8
|
+
"javaType": "CustomData",
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"vendorId": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"maxLength": 255
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"vendorId"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"InstallCertificateUseEnumType": {
|
|
21
|
+
"description": "Indicates the certificate type that is sent.\r\n",
|
|
22
|
+
"javaType": "InstallCertificateUseEnum",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"enum": [
|
|
26
|
+
"V2GRootCertificate",
|
|
27
|
+
"MORootCertificate",
|
|
28
|
+
"CSMSRootCertificate",
|
|
29
|
+
"ManufacturerRootCertificate"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"type": "object",
|
|
34
|
+
"additionalProperties": false,
|
|
35
|
+
"properties": {
|
|
36
|
+
"customData": {
|
|
37
|
+
"$ref": "#/definitions/CustomDataType"
|
|
38
|
+
},
|
|
39
|
+
"certificateType": {
|
|
40
|
+
"$ref": "#/definitions/InstallCertificateUseEnumType"
|
|
41
|
+
},
|
|
42
|
+
"certificate": {
|
|
43
|
+
"description": "A PEM encoded X.509 certificate.\r\n",
|
|
44
|
+
"type": "string",
|
|
45
|
+
"maxLength": 5500
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": [
|
|
49
|
+
"certificateType",
|
|
50
|
+
"certificate"
|
|
51
|
+
]
|
|
52
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
3
|
+
"$id": "urn:OCPP:Cp:2:2020:3:InstallCertificateResponse",
|
|
4
|
+
"comment": "OCPP 2.0.1 FINAL",
|
|
5
|
+
"definitions": {
|
|
6
|
+
"CustomDataType": {
|
|
7
|
+
"description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
|
|
8
|
+
"javaType": "CustomData",
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"vendorId": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"maxLength": 255
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"vendorId"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"InstallCertificateStatusEnumType": {
|
|
21
|
+
"description": "Charging Station indicates if installation was successful.\r\n",
|
|
22
|
+
"javaType": "InstallCertificateStatusEnum",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"enum": [
|
|
26
|
+
"Accepted",
|
|
27
|
+
"Rejected",
|
|
28
|
+
"Failed"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"StatusInfoType": {
|
|
32
|
+
"description": "Element providing more information about the status.\r\n",
|
|
33
|
+
"javaType": "StatusInfo",
|
|
34
|
+
"type": "object",
|
|
35
|
+
"additionalProperties": false,
|
|
36
|
+
"properties": {
|
|
37
|
+
"customData": {
|
|
38
|
+
"$ref": "#/definitions/CustomDataType"
|
|
39
|
+
},
|
|
40
|
+
"reasonCode": {
|
|
41
|
+
"description": "A predefined code for the reason why the status is returned in this response. The string is case-insensitive.\r\n",
|
|
42
|
+
"type": "string",
|
|
43
|
+
"maxLength": 20
|
|
44
|
+
},
|
|
45
|
+
"additionalInfo": {
|
|
46
|
+
"description": "Additional text to provide detailed information.\r\n",
|
|
47
|
+
"type": "string",
|
|
48
|
+
"maxLength": 512
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"required": [
|
|
52
|
+
"reasonCode"
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"type": "object",
|
|
57
|
+
"additionalProperties": false,
|
|
58
|
+
"properties": {
|
|
59
|
+
"customData": {
|
|
60
|
+
"$ref": "#/definitions/CustomDataType"
|
|
61
|
+
},
|
|
62
|
+
"status": {
|
|
63
|
+
"$ref": "#/definitions/InstallCertificateStatusEnumType"
|
|
64
|
+
},
|
|
65
|
+
"statusInfo": {
|
|
66
|
+
"$ref": "#/definitions/StatusInfoType"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"required": [
|
|
70
|
+
"status"
|
|
71
|
+
]
|
|
72
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
3
|
+
"$id": "urn:OCPP:Cp:2:2020:3:LogStatusNotificationRequest",
|
|
4
|
+
"comment": "OCPP 2.0.1 FINAL",
|
|
5
|
+
"definitions": {
|
|
6
|
+
"CustomDataType": {
|
|
7
|
+
"description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
|
|
8
|
+
"javaType": "CustomData",
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"vendorId": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"maxLength": 255
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"vendorId"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"UploadLogStatusEnumType": {
|
|
21
|
+
"description": "This contains the status of the log upload.\r\n",
|
|
22
|
+
"javaType": "UploadLogStatusEnum",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"enum": [
|
|
26
|
+
"BadMessage",
|
|
27
|
+
"Idle",
|
|
28
|
+
"NotSupportedOperation",
|
|
29
|
+
"PermissionDenied",
|
|
30
|
+
"Uploaded",
|
|
31
|
+
"UploadFailure",
|
|
32
|
+
"Uploading",
|
|
33
|
+
"AcceptedCanceled"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"properties": {
|
|
40
|
+
"customData": {
|
|
41
|
+
"$ref": "#/definitions/CustomDataType"
|
|
42
|
+
},
|
|
43
|
+
"status": {
|
|
44
|
+
"$ref": "#/definitions/UploadLogStatusEnumType"
|
|
45
|
+
},
|
|
46
|
+
"requestId": {
|
|
47
|
+
"description": "The request id that was provided in GetLogRequest that started this log upload. This field is mandatory,\r\nunless the message was triggered by a TriggerMessageRequest AND there is no log upload ongoing.\r\n",
|
|
48
|
+
"type": "integer"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"required": [
|
|
52
|
+
"status"
|
|
53
|
+
]
|
|
54
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
3
|
+
"$id": "urn:OCPP:Cp:2:2020:3:LogStatusNotificationResponse",
|
|
4
|
+
"comment": "OCPP 2.0.1 FINAL",
|
|
5
|
+
"definitions": {
|
|
6
|
+
"CustomDataType": {
|
|
7
|
+
"description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
|
|
8
|
+
"javaType": "CustomData",
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"vendorId": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"maxLength": 255
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"vendorId"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"type": "object",
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"properties": {
|
|
24
|
+
"customData": {
|
|
25
|
+
"$ref": "#/definitions/CustomDataType"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
3
|
+
"$id": "urn:OCPP:Cp:2:2020:3:MeterValuesRequest",
|
|
4
|
+
"description": "Request_ Body\r\nurn:x-enexis:ecdm:uid:2:234744\r\n",
|
|
5
|
+
"comment": "OCPP 2.0.1 FINAL",
|
|
6
|
+
"definitions": {
|
|
7
|
+
"CustomDataType": {
|
|
8
|
+
"description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
|
|
9
|
+
"javaType": "CustomData",
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"vendorId": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"maxLength": 255
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"required": [
|
|
18
|
+
"vendorId"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"LocationEnumType": {
|
|
22
|
+
"description": "Sampled_ Value. Location. Location_ Code\r\nurn:x-oca:ocpp:uid:1:569265\r\nIndicates where the measured value has been sampled. Default = \"Outlet\"\r\n\r\n",
|
|
23
|
+
"javaType": "LocationEnum",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"default": "Outlet",
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"enum": [
|
|
28
|
+
"Body",
|
|
29
|
+
"Cable",
|
|
30
|
+
"EV",
|
|
31
|
+
"Inlet",
|
|
32
|
+
"Outlet"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"MeasurandEnumType": {
|
|
36
|
+
"description": "Sampled_ Value. Measurand. Measurand_ Code\r\nurn:x-oca:ocpp:uid:1:569263\r\nType of measurement. Default = \"Energy.Active.Import.Register\"\r\n",
|
|
37
|
+
"javaType": "MeasurandEnum",
|
|
38
|
+
"type": "string",
|
|
39
|
+
"default": "Energy.Active.Import.Register",
|
|
40
|
+
"additionalProperties": false,
|
|
41
|
+
"enum": [
|
|
42
|
+
"Current.Export",
|
|
43
|
+
"Current.Import",
|
|
44
|
+
"Current.Offered",
|
|
45
|
+
"Energy.Active.Export.Register",
|
|
46
|
+
"Energy.Active.Import.Register",
|
|
47
|
+
"Energy.Reactive.Export.Register",
|
|
48
|
+
"Energy.Reactive.Import.Register",
|
|
49
|
+
"Energy.Active.Export.Interval",
|
|
50
|
+
"Energy.Active.Import.Interval",
|
|
51
|
+
"Energy.Active.Net",
|
|
52
|
+
"Energy.Reactive.Export.Interval",
|
|
53
|
+
"Energy.Reactive.Import.Interval",
|
|
54
|
+
"Energy.Reactive.Net",
|
|
55
|
+
"Energy.Apparent.Net",
|
|
56
|
+
"Energy.Apparent.Import",
|
|
57
|
+
"Energy.Apparent.Export",
|
|
58
|
+
"Frequency",
|
|
59
|
+
"Power.Active.Export",
|
|
60
|
+
"Power.Active.Import",
|
|
61
|
+
"Power.Factor",
|
|
62
|
+
"Power.Offered",
|
|
63
|
+
"Power.Reactive.Export",
|
|
64
|
+
"Power.Reactive.Import",
|
|
65
|
+
"SoC",
|
|
66
|
+
"Voltage"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"PhaseEnumType": {
|
|
70
|
+
"description": "Sampled_ Value. Phase. Phase_ Code\r\nurn:x-oca:ocpp:uid:1:569264\r\nIndicates how the measured value is to be interpreted. For instance between L1 and neutral (L1-N) Please note that not all values of phase are applicable to all Measurands. When phase is absent, the measured value is interpreted as an overall value.\r\n",
|
|
71
|
+
"javaType": "PhaseEnum",
|
|
72
|
+
"type": "string",
|
|
73
|
+
"additionalProperties": false,
|
|
74
|
+
"enum": [
|
|
75
|
+
"L1",
|
|
76
|
+
"L2",
|
|
77
|
+
"L3",
|
|
78
|
+
"N",
|
|
79
|
+
"L1-N",
|
|
80
|
+
"L2-N",
|
|
81
|
+
"L3-N",
|
|
82
|
+
"L1-L2",
|
|
83
|
+
"L2-L3",
|
|
84
|
+
"L3-L1"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"ReadingContextEnumType": {
|
|
88
|
+
"description": "Sampled_ Value. Context. Reading_ Context_ Code\r\nurn:x-oca:ocpp:uid:1:569261\r\nType of detail value: start, end or sample. Default = \"Sample.Periodic\"\r\n",
|
|
89
|
+
"javaType": "ReadingContextEnum",
|
|
90
|
+
"type": "string",
|
|
91
|
+
"default": "Sample.Periodic",
|
|
92
|
+
"additionalProperties": false,
|
|
93
|
+
"enum": [
|
|
94
|
+
"Interruption.Begin",
|
|
95
|
+
"Interruption.End",
|
|
96
|
+
"Other",
|
|
97
|
+
"Sample.Clock",
|
|
98
|
+
"Sample.Periodic",
|
|
99
|
+
"Transaction.Begin",
|
|
100
|
+
"Transaction.End",
|
|
101
|
+
"Trigger"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"MeterValueType": {
|
|
105
|
+
"description": "Meter_ Value\r\nurn:x-oca:ocpp:uid:2:233265\r\nCollection of one or more sampled values in MeterValuesRequest and TransactionEvent. All sampled values in a MeterValue are sampled at the same point in time.\r\n",
|
|
106
|
+
"javaType": "MeterValue",
|
|
107
|
+
"type": "object",
|
|
108
|
+
"additionalProperties": false,
|
|
109
|
+
"properties": {
|
|
110
|
+
"customData": {
|
|
111
|
+
"$ref": "#/definitions/CustomDataType"
|
|
112
|
+
},
|
|
113
|
+
"sampledValue": {
|
|
114
|
+
"type": "array",
|
|
115
|
+
"additionalItems": false,
|
|
116
|
+
"items": {
|
|
117
|
+
"$ref": "#/definitions/SampledValueType"
|
|
118
|
+
},
|
|
119
|
+
"minItems": 1
|
|
120
|
+
},
|
|
121
|
+
"timestamp": {
|
|
122
|
+
"description": "Meter_ Value. Timestamp. Date_ Time\r\nurn:x-oca:ocpp:uid:1:569259\r\nTimestamp for measured value(s).\r\n",
|
|
123
|
+
"type": "string",
|
|
124
|
+
"format": "date-time"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"required": [
|
|
128
|
+
"timestamp",
|
|
129
|
+
"sampledValue"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
"SampledValueType": {
|
|
133
|
+
"description": "Sampled_ Value\r\nurn:x-oca:ocpp:uid:2:233266\r\nSingle sampled value in MeterValues. Each value can be accompanied by optional fields.\r\n\r\nTo save on mobile data usage, default values of all of the optional fields are such that. The value without any additional fields will be interpreted, as a register reading of active import energy in Wh (Watt-hour) units.\r\n",
|
|
134
|
+
"javaType": "SampledValue",
|
|
135
|
+
"type": "object",
|
|
136
|
+
"additionalProperties": false,
|
|
137
|
+
"properties": {
|
|
138
|
+
"customData": {
|
|
139
|
+
"$ref": "#/definitions/CustomDataType"
|
|
140
|
+
},
|
|
141
|
+
"value": {
|
|
142
|
+
"description": "Sampled_ Value. Value. Measure\r\nurn:x-oca:ocpp:uid:1:569260\r\nIndicates the measured value.\r\n\r\n",
|
|
143
|
+
"type": "number"
|
|
144
|
+
},
|
|
145
|
+
"context": {
|
|
146
|
+
"$ref": "#/definitions/ReadingContextEnumType"
|
|
147
|
+
},
|
|
148
|
+
"measurand": {
|
|
149
|
+
"$ref": "#/definitions/MeasurandEnumType"
|
|
150
|
+
},
|
|
151
|
+
"phase": {
|
|
152
|
+
"$ref": "#/definitions/PhaseEnumType"
|
|
153
|
+
},
|
|
154
|
+
"location": {
|
|
155
|
+
"$ref": "#/definitions/LocationEnumType"
|
|
156
|
+
},
|
|
157
|
+
"signedMeterValue": {
|
|
158
|
+
"$ref": "#/definitions/SignedMeterValueType"
|
|
159
|
+
},
|
|
160
|
+
"unitOfMeasure": {
|
|
161
|
+
"$ref": "#/definitions/UnitOfMeasureType"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"required": [
|
|
165
|
+
"value"
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
"SignedMeterValueType": {
|
|
169
|
+
"description": "Represent a signed version of the meter value.\r\n",
|
|
170
|
+
"javaType": "SignedMeterValue",
|
|
171
|
+
"type": "object",
|
|
172
|
+
"additionalProperties": false,
|
|
173
|
+
"properties": {
|
|
174
|
+
"customData": {
|
|
175
|
+
"$ref": "#/definitions/CustomDataType"
|
|
176
|
+
},
|
|
177
|
+
"signedMeterData": {
|
|
178
|
+
"description": "Base64 encoded, contains the signed data which might contain more then just the meter value. It can contain information like timestamps, reference to a customer etc.\r\n",
|
|
179
|
+
"type": "string",
|
|
180
|
+
"maxLength": 2500
|
|
181
|
+
},
|
|
182
|
+
"signingMethod": {
|
|
183
|
+
"description": "Method used to create the digital signature.\r\n",
|
|
184
|
+
"type": "string",
|
|
185
|
+
"maxLength": 50
|
|
186
|
+
},
|
|
187
|
+
"encodingMethod": {
|
|
188
|
+
"description": "Method used to encode the meter values before applying the digital signature algorithm.\r\n",
|
|
189
|
+
"type": "string",
|
|
190
|
+
"maxLength": 50
|
|
191
|
+
},
|
|
192
|
+
"publicKey": {
|
|
193
|
+
"description": "Base64 encoded, sending depends on configuration variable _PublicKeyWithSignedMeterValue_.\r\n",
|
|
194
|
+
"type": "string",
|
|
195
|
+
"maxLength": 2500
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"required": [
|
|
199
|
+
"signedMeterData",
|
|
200
|
+
"signingMethod",
|
|
201
|
+
"encodingMethod",
|
|
202
|
+
"publicKey"
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
"UnitOfMeasureType": {
|
|
206
|
+
"description": "Represents a UnitOfMeasure with a multiplier\r\n",
|
|
207
|
+
"javaType": "UnitOfMeasure",
|
|
208
|
+
"type": "object",
|
|
209
|
+
"additionalProperties": false,
|
|
210
|
+
"properties": {
|
|
211
|
+
"customData": {
|
|
212
|
+
"$ref": "#/definitions/CustomDataType"
|
|
213
|
+
},
|
|
214
|
+
"unit": {
|
|
215
|
+
"description": "Unit of the value. Default = \"Wh\" if the (default) measurand is an \"Energy\" type.\r\nThis field SHALL use a value from the list Standardized Units of Measurements in Part 2 Appendices. \r\nIf an applicable unit is available in that list, otherwise a \"custom\" unit might be used.\r\n",
|
|
216
|
+
"type": "string",
|
|
217
|
+
"default": "Wh",
|
|
218
|
+
"maxLength": 20
|
|
219
|
+
},
|
|
220
|
+
"multiplier": {
|
|
221
|
+
"description": "Multiplier, this value represents the exponent to base 10. I.e. multiplier 3 means 10 raised to the 3rd power. Default is 0.\r\n",
|
|
222
|
+
"type": "integer",
|
|
223
|
+
"default": 0
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"type": "object",
|
|
229
|
+
"additionalProperties": false,
|
|
230
|
+
"properties": {
|
|
231
|
+
"customData": {
|
|
232
|
+
"$ref": "#/definitions/CustomDataType"
|
|
233
|
+
},
|
|
234
|
+
"evseId": {
|
|
235
|
+
"description": "Request_ Body. EVSEID. Numeric_ Identifier\r\nurn:x-enexis:ecdm:uid:1:571101\r\nThis contains a number (>0) designating an EVSE of the Charging Station. ‘0’ (zero) is used to designate the main power meter.\r\n",
|
|
236
|
+
"type": "integer"
|
|
237
|
+
},
|
|
238
|
+
"meterValue": {
|
|
239
|
+
"type": "array",
|
|
240
|
+
"additionalItems": false,
|
|
241
|
+
"items": {
|
|
242
|
+
"$ref": "#/definitions/MeterValueType"
|
|
243
|
+
},
|
|
244
|
+
"minItems": 1
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"required": [
|
|
248
|
+
"evseId",
|
|
249
|
+
"meterValue"
|
|
250
|
+
]
|
|
251
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
3
|
+
"$id": "urn:OCPP:Cp:2:2020:3:MeterValuesResponse",
|
|
4
|
+
"comment": "OCPP 2.0.1 FINAL",
|
|
5
|
+
"definitions": {
|
|
6
|
+
"CustomDataType": {
|
|
7
|
+
"description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
|
|
8
|
+
"javaType": "CustomData",
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"vendorId": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"maxLength": 255
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"vendorId"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"type": "object",
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"properties": {
|
|
24
|
+
"customData": {
|
|
25
|
+
"$ref": "#/definitions/CustomDataType"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|