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,223 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-06/schema#",
3
+ "$id": "urn:OCPP:Cp:2:2020:3:TransactionEventResponse",
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
+ "AuthorizationStatusEnumType": {
21
+ "description": "ID_ Token. Status. Authorization_ Status\r\nurn:x-oca:ocpp:uid:1:569372\r\nCurrent status of the ID Token.\r\n",
22
+ "javaType": "AuthorizationStatusEnum",
23
+ "type": "string",
24
+ "additionalProperties": false,
25
+ "enum": [
26
+ "Accepted",
27
+ "Blocked",
28
+ "ConcurrentTx",
29
+ "Expired",
30
+ "Invalid",
31
+ "NoCredit",
32
+ "NotAllowedTypeEVSE",
33
+ "NotAtThisLocation",
34
+ "NotAtThisTime",
35
+ "Unknown"
36
+ ]
37
+ },
38
+ "IdTokenEnumType": {
39
+ "description": "Enumeration of possible idToken types.\r\n",
40
+ "javaType": "IdTokenEnum",
41
+ "type": "string",
42
+ "additionalProperties": false,
43
+ "enum": [
44
+ "Central",
45
+ "eMAID",
46
+ "ISO14443",
47
+ "ISO15693",
48
+ "KeyCode",
49
+ "Local",
50
+ "MacAddress",
51
+ "NoAuthorization"
52
+ ]
53
+ },
54
+ "MessageFormatEnumType": {
55
+ "description": "Message_ Content. Format. Message_ Format_ Code\r\nurn:x-enexis:ecdm:uid:1:570848\r\nFormat of the message.\r\n",
56
+ "javaType": "MessageFormatEnum",
57
+ "type": "string",
58
+ "additionalProperties": false,
59
+ "enum": [
60
+ "ASCII",
61
+ "HTML",
62
+ "URI",
63
+ "UTF8"
64
+ ]
65
+ },
66
+ "AdditionalInfoType": {
67
+ "description": "Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.\r\n",
68
+ "javaType": "AdditionalInfo",
69
+ "type": "object",
70
+ "additionalProperties": false,
71
+ "properties": {
72
+ "customData": {
73
+ "$ref": "#/definitions/CustomDataType"
74
+ },
75
+ "additionalIdToken": {
76
+ "description": "This field specifies the additional IdToken.\r\n",
77
+ "type": "string",
78
+ "maxLength": 36
79
+ },
80
+ "type": {
81
+ "description": "This defines the type of the additionalIdToken. This is a custom type, so the implementation needs to be agreed upon by all involved parties.\r\n",
82
+ "type": "string",
83
+ "maxLength": 50
84
+ }
85
+ },
86
+ "required": [
87
+ "additionalIdToken",
88
+ "type"
89
+ ]
90
+ },
91
+ "IdTokenInfoType": {
92
+ "description": "ID_ Token\r\nurn:x-oca:ocpp:uid:2:233247\r\nContains status information about an identifier.\r\nIt is advised to not stop charging for a token that expires during charging, as ExpiryDate is only used for caching purposes. If ExpiryDate is not given, the status has no end date.\r\n",
93
+ "javaType": "IdTokenInfo",
94
+ "type": "object",
95
+ "additionalProperties": false,
96
+ "properties": {
97
+ "customData": {
98
+ "$ref": "#/definitions/CustomDataType"
99
+ },
100
+ "status": {
101
+ "$ref": "#/definitions/AuthorizationStatusEnumType"
102
+ },
103
+ "cacheExpiryDateTime": {
104
+ "description": "ID_ Token. Expiry. Date_ Time\r\nurn:x-oca:ocpp:uid:1:569373\r\nDate and Time after which the token must be considered invalid.\r\n",
105
+ "type": "string",
106
+ "format": "date-time"
107
+ },
108
+ "chargingPriority": {
109
+ "description": "Priority from a business point of view. Default priority is 0, The range is from -9 to 9. Higher values indicate a higher priority. The chargingPriority in <<transactioneventresponse,TransactionEventResponse>> overrules this one. \r\n",
110
+ "type": "integer"
111
+ },
112
+ "language1": {
113
+ "description": "ID_ Token. Language1. Language_ Code\r\nurn:x-oca:ocpp:uid:1:569374\r\nPreferred user interface language of identifier user. Contains a language code as defined in <<ref-RFC5646,[RFC5646]>>.\r\n\r\n",
114
+ "type": "string",
115
+ "maxLength": 8
116
+ },
117
+ "evseId": {
118
+ "description": "Only used when the IdToken is only valid for one or more specific EVSEs, not for the entire Charging Station.\r\n\r\n",
119
+ "type": "array",
120
+ "additionalItems": false,
121
+ "items": {
122
+ "type": "integer"
123
+ },
124
+ "minItems": 1
125
+ },
126
+ "groupIdToken": {
127
+ "$ref": "#/definitions/IdTokenType"
128
+ },
129
+ "language2": {
130
+ "description": "ID_ Token. Language2. Language_ Code\r\nurn:x-oca:ocpp:uid:1:569375\r\nSecond preferred user interface language of identifier user. Don’t use when language1 is omitted, has to be different from language1. Contains a language code as defined in <<ref-RFC5646,[RFC5646]>>.\r\n",
131
+ "type": "string",
132
+ "maxLength": 8
133
+ },
134
+ "personalMessage": {
135
+ "$ref": "#/definitions/MessageContentType"
136
+ }
137
+ },
138
+ "required": [
139
+ "status"
140
+ ]
141
+ },
142
+ "IdTokenType": {
143
+ "description": "Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.\r\n",
144
+ "javaType": "IdToken",
145
+ "type": "object",
146
+ "additionalProperties": false,
147
+ "properties": {
148
+ "customData": {
149
+ "$ref": "#/definitions/CustomDataType"
150
+ },
151
+ "additionalInfo": {
152
+ "type": "array",
153
+ "additionalItems": false,
154
+ "items": {
155
+ "$ref": "#/definitions/AdditionalInfoType"
156
+ },
157
+ "minItems": 1
158
+ },
159
+ "idToken": {
160
+ "description": "IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.\r\n",
161
+ "type": "string",
162
+ "maxLength": 36
163
+ },
164
+ "type": {
165
+ "$ref": "#/definitions/IdTokenEnumType"
166
+ }
167
+ },
168
+ "required": [
169
+ "idToken",
170
+ "type"
171
+ ]
172
+ },
173
+ "MessageContentType": {
174
+ "description": "Message_ Content\r\nurn:x-enexis:ecdm:uid:2:234490\r\nContains message details, for a message to be displayed on a Charging Station.\r\n\r\n",
175
+ "javaType": "MessageContent",
176
+ "type": "object",
177
+ "additionalProperties": false,
178
+ "properties": {
179
+ "customData": {
180
+ "$ref": "#/definitions/CustomDataType"
181
+ },
182
+ "format": {
183
+ "$ref": "#/definitions/MessageFormatEnumType"
184
+ },
185
+ "language": {
186
+ "description": "Message_ Content. Language. Language_ Code\r\nurn:x-enexis:ecdm:uid:1:570849\r\nMessage language identifier. Contains a language code as defined in <<ref-RFC5646,[RFC5646]>>.\r\n",
187
+ "type": "string",
188
+ "maxLength": 8
189
+ },
190
+ "content": {
191
+ "description": "Message_ Content. Content. Message\r\nurn:x-enexis:ecdm:uid:1:570852\r\nMessage contents.\r\n\r\n",
192
+ "type": "string",
193
+ "maxLength": 512
194
+ }
195
+ },
196
+ "required": [
197
+ "format",
198
+ "content"
199
+ ]
200
+ }
201
+ },
202
+ "type": "object",
203
+ "additionalProperties": false,
204
+ "properties": {
205
+ "customData": {
206
+ "$ref": "#/definitions/CustomDataType"
207
+ },
208
+ "totalCost": {
209
+ "description": "SHALL only be sent when charging has ended. Final total cost of this transaction, including taxes. In the currency configured with the Configuration Variable: <<configkey-currency,`Currency`>>. When omitted, the transaction was NOT free. To indicate a free transaction, the CSMS SHALL send 0.00.\r\n\r\n",
210
+ "type": "number"
211
+ },
212
+ "chargingPriority": {
213
+ "description": "Priority from a business point of view. Default priority is 0, The range is from -9 to 9. Higher values indicate a higher priority. The chargingPriority in <<transactioneventresponse,TransactionEventResponse>> is temporarily, so it may not be set in the <<cmn_idtokeninfotype,IdTokenInfoType>> afterwards. Also the chargingPriority in <<transactioneventresponse,TransactionEventResponse>> overrules the one in <<cmn_idtokeninfotype,IdTokenInfoType>>. \r\n",
214
+ "type": "integer"
215
+ },
216
+ "idTokenInfo": {
217
+ "$ref": "#/definitions/IdTokenInfoType"
218
+ },
219
+ "updatedPersonalMessage": {
220
+ "$ref": "#/definitions/MessageContentType"
221
+ }
222
+ }
223
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-06/schema#",
3
+ "$id": "urn:OCPP:Cp:2:2020:3:TriggerMessageRequest",
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
+ "MessageTriggerEnumType": {
21
+ "description": "Type of message to be triggered.\r\n",
22
+ "javaType": "MessageTriggerEnum",
23
+ "type": "string",
24
+ "additionalProperties": false,
25
+ "enum": [
26
+ "BootNotification",
27
+ "LogStatusNotification",
28
+ "FirmwareStatusNotification",
29
+ "Heartbeat",
30
+ "MeterValues",
31
+ "SignChargingStationCertificate",
32
+ "SignV2GCertificate",
33
+ "StatusNotification",
34
+ "TransactionEvent",
35
+ "SignCombinedCertificate",
36
+ "PublishFirmwareStatusNotification"
37
+ ]
38
+ },
39
+ "EVSEType": {
40
+ "description": "EVSE\r\nurn:x-oca:ocpp:uid:2:233123\r\nElectric Vehicle Supply Equipment\r\n",
41
+ "javaType": "EVSE",
42
+ "type": "object",
43
+ "additionalProperties": false,
44
+ "properties": {
45
+ "customData": {
46
+ "$ref": "#/definitions/CustomDataType"
47
+ },
48
+ "id": {
49
+ "description": "Identified_ Object. MRID. Numeric_ Identifier\r\nurn:x-enexis:ecdm:uid:1:569198\r\nEVSE Identifier. This contains a number (> 0) designating an EVSE of the Charging Station.\r\n",
50
+ "type": "integer"
51
+ },
52
+ "connectorId": {
53
+ "description": "An id to designate a specific connector (on an EVSE) by connector index number.\r\n",
54
+ "type": "integer"
55
+ }
56
+ },
57
+ "required": [
58
+ "id"
59
+ ]
60
+ }
61
+ },
62
+ "type": "object",
63
+ "additionalProperties": false,
64
+ "properties": {
65
+ "customData": {
66
+ "$ref": "#/definitions/CustomDataType"
67
+ },
68
+ "evse": {
69
+ "$ref": "#/definitions/EVSEType"
70
+ },
71
+ "requestedMessage": {
72
+ "$ref": "#/definitions/MessageTriggerEnumType"
73
+ }
74
+ },
75
+ "required": [
76
+ "requestedMessage"
77
+ ]
78
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-06/schema#",
3
+ "$id": "urn:OCPP:Cp:2:2020:3:TriggerMessageResponse",
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
+ "TriggerMessageStatusEnumType": {
21
+ "description": "Indicates whether the Charging Station will send the requested notification or not.\r\n",
22
+ "javaType": "TriggerMessageStatusEnum",
23
+ "type": "string",
24
+ "additionalProperties": false,
25
+ "enum": [
26
+ "Accepted",
27
+ "Rejected",
28
+ "NotImplemented"
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/TriggerMessageStatusEnumType"
64
+ },
65
+ "statusInfo": {
66
+ "$ref": "#/definitions/StatusInfoType"
67
+ }
68
+ },
69
+ "required": [
70
+ "status"
71
+ ]
72
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-06/schema#",
3
+ "$id": "urn:OCPP:Cp:2:2020:3:UnlockConnectorRequest",
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
+ "evseId": {
28
+ "description": "This contains the identifier of the EVSE for which a connector needs to be unlocked.\r\n",
29
+ "type": "integer"
30
+ },
31
+ "connectorId": {
32
+ "description": "This contains the identifier of the connector that needs to be unlocked.\r\n",
33
+ "type": "integer"
34
+ }
35
+ },
36
+ "required": [
37
+ "evseId",
38
+ "connectorId"
39
+ ]
40
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-06/schema#",
3
+ "$id": "urn:OCPP:Cp:2:2020:3:UnlockConnectorResponse",
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
+ "UnlockStatusEnumType": {
21
+ "description": "This indicates whether the Charging Station has unlocked the connector.\r\n",
22
+ "javaType": "UnlockStatusEnum",
23
+ "type": "string",
24
+ "additionalProperties": false,
25
+ "enum": [
26
+ "Unlocked",
27
+ "UnlockFailed",
28
+ "OngoingAuthorizedTransaction",
29
+ "UnknownConnector"
30
+ ]
31
+ },
32
+ "StatusInfoType": {
33
+ "description": "Element providing more information about the status.\r\n",
34
+ "javaType": "StatusInfo",
35
+ "type": "object",
36
+ "additionalProperties": false,
37
+ "properties": {
38
+ "customData": {
39
+ "$ref": "#/definitions/CustomDataType"
40
+ },
41
+ "reasonCode": {
42
+ "description": "A predefined code for the reason why the status is returned in this response. The string is case-insensitive.\r\n",
43
+ "type": "string",
44
+ "maxLength": 20
45
+ },
46
+ "additionalInfo": {
47
+ "description": "Additional text to provide detailed information.\r\n",
48
+ "type": "string",
49
+ "maxLength": 512
50
+ }
51
+ },
52
+ "required": [
53
+ "reasonCode"
54
+ ]
55
+ }
56
+ },
57
+ "type": "object",
58
+ "additionalProperties": false,
59
+ "properties": {
60
+ "customData": {
61
+ "$ref": "#/definitions/CustomDataType"
62
+ },
63
+ "status": {
64
+ "$ref": "#/definitions/UnlockStatusEnumType"
65
+ },
66
+ "statusInfo": {
67
+ "$ref": "#/definitions/StatusInfoType"
68
+ }
69
+ },
70
+ "required": [
71
+ "status"
72
+ ]
73
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-06/schema#",
3
+ "$id": "urn:OCPP:Cp:2:2020:3:UnpublishFirmwareRequest",
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
+ "checksum": {
28
+ "description": "The MD5 checksum over the entire firmware file as a hexadecimal string of length 32. \r\n",
29
+ "type": "string",
30
+ "maxLength": 32
31
+ }
32
+ },
33
+ "required": [
34
+ "checksum"
35
+ ]
36
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-06/schema#",
3
+ "$id": "urn:OCPP:Cp:2:2020:3:UnpublishFirmwareResponse",
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
+ "UnpublishFirmwareStatusEnumType": {
21
+ "description": "Indicates whether the Local Controller succeeded in unpublishing the firmware.\r\n",
22
+ "javaType": "UnpublishFirmwareStatusEnum",
23
+ "type": "string",
24
+ "additionalProperties": false,
25
+ "enum": [
26
+ "DownloadOngoing",
27
+ "NoFirmware",
28
+ "Unpublished"
29
+ ]
30
+ }
31
+ },
32
+ "type": "object",
33
+ "additionalProperties": false,
34
+ "properties": {
35
+ "customData": {
36
+ "$ref": "#/definitions/CustomDataType"
37
+ },
38
+ "status": {
39
+ "$ref": "#/definitions/UnpublishFirmwareStatusEnumType"
40
+ }
41
+ },
42
+ "required": [
43
+ "status"
44
+ ]
45
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-06/schema#",
3
+ "$id": "urn:OCPP:Cp:2:2020:3:UpdateFirmwareRequest",
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
+ "FirmwareType": {
21
+ "description": "Firmware\r\nurn:x-enexis:ecdm:uid:2:233291\r\nRepresents a copy of the firmware that can be loaded/updated on the Charging Station.\r\n",
22
+ "javaType": "Firmware",
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "properties": {
26
+ "customData": {
27
+ "$ref": "#/definitions/CustomDataType"
28
+ },
29
+ "location": {
30
+ "description": "Firmware. Location. URI\r\nurn:x-enexis:ecdm:uid:1:569460\r\nURI defining the origin of the firmware.\r\n",
31
+ "type": "string",
32
+ "maxLength": 512
33
+ },
34
+ "retrieveDateTime": {
35
+ "description": "Firmware. Retrieve. Date_ Time\r\nurn:x-enexis:ecdm:uid:1:569461\r\nDate and time at which the firmware shall be retrieved.\r\n",
36
+ "type": "string",
37
+ "format": "date-time"
38
+ },
39
+ "installDateTime": {
40
+ "description": "Firmware. Install. Date_ Time\r\nurn:x-enexis:ecdm:uid:1:569462\r\nDate and time at which the firmware shall be installed.\r\n",
41
+ "type": "string",
42
+ "format": "date-time"
43
+ },
44
+ "signingCertificate": {
45
+ "description": "Certificate with which the firmware was signed.\r\nPEM encoded X.509 certificate.\r\n",
46
+ "type": "string",
47
+ "maxLength": 5500
48
+ },
49
+ "signature": {
50
+ "description": "Firmware. Signature. Signature\r\nurn:x-enexis:ecdm:uid:1:569464\r\nBase64 encoded firmware signature.\r\n",
51
+ "type": "string",
52
+ "maxLength": 800
53
+ }
54
+ },
55
+ "required": [
56
+ "location",
57
+ "retrieveDateTime"
58
+ ]
59
+ }
60
+ },
61
+ "type": "object",
62
+ "additionalProperties": false,
63
+ "properties": {
64
+ "customData": {
65
+ "$ref": "#/definitions/CustomDataType"
66
+ },
67
+ "retries": {
68
+ "description": "This specifies how many times Charging Station must try to download the firmware before giving up. If this field is not present, it is left to Charging Station to decide how many times it wants to retry.\r\n",
69
+ "type": "integer"
70
+ },
71
+ "retryInterval": {
72
+ "description": "The interval in seconds after which a retry may be attempted. If this field is not present, it is left to Charging Station to decide how long to wait between attempts.\r\n",
73
+ "type": "integer"
74
+ },
75
+ "requestId": {
76
+ "description": "The Id of this request\r\n",
77
+ "type": "integer"
78
+ },
79
+ "firmware": {
80
+ "$ref": "#/definitions/FirmwareType"
81
+ }
82
+ },
83
+ "required": [
84
+ "requestId",
85
+ "firmware"
86
+ ]
87
+ }