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.
Files changed (394) hide show
  1. package/compile.js +41 -0
  2. package/package.json +5 -3
  3. package/schema/v2.0/AuthorizeRequest.json +171 -0
  4. package/schema/v2.0/AuthorizeResponse.json +233 -0
  5. package/schema/v2.0/BootNotificationRequest.json +114 -0
  6. package/schema/v2.0/BootNotificationResponse.json +83 -0
  7. package/schema/v2.0/CancelReservationRequest.json +35 -0
  8. package/schema/v2.0/CancelReservationResponse.json +71 -0
  9. package/schema/v2.0/CertificateSignedRequest.json +49 -0
  10. package/schema/v2.0/CertificateSignedResponse.json +71 -0
  11. package/schema/v2.0/ChangeAvailabilityRequest.json +69 -0
  12. package/schema/v2.0/ChangeAvailabilityResponse.json +72 -0
  13. package/schema/v2.0/ClearCacheRequest.json +28 -0
  14. package/schema/v2.0/ClearCacheResponse.json +71 -0
  15. package/schema/v2.0/ClearChargingProfileRequest.json +69 -0
  16. package/schema/v2.0/ClearChargingProfileResponse.json +71 -0
  17. package/schema/v2.0/ClearDisplayMessageRequest.json +35 -0
  18. package/schema/v2.0/ClearDisplayMessageResponse.json +71 -0
  19. package/schema/v2.0/ClearVariableMonitoringRequest.json +40 -0
  20. package/schema/v2.0/ClearVariableMonitoringResponse.json +98 -0
  21. package/schema/v2.0/ClearedChargingLimitRequest.json +50 -0
  22. package/schema/v2.0/ClearedChargingLimitResponse.json +28 -0
  23. package/schema/v2.0/CostUpdatedRequest.json +41 -0
  24. package/schema/v2.0/CostUpdatedResponse.json +28 -0
  25. package/schema/v2.0/CustomerInformationRequest.json +173 -0
  26. package/schema/v2.0/CustomerInformationResponse.json +72 -0
  27. package/schema/v2.0/DataTransferRequest.json +44 -0
  28. package/schema/v2.0/DataTransferResponse.json +76 -0
  29. package/schema/v2.0/DeleteCertificateRequest.json +79 -0
  30. package/schema/v2.0/DeleteCertificateResponse.json +72 -0
  31. package/schema/v2.0/FirmwareStatusNotificationRequest.json +60 -0
  32. package/schema/v2.0/FirmwareStatusNotificationResponse.json +28 -0
  33. package/schema/v2.0/Get15118EVCertificateRequest.json +56 -0
  34. package/schema/v2.0/Get15118EVCertificateResponse.json +77 -0
  35. package/schema/v2.0/GetBaseReportRequest.json +50 -0
  36. package/schema/v2.0/GetBaseReportResponse.json +73 -0
  37. package/schema/v2.0/GetCertificateStatusRequest.json +85 -0
  38. package/schema/v2.0/GetCertificateStatusResponse.json +76 -0
  39. package/schema/v2.0/GetChargingProfilesRequest.json +103 -0
  40. package/schema/v2.0/GetChargingProfilesResponse.json +71 -0
  41. package/schema/v2.0/GetCompositeScheduleRequest.json +53 -0
  42. package/schema/v2.0/GetCompositeScheduleResponse.json +157 -0
  43. package/schema/v2.0/GetDisplayMessagesRequest.json +73 -0
  44. package/schema/v2.0/GetDisplayMessagesResponse.json +71 -0
  45. package/schema/v2.0/GetInstalledCertificateIdsRequest.json +49 -0
  46. package/schema/v2.0/GetInstalledCertificateIdsResponse.json +166 -0
  47. package/schema/v2.0/GetLocalListVersionRequest.json +28 -0
  48. package/schema/v2.0/GetLocalListVersionResponse.json +35 -0
  49. package/schema/v2.0/GetLogRequest.json +90 -0
  50. package/schema/v2.0/GetLogResponse.json +77 -0
  51. package/schema/v2.0/GetMonitoringReportRequest.json +156 -0
  52. package/schema/v2.0/GetMonitoringReportResponse.json +73 -0
  53. package/schema/v2.0/GetReportRequest.json +157 -0
  54. package/schema/v2.0/GetReportResponse.json +73 -0
  55. package/schema/v2.0/GetTransactionStatusRequest.json +33 -0
  56. package/schema/v2.0/GetTransactionStatusResponse.json +39 -0
  57. package/schema/v2.0/GetVariablesRequest.json +149 -0
  58. package/schema/v2.0/GetVariablesResponse.json +198 -0
  59. package/schema/v2.0/HeartbeatRequest.json +28 -0
  60. package/schema/v2.0/HeartbeatResponse.json +36 -0
  61. package/schema/v2.0/InstallCertificateRequest.json +52 -0
  62. package/schema/v2.0/InstallCertificateResponse.json +72 -0
  63. package/schema/v2.0/LogStatusNotificationRequest.json +54 -0
  64. package/schema/v2.0/LogStatusNotificationResponse.json +28 -0
  65. package/schema/v2.0/MeterValuesRequest.json +251 -0
  66. package/schema/v2.0/MeterValuesResponse.json +28 -0
  67. package/schema/v2.0/NotifyChargingLimitRequest.json +323 -0
  68. package/schema/v2.0/NotifyChargingLimitResponse.json +28 -0
  69. package/schema/v2.0/NotifyCustomerInformationRequest.json +57 -0
  70. package/schema/v2.0/NotifyCustomerInformationResponse.json +28 -0
  71. package/schema/v2.0/NotifyDisplayMessagesRequest.json +207 -0
  72. package/schema/v2.0/NotifyDisplayMessagesResponse.json +28 -0
  73. package/schema/v2.0/NotifyEVChargingNeedsRequest.json +169 -0
  74. package/schema/v2.0/NotifyEVChargingNeedsResponse.json +72 -0
  75. package/schema/v2.0/NotifyEVChargingScheduleRequest.json +289 -0
  76. package/schema/v2.0/NotifyEVChargingScheduleResponse.json +71 -0
  77. package/schema/v2.0/NotifyEventRequest.json +224 -0
  78. package/schema/v2.0/NotifyEventResponse.json +28 -0
  79. package/schema/v2.0/NotifyMonitoringReportRequest.json +212 -0
  80. package/schema/v2.0/NotifyMonitoringReportResponse.json +28 -0
  81. package/schema/v2.0/NotifyReportRequest.json +279 -0
  82. package/schema/v2.0/NotifyReportResponse.json +28 -0
  83. package/schema/v2.0/PublishFirmwareRequest.json +55 -0
  84. package/schema/v2.0/PublishFirmwareResponse.json +71 -0
  85. package/schema/v2.0/PublishFirmwareStatusNotificationRequest.json +66 -0
  86. package/schema/v2.0/PublishFirmwareStatusNotificationResponse.json +28 -0
  87. package/schema/v2.0/ReportChargingProfilesRequest.json +406 -0
  88. package/schema/v2.0/ReportChargingProfilesResponse.json +28 -0
  89. package/schema/v2.0/RequestStartTransactionRequest.json +457 -0
  90. package/schema/v2.0/RequestStartTransactionResponse.json +76 -0
  91. package/schema/v2.0/RequestStopTransactionRequest.json +36 -0
  92. package/schema/v2.0/RequestStopTransactionResponse.json +71 -0
  93. package/schema/v2.0/ReservationStatusUpdateRequest.json +49 -0
  94. package/schema/v2.0/ReservationStatusUpdateResponse.json +28 -0
  95. package/schema/v2.0/ReserveNowRequest.json +157 -0
  96. package/schema/v2.0/ReserveNowResponse.json +74 -0
  97. package/schema/v2.0/ResetRequest.json +48 -0
  98. package/schema/v2.0/ResetResponse.json +72 -0
  99. package/schema/v2.0/SecurityEventNotificationRequest.json +47 -0
  100. package/schema/v2.0/SecurityEventNotificationResponse.json +28 -0
  101. package/schema/v2.0/SendLocalListRequest.json +258 -0
  102. package/schema/v2.0/SendLocalListResponse.json +72 -0
  103. package/schema/v2.0/SetChargingProfileRequest.json +375 -0
  104. package/schema/v2.0/SetChargingProfileResponse.json +71 -0
  105. package/schema/v2.0/SetDisplayMessageRequest.json +193 -0
  106. package/schema/v2.0/SetDisplayMessageResponse.json +75 -0
  107. package/schema/v2.0/SetMonitoringBaseRequest.json +45 -0
  108. package/schema/v2.0/SetMonitoringBaseResponse.json +73 -0
  109. package/schema/v2.0/SetMonitoringLevelRequest.json +35 -0
  110. package/schema/v2.0/SetMonitoringLevelResponse.json +71 -0
  111. package/schema/v2.0/SetNetworkProfileRequest.json +241 -0
  112. package/schema/v2.0/SetNetworkProfileResponse.json +72 -0
  113. package/schema/v2.0/SetVariableMonitoringRequest.json +169 -0
  114. package/schema/v2.0/SetVariableMonitoringResponse.json +204 -0
  115. package/schema/v2.0/SetVariablesRequest.json +154 -0
  116. package/schema/v2.0/SetVariablesResponse.json +193 -0
  117. package/schema/v2.0/SignCertificateRequest.json +49 -0
  118. package/schema/v2.0/SignCertificateResponse.json +71 -0
  119. package/schema/v2.0/StatusNotificationRequest.json +63 -0
  120. package/schema/v2.0/StatusNotificationResponse.json +28 -0
  121. package/schema/v2.0/TransactionEventRequest.json +497 -0
  122. package/schema/v2.0/TransactionEventResponse.json +223 -0
  123. package/schema/v2.0/TriggerMessageRequest.json +78 -0
  124. package/schema/v2.0/TriggerMessageResponse.json +72 -0
  125. package/schema/v2.0/UnlockConnectorRequest.json +40 -0
  126. package/schema/v2.0/UnlockConnectorResponse.json +73 -0
  127. package/schema/v2.0/UnpublishFirmwareRequest.json +36 -0
  128. package/schema/v2.0/UnpublishFirmwareResponse.json +45 -0
  129. package/schema/v2.0/UpdateFirmwareRequest.json +87 -0
  130. package/schema/v2.0/UpdateFirmwareResponse.json +74 -0
  131. package/v1.6/MeterValues.d.ts +51 -71
  132. package/v2.0/AuthorizeRequest.d.ts +2 -2
  133. package/v2.0/AuthorizeResponse.d.ts +2 -2
  134. package/v2.0/BootNotificationRequest.d.ts +2 -2
  135. package/v2.0/BootNotificationResponse.d.ts +2 -2
  136. package/v2.0/CancelReservationRequest.d.ts +2 -2
  137. package/v2.0/CancelReservationResponse.d.ts +2 -2
  138. package/v2.0/CertificateSignedRequest.d.ts +2 -2
  139. package/v2.0/CertificateSignedResponse.d.ts +2 -2
  140. package/v2.0/ChangeAvailabilityRequest.d.ts +2 -2
  141. package/v2.0/ChangeAvailabilityResponse.d.ts +2 -2
  142. package/v2.0/ClearCacheRequest.d.ts +2 -2
  143. package/v2.0/ClearCacheResponse.d.ts +2 -2
  144. package/v2.0/ClearChargingProfileRequest.d.ts +2 -2
  145. package/v2.0/ClearChargingProfileResponse.d.ts +2 -2
  146. package/v2.0/ClearDisplayMessageRequest.d.ts +2 -2
  147. package/v2.0/ClearDisplayMessageResponse.d.ts +2 -2
  148. package/v2.0/ClearVariableMonitoringRequest.d.ts +2 -2
  149. package/v2.0/ClearVariableMonitoringResponse.d.ts +2 -2
  150. package/v2.0/ClearedChargingLimitRequest.d.ts +2 -2
  151. package/v2.0/ClearedChargingLimitResponse.d.ts +2 -2
  152. package/v2.0/CostUpdatedRequest.d.ts +2 -2
  153. package/v2.0/CostUpdatedResponse.d.ts +2 -2
  154. package/v2.0/CustomerInformationRequest.d.ts +2 -2
  155. package/v2.0/CustomerInformationResponse.d.ts +2 -2
  156. package/v2.0/DataTransferRequest.d.ts +2 -2
  157. package/v2.0/DataTransferResponse.d.ts +2 -2
  158. package/v2.0/DeleteCertificateRequest.d.ts +2 -2
  159. package/v2.0/DeleteCertificateResponse.d.ts +2 -2
  160. package/v2.0/FirmwareStatusNotificationRequest.d.ts +2 -2
  161. package/v2.0/FirmwareStatusNotificationResponse.d.ts +2 -2
  162. package/v2.0/Get15118EVCertificateRequest.d.ts +2 -2
  163. package/v2.0/Get15118EVCertificateResponse.d.ts +2 -2
  164. package/v2.0/GetBaseReportRequest.d.ts +2 -2
  165. package/v2.0/GetBaseReportResponse.d.ts +2 -2
  166. package/v2.0/GetCertificateStatusRequest.d.ts +2 -2
  167. package/v2.0/GetCertificateStatusResponse.d.ts +2 -2
  168. package/v2.0/GetChargingProfilesRequest.d.ts +2 -2
  169. package/v2.0/GetChargingProfilesResponse.d.ts +2 -2
  170. package/v2.0/GetCompositeScheduleRequest.d.ts +2 -2
  171. package/v2.0/GetCompositeScheduleResponse.d.ts +2 -2
  172. package/v2.0/GetDisplayMessagesRequest.d.ts +2 -2
  173. package/v2.0/GetDisplayMessagesResponse.d.ts +2 -2
  174. package/v2.0/GetInstalledCertificateIdsRequest.d.ts +2 -2
  175. package/v2.0/GetInstalledCertificateIdsResponse.d.ts +2 -2
  176. package/v2.0/GetLocalListVersionRequest.d.ts +2 -2
  177. package/v2.0/GetLocalListVersionResponse.d.ts +2 -2
  178. package/v2.0/GetLogRequest.d.ts +2 -2
  179. package/v2.0/GetLogResponse.d.ts +2 -2
  180. package/v2.0/GetMonitoringReportRequest.d.ts +2 -2
  181. package/v2.0/GetMonitoringReportResponse.d.ts +2 -2
  182. package/v2.0/GetReportRequest.d.ts +2 -2
  183. package/v2.0/GetReportResponse.d.ts +2 -2
  184. package/v2.0/GetTransactionStatusRequest.d.ts +2 -2
  185. package/v2.0/GetTransactionStatusResponse.d.ts +2 -2
  186. package/v2.0/GetVariablesRequest.d.ts +2 -2
  187. package/v2.0/GetVariablesResponse.d.ts +2 -2
  188. package/v2.0/HeartbeatRequest.d.ts +2 -2
  189. package/v2.0/HeartbeatResponse.d.ts +2 -2
  190. package/v2.0/InstallCertificateRequest.d.ts +2 -2
  191. package/v2.0/InstallCertificateResponse.d.ts +2 -2
  192. package/v2.0/LogStatusNotificationRequest.d.ts +2 -2
  193. package/v2.0/LogStatusNotificationResponse.d.ts +2 -2
  194. package/v2.0/MeterValuesRequest.d.ts +2 -2
  195. package/v2.0/MeterValuesResponse.d.ts +2 -2
  196. package/v2.0/NotifyChargingLimitRequest.d.ts +2 -2
  197. package/v2.0/NotifyChargingLimitResponse.d.ts +2 -2
  198. package/v2.0/NotifyCustomerInformationRequest.d.ts +2 -2
  199. package/v2.0/NotifyCustomerInformationResponse.d.ts +2 -2
  200. package/v2.0/NotifyDisplayMessagesRequest.d.ts +2 -2
  201. package/v2.0/NotifyDisplayMessagesResponse.d.ts +2 -2
  202. package/v2.0/NotifyEVChargingNeedsRequest.d.ts +2 -2
  203. package/v2.0/NotifyEVChargingNeedsResponse.d.ts +2 -2
  204. package/v2.0/NotifyEVChargingScheduleRequest.d.ts +2 -2
  205. package/v2.0/NotifyEVChargingScheduleResponse.d.ts +2 -2
  206. package/v2.0/NotifyEventRequest.d.ts +2 -2
  207. package/v2.0/NotifyEventResponse.d.ts +2 -2
  208. package/v2.0/NotifyMonitoringReportRequest.d.ts +2 -2
  209. package/v2.0/NotifyMonitoringReportResponse.d.ts +2 -2
  210. package/v2.0/NotifyReportRequest.d.ts +2 -2
  211. package/v2.0/NotifyReportResponse.d.ts +2 -2
  212. package/v2.0/PublishFirmwareRequest.d.ts +2 -2
  213. package/v2.0/PublishFirmwareResponse.d.ts +2 -2
  214. package/v2.0/PublishFirmwareStatusNotificationRequest.d.ts +2 -2
  215. package/v2.0/PublishFirmwareStatusNotificationResponse.d.ts +2 -2
  216. package/v2.0/ReportChargingProfilesRequest.d.ts +2 -2
  217. package/v2.0/ReportChargingProfilesResponse.d.ts +2 -2
  218. package/v2.0/RequestStartTransactionRequest.d.ts +2 -2
  219. package/v2.0/RequestStartTransactionResponse.d.ts +2 -2
  220. package/v2.0/RequestStopTransactionRequest.d.ts +2 -2
  221. package/v2.0/RequestStopTransactionResponse.d.ts +2 -2
  222. package/v2.0/ReservationStatusUpdateRequest.d.ts +2 -2
  223. package/v2.0/ReservationStatusUpdateResponse.d.ts +2 -2
  224. package/v2.0/ReserveNowRequest.d.ts +2 -2
  225. package/v2.0/ReserveNowResponse.d.ts +2 -2
  226. package/v2.0/ResetRequest.d.ts +2 -2
  227. package/v2.0/ResetResponse.d.ts +2 -2
  228. package/v2.0/SecurityEventNotificationRequest.d.ts +2 -2
  229. package/v2.0/SecurityEventNotificationResponse.d.ts +2 -2
  230. package/v2.0/SendLocalListRequest.d.ts +2 -2
  231. package/v2.0/SendLocalListResponse.d.ts +2 -2
  232. package/v2.0/SetChargingProfileRequest.d.ts +2 -2
  233. package/v2.0/SetChargingProfileResponse.d.ts +2 -2
  234. package/v2.0/SetDisplayMessageRequest.d.ts +2 -2
  235. package/v2.0/SetDisplayMessageResponse.d.ts +2 -2
  236. package/v2.0/SetMonitoringBaseRequest.d.ts +2 -2
  237. package/v2.0/SetMonitoringBaseResponse.d.ts +2 -2
  238. package/v2.0/SetMonitoringLevelRequest.d.ts +2 -2
  239. package/v2.0/SetMonitoringLevelResponse.d.ts +2 -2
  240. package/v2.0/SetNetworkProfileRequest.d.ts +2 -2
  241. package/v2.0/SetNetworkProfileResponse.d.ts +2 -2
  242. package/v2.0/SetVariableMonitoringRequest.d.ts +2 -2
  243. package/v2.0/SetVariableMonitoringResponse.d.ts +2 -2
  244. package/v2.0/SetVariablesRequest.d.ts +2 -2
  245. package/v2.0/SetVariablesResponse.d.ts +2 -2
  246. package/v2.0/SignCertificateRequest.d.ts +2 -2
  247. package/v2.0/SignCertificateResponse.d.ts +2 -2
  248. package/v2.0/StatusNotificationRequest.d.ts +2 -2
  249. package/v2.0/StatusNotificationResponse.d.ts +2 -2
  250. package/v2.0/TransactionEventRequest.d.ts +2 -2
  251. package/v2.0/TransactionEventResponse.d.ts +2 -2
  252. package/v2.0/TriggerMessageRequest.d.ts +2 -2
  253. package/v2.0/TriggerMessageResponse.d.ts +2 -2
  254. package/v2.0/UnlockConnectorRequest.d.ts +2 -2
  255. package/v2.0/UnlockConnectorResponse.d.ts +2 -2
  256. package/v2.0/UnpublishFirmwareRequest.d.ts +2 -2
  257. package/v2.0/UnpublishFirmwareResponse.d.ts +2 -2
  258. package/v2.0/UpdateFirmwareRequest.d.ts +2 -2
  259. package/v2.0/UpdateFirmwareResponse.d.ts +2 -2
  260. package/v2.0/index.d.ts +338 -129
  261. package/schema/v2.0/AuthorizeRequest_v1p0.json +0 -133
  262. package/schema/v2.0/AuthorizeResponse_v1p0.json +0 -154
  263. package/schema/v2.0/BootNotificationRequest_v1p0.json +0 -81
  264. package/schema/v2.0/BootNotificationResponse_v1p0.json +0 -30
  265. package/schema/v2.0/CancelReservationRequest_v1p0.json +0 -15
  266. package/schema/v2.0/CancelReservationResponse_v1p0.json +0 -20
  267. package/schema/v2.0/CertificateSignedRequest_v1p0.json +0 -29
  268. package/schema/v2.0/CertificateSignedResponse_v1p0.json +0 -20
  269. package/schema/v2.0/ChangeAvailabilityRequest_v1p0.json +0 -24
  270. package/schema/v2.0/ChangeAvailabilityResponse_v1p0.json +0 -21
  271. package/schema/v2.0/ClearCacheRequest_v1p0.json +0 -7
  272. package/schema/v2.0/ClearCacheResponse_v1p0.json +0 -20
  273. package/schema/v2.0/ClearChargingProfileRequest_v1p0.json +0 -43
  274. package/schema/v2.0/ClearChargingProfileResponse_v1p0.json +0 -20
  275. package/schema/v2.0/ClearDisplayMessageRequest_v1p0.json +0 -15
  276. package/schema/v2.0/ClearDisplayMessageResponse_v1p0.json +0 -20
  277. package/schema/v2.0/ClearVariableMonitoringRequest_v1p0.json +0 -20
  278. package/schema/v2.0/ClearVariableMonitoringResponse_v1p0.json +0 -48
  279. package/schema/v2.0/ClearedChargingLimitRequest_v1p0.json +0 -25
  280. package/schema/v2.0/ClearedChargingLimitResponse_v1p0.json +0 -7
  281. package/schema/v2.0/CostUpdatedRequest_v1p0.json +0 -20
  282. package/schema/v2.0/CostUpdatedResponse_v1p0.json +0 -7
  283. package/schema/v2.0/CustomerInformationRequest_v1p0.json +0 -130
  284. package/schema/v2.0/CustomerInformationResponse_v1p0.json +0 -21
  285. package/schema/v2.0/DataTransferRequest_v1p0.json +0 -21
  286. package/schema/v2.0/DataTransferResponse_v1p0.json +0 -23
  287. package/schema/v2.0/DeleteCertificateRequest_v1p0.json +0 -54
  288. package/schema/v2.0/DeleteCertificateResponse_v1p0.json +0 -21
  289. package/schema/v2.0/FirmwareStatusNotificationRequest_v1p0.json +0 -40
  290. package/schema/v2.0/FirmwareStatusNotificationResponse_v1p0.json +0 -7
  291. package/schema/v2.0/Get15118EVCertificateRequest_v1p0.json +0 -21
  292. package/schema/v2.0/Get15118EVCertificateResponse_v1p0.json +0 -62
  293. package/schema/v2.0/GetBaseReportRequest_v1p0.json +0 -25
  294. package/schema/v2.0/GetBaseReportResponse_v1p0.json +0 -21
  295. package/schema/v2.0/GetCertificateStatusRequest_v1p0.json +0 -58
  296. package/schema/v2.0/GetCertificateStatusResponse_v1p0.json +0 -24
  297. package/schema/v2.0/GetChargingProfilesRequest_v1p0.json +0 -73
  298. package/schema/v2.0/GetChargingProfilesResponse_v1p0.json +0 -20
  299. package/schema/v2.0/GetCompositeScheduleRequest_v1p0.json +0 -27
  300. package/schema/v2.0/GetCompositeScheduleResponse_v1p0.json +0 -108
  301. package/schema/v2.0/GetDisplayMessagesRequest_v1p0.json +0 -42
  302. package/schema/v2.0/GetDisplayMessagesResponse_v1p0.json +0 -20
  303. package/schema/v2.0/GetInstalledCertificateIdsRequest_v1p0.json +0 -24
  304. package/schema/v2.0/GetInstalledCertificateIdsResponse_v1p0.json +0 -70
  305. package/schema/v2.0/GetLocalListVersionRequest_v1p0.json +0 -7
  306. package/schema/v2.0/GetLocalListVersionResponse_v1p0.json +0 -15
  307. package/schema/v2.0/GetLogRequest_v1p0.json +0 -61
  308. package/schema/v2.0/GetLogResponse_v1p0.json +0 -25
  309. package/schema/v2.0/GetMonitoringReportRequest_v1p0.json +0 -112
  310. package/schema/v2.0/GetMonitoringReportResponse_v1p0.json +0 -21
  311. package/schema/v2.0/GetReportRequest_v1p0.json +0 -113
  312. package/schema/v2.0/GetReportResponse_v1p0.json +0 -21
  313. package/schema/v2.0/GetTransactionStatusRequest_v1p0.json +0 -13
  314. package/schema/v2.0/GetTransactionStatusResponse_v1p0.json +0 -18
  315. package/schema/v2.0/GetVariablesRequest_v1p0.json +0 -108
  316. package/schema/v2.0/GetVariablesResponse_v1p0.json +0 -127
  317. package/schema/v2.0/HeartbeatRequest_v1p0.json +0 -7
  318. package/schema/v2.0/HeartbeatResponse_v1p0.json +0 -16
  319. package/schema/v2.0/InstallCertificateRequest_v1p0.json +0 -29
  320. package/schema/v2.0/InstallCertificateResponse_v1p0.json +0 -25
  321. package/schema/v2.0/LogStatusNotificationRequest_v1p0.json +0 -29
  322. package/schema/v2.0/LogStatusNotificationResponse_v1p0.json +0 -7
  323. package/schema/v2.0/MeterValuesRequest_v1p0.json +0 -212
  324. package/schema/v2.0/MeterValuesResponse_v1p0.json +0 -7
  325. package/schema/v2.0/NotifyCentralChargingNeedsRequest_v1p0.json +0 -191
  326. package/schema/v2.0/NotifyCentralChargingNeedsResponse_v1p0.json +0 -20
  327. package/schema/v2.0/NotifyChargingLimitRequest_v1p0.json +0 -117
  328. package/schema/v2.0/NotifyChargingLimitResponse_v1p0.json +0 -7
  329. package/schema/v2.0/NotifyCustomerInformationRequest_v1p0.json +0 -32
  330. package/schema/v2.0/NotifyCustomerInformationResponse_v1p0.json +0 -7
  331. package/schema/v2.0/NotifyDisplayMessagesRequest_v1p0.json +0 -157
  332. package/schema/v2.0/NotifyDisplayMessagesResponse_v1p0.json +0 -7
  333. package/schema/v2.0/NotifyEVChargingNeedsRequest_v1p0.json +0 -125
  334. package/schema/v2.0/NotifyEVChargingNeedsResponse_v1p0.json +0 -21
  335. package/schema/v2.0/NotifyEVChargingScheduleRequest_v1p0.json +0 -88
  336. package/schema/v2.0/NotifyEVChargingScheduleResponse_v1p0.json +0 -20
  337. package/schema/v2.0/NotifyEventRequest_v1p0.json +0 -193
  338. package/schema/v2.0/NotifyEventResponse_v1p0.json +0 -7
  339. package/schema/v2.0/NotifyMonitoringReportRequest_v1p0.json +0 -160
  340. package/schema/v2.0/NotifyMonitoringReportResponse_v1p0.json +0 -7
  341. package/schema/v2.0/NotifyReportRequest_v1p0.json +0 -216
  342. package/schema/v2.0/NotifyReportResponse_v1p0.json +0 -7
  343. package/schema/v2.0/PublishFirmwareRequest_v1p0.json +0 -24
  344. package/schema/v2.0/PublishFirmwareResponse_v1p0.json +0 -20
  345. package/schema/v2.0/PublishFirmwareStatusNotificationRequest_v1p0.json +0 -36
  346. package/schema/v2.0/PublishFirmwareStatusNotificationResponse_v1p0.json +0 -7
  347. package/schema/v2.0/Renegotiate15118ScheduleRequest_v1p0.json +0 -33
  348. package/schema/v2.0/Renegotiate15118ScheduleResponse_v1p0.json +0 -20
  349. package/schema/v2.0/ReportChargingProfilesRequest_v1p0.json +0 -183
  350. package/schema/v2.0/ReportChargingProfilesResponse_v1p0.json +0 -7
  351. package/schema/v2.0/RequestStartTransactionRequest_v1p0.json +0 -222
  352. package/schema/v2.0/RequestStartTransactionResponse_v1p0.json +0 -24
  353. package/schema/v2.0/RequestStopTransactionRequest_v1p0.json +0 -16
  354. package/schema/v2.0/RequestStopTransactionResponse_v1p0.json +0 -20
  355. package/schema/v2.0/ReservationStatusUpdateRequest_v1p0.json +0 -24
  356. package/schema/v2.0/ReservationStatusUpdateResponse_v1p0.json +0 -7
  357. package/schema/v2.0/ReserveNowRequest_v1p0.json +0 -151
  358. package/schema/v2.0/ReserveNowResponse_v1p0.json +0 -23
  359. package/schema/v2.0/ResetRequest_v1p0.json +0 -20
  360. package/schema/v2.0/ResetResponse_v1p0.json +0 -21
  361. package/schema/v2.0/SecurityEventNotificationRequest_v1p0.json +0 -41
  362. package/schema/v2.0/SecurityEventNotificationResponse_v1p0.json +0 -7
  363. package/schema/v2.0/SendLocalListRequest_v1p0.json +0 -211
  364. package/schema/v2.0/SendLocalListResponse_v1p0.json +0 -21
  365. package/schema/v2.0/SetChargingProfileRequest_v1p0.json +0 -158
  366. package/schema/v2.0/SetChargingProfileResponse_v1p0.json +0 -20
  367. package/schema/v2.0/SetDisplayMessageRequest_v1p0.json +0 -144
  368. package/schema/v2.0/SetDisplayMessageResponse_v1p0.json +0 -24
  369. package/schema/v2.0/SetMonitoringBaseRequest_v1p0.json +0 -21
  370. package/schema/v2.0/SetMonitoringBaseResponse_v1p0.json +0 -21
  371. package/schema/v2.0/SetMonitoringLevelRequest_v1p0.json +0 -15
  372. package/schema/v2.0/SetMonitoringLevelResponse_v1p0.json +0 -20
  373. package/schema/v2.0/SetNetworkProfileRequest_v1p0.json +0 -182
  374. package/schema/v2.0/SetNetworkProfileResponse_v1p0.json +0 -21
  375. package/schema/v2.0/SetVariableMonitoringRequest_v1p0.json +0 -123
  376. package/schema/v2.0/SetVariableMonitoringResponse_v1p0.json +0 -133
  377. package/schema/v2.0/SetVariablesRequest_v1p0.json +0 -113
  378. package/schema/v2.0/SetVariablesResponse_v1p0.json +0 -126
  379. package/schema/v2.0/SignCertificateRequest_v1p0.json +0 -24
  380. package/schema/v2.0/SignCertificateResponse_v1p0.json +0 -20
  381. package/schema/v2.0/StatusNotificationRequest_v1p0.json +0 -36
  382. package/schema/v2.0/StatusNotificationResponse_v1p0.json +0 -7
  383. package/schema/v2.0/TransactionEventRequest_v1p0.json +0 -415
  384. package/schema/v2.0/TransactionEventResponse_v1p0.json +0 -136
  385. package/schema/v2.0/TriggerMessageRequest_v1p0.json +0 -51
  386. package/schema/v2.0/TriggerMessageResponse_v1p0.json +0 -21
  387. package/schema/v2.0/UnlockConnectorRequest_v1p0.json +0 -19
  388. package/schema/v2.0/UnlockConnectorResponse_v1p0.json +0 -20
  389. package/schema/v2.0/UnpublishFirmwareRequest_v1p0.json +0 -16
  390. package/schema/v2.0/UnpublishFirmwareResponse_v1p0.json +0 -21
  391. package/schema/v2.0/Update15118EVCertificateRequest_v1p0.json +0 -21
  392. package/schema/v2.0/Update15118EVCertificateResponse_v1p0.json +0 -24
  393. package/schema/v2.0/UpdateFirmwareRequest_v1p0.json +0 -58
  394. 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
+ }