ocpp-messages 0.1.0 → 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 (395) 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/v1.6/index.d.ts +4 -4
  133. package/v2.0/AuthorizeRequest.d.ts +2 -2
  134. package/v2.0/AuthorizeResponse.d.ts +2 -2
  135. package/v2.0/BootNotificationRequest.d.ts +2 -2
  136. package/v2.0/BootNotificationResponse.d.ts +2 -2
  137. package/v2.0/CancelReservationRequest.d.ts +2 -2
  138. package/v2.0/CancelReservationResponse.d.ts +2 -2
  139. package/v2.0/CertificateSignedRequest.d.ts +2 -2
  140. package/v2.0/CertificateSignedResponse.d.ts +2 -2
  141. package/v2.0/ChangeAvailabilityRequest.d.ts +2 -2
  142. package/v2.0/ChangeAvailabilityResponse.d.ts +2 -2
  143. package/v2.0/ClearCacheRequest.d.ts +2 -2
  144. package/v2.0/ClearCacheResponse.d.ts +2 -2
  145. package/v2.0/ClearChargingProfileRequest.d.ts +2 -2
  146. package/v2.0/ClearChargingProfileResponse.d.ts +2 -2
  147. package/v2.0/ClearDisplayMessageRequest.d.ts +2 -2
  148. package/v2.0/ClearDisplayMessageResponse.d.ts +2 -2
  149. package/v2.0/ClearVariableMonitoringRequest.d.ts +2 -2
  150. package/v2.0/ClearVariableMonitoringResponse.d.ts +2 -2
  151. package/v2.0/ClearedChargingLimitRequest.d.ts +2 -2
  152. package/v2.0/ClearedChargingLimitResponse.d.ts +2 -2
  153. package/v2.0/CostUpdatedRequest.d.ts +2 -2
  154. package/v2.0/CostUpdatedResponse.d.ts +2 -2
  155. package/v2.0/CustomerInformationRequest.d.ts +2 -2
  156. package/v2.0/CustomerInformationResponse.d.ts +2 -2
  157. package/v2.0/DataTransferRequest.d.ts +2 -2
  158. package/v2.0/DataTransferResponse.d.ts +2 -2
  159. package/v2.0/DeleteCertificateRequest.d.ts +2 -2
  160. package/v2.0/DeleteCertificateResponse.d.ts +2 -2
  161. package/v2.0/FirmwareStatusNotificationRequest.d.ts +2 -2
  162. package/v2.0/FirmwareStatusNotificationResponse.d.ts +2 -2
  163. package/v2.0/Get15118EVCertificateRequest.d.ts +2 -2
  164. package/v2.0/Get15118EVCertificateResponse.d.ts +2 -2
  165. package/v2.0/GetBaseReportRequest.d.ts +2 -2
  166. package/v2.0/GetBaseReportResponse.d.ts +2 -2
  167. package/v2.0/GetCertificateStatusRequest.d.ts +2 -2
  168. package/v2.0/GetCertificateStatusResponse.d.ts +2 -2
  169. package/v2.0/GetChargingProfilesRequest.d.ts +2 -2
  170. package/v2.0/GetChargingProfilesResponse.d.ts +2 -2
  171. package/v2.0/GetCompositeScheduleRequest.d.ts +2 -2
  172. package/v2.0/GetCompositeScheduleResponse.d.ts +2 -2
  173. package/v2.0/GetDisplayMessagesRequest.d.ts +2 -2
  174. package/v2.0/GetDisplayMessagesResponse.d.ts +2 -2
  175. package/v2.0/GetInstalledCertificateIdsRequest.d.ts +2 -2
  176. package/v2.0/GetInstalledCertificateIdsResponse.d.ts +2 -2
  177. package/v2.0/GetLocalListVersionRequest.d.ts +2 -2
  178. package/v2.0/GetLocalListVersionResponse.d.ts +2 -2
  179. package/v2.0/GetLogRequest.d.ts +2 -2
  180. package/v2.0/GetLogResponse.d.ts +2 -2
  181. package/v2.0/GetMonitoringReportRequest.d.ts +2 -2
  182. package/v2.0/GetMonitoringReportResponse.d.ts +2 -2
  183. package/v2.0/GetReportRequest.d.ts +2 -2
  184. package/v2.0/GetReportResponse.d.ts +2 -2
  185. package/v2.0/GetTransactionStatusRequest.d.ts +2 -2
  186. package/v2.0/GetTransactionStatusResponse.d.ts +2 -2
  187. package/v2.0/GetVariablesRequest.d.ts +2 -2
  188. package/v2.0/GetVariablesResponse.d.ts +2 -2
  189. package/v2.0/HeartbeatRequest.d.ts +2 -2
  190. package/v2.0/HeartbeatResponse.d.ts +2 -2
  191. package/v2.0/InstallCertificateRequest.d.ts +2 -2
  192. package/v2.0/InstallCertificateResponse.d.ts +2 -2
  193. package/v2.0/LogStatusNotificationRequest.d.ts +2 -2
  194. package/v2.0/LogStatusNotificationResponse.d.ts +2 -2
  195. package/v2.0/MeterValuesRequest.d.ts +2 -2
  196. package/v2.0/MeterValuesResponse.d.ts +2 -2
  197. package/v2.0/NotifyChargingLimitRequest.d.ts +2 -2
  198. package/v2.0/NotifyChargingLimitResponse.d.ts +2 -2
  199. package/v2.0/NotifyCustomerInformationRequest.d.ts +2 -2
  200. package/v2.0/NotifyCustomerInformationResponse.d.ts +2 -2
  201. package/v2.0/NotifyDisplayMessagesRequest.d.ts +2 -2
  202. package/v2.0/NotifyDisplayMessagesResponse.d.ts +2 -2
  203. package/v2.0/NotifyEVChargingNeedsRequest.d.ts +2 -2
  204. package/v2.0/NotifyEVChargingNeedsResponse.d.ts +2 -2
  205. package/v2.0/NotifyEVChargingScheduleRequest.d.ts +2 -2
  206. package/v2.0/NotifyEVChargingScheduleResponse.d.ts +2 -2
  207. package/v2.0/NotifyEventRequest.d.ts +2 -2
  208. package/v2.0/NotifyEventResponse.d.ts +2 -2
  209. package/v2.0/NotifyMonitoringReportRequest.d.ts +2 -2
  210. package/v2.0/NotifyMonitoringReportResponse.d.ts +2 -2
  211. package/v2.0/NotifyReportRequest.d.ts +2 -2
  212. package/v2.0/NotifyReportResponse.d.ts +2 -2
  213. package/v2.0/PublishFirmwareRequest.d.ts +2 -2
  214. package/v2.0/PublishFirmwareResponse.d.ts +2 -2
  215. package/v2.0/PublishFirmwareStatusNotificationRequest.d.ts +2 -2
  216. package/v2.0/PublishFirmwareStatusNotificationResponse.d.ts +2 -2
  217. package/v2.0/ReportChargingProfilesRequest.d.ts +2 -2
  218. package/v2.0/ReportChargingProfilesResponse.d.ts +2 -2
  219. package/v2.0/RequestStartTransactionRequest.d.ts +2 -2
  220. package/v2.0/RequestStartTransactionResponse.d.ts +2 -2
  221. package/v2.0/RequestStopTransactionRequest.d.ts +2 -2
  222. package/v2.0/RequestStopTransactionResponse.d.ts +2 -2
  223. package/v2.0/ReservationStatusUpdateRequest.d.ts +2 -2
  224. package/v2.0/ReservationStatusUpdateResponse.d.ts +2 -2
  225. package/v2.0/ReserveNowRequest.d.ts +2 -2
  226. package/v2.0/ReserveNowResponse.d.ts +2 -2
  227. package/v2.0/ResetRequest.d.ts +2 -2
  228. package/v2.0/ResetResponse.d.ts +2 -2
  229. package/v2.0/SecurityEventNotificationRequest.d.ts +2 -2
  230. package/v2.0/SecurityEventNotificationResponse.d.ts +2 -2
  231. package/v2.0/SendLocalListRequest.d.ts +2 -2
  232. package/v2.0/SendLocalListResponse.d.ts +2 -2
  233. package/v2.0/SetChargingProfileRequest.d.ts +2 -2
  234. package/v2.0/SetChargingProfileResponse.d.ts +2 -2
  235. package/v2.0/SetDisplayMessageRequest.d.ts +2 -2
  236. package/v2.0/SetDisplayMessageResponse.d.ts +2 -2
  237. package/v2.0/SetMonitoringBaseRequest.d.ts +2 -2
  238. package/v2.0/SetMonitoringBaseResponse.d.ts +2 -2
  239. package/v2.0/SetMonitoringLevelRequest.d.ts +2 -2
  240. package/v2.0/SetMonitoringLevelResponse.d.ts +2 -2
  241. package/v2.0/SetNetworkProfileRequest.d.ts +2 -2
  242. package/v2.0/SetNetworkProfileResponse.d.ts +2 -2
  243. package/v2.0/SetVariableMonitoringRequest.d.ts +2 -2
  244. package/v2.0/SetVariableMonitoringResponse.d.ts +2 -2
  245. package/v2.0/SetVariablesRequest.d.ts +2 -2
  246. package/v2.0/SetVariablesResponse.d.ts +2 -2
  247. package/v2.0/SignCertificateRequest.d.ts +2 -2
  248. package/v2.0/SignCertificateResponse.d.ts +2 -2
  249. package/v2.0/StatusNotificationRequest.d.ts +2 -2
  250. package/v2.0/StatusNotificationResponse.d.ts +2 -2
  251. package/v2.0/TransactionEventRequest.d.ts +2 -2
  252. package/v2.0/TransactionEventResponse.d.ts +2 -2
  253. package/v2.0/TriggerMessageRequest.d.ts +2 -2
  254. package/v2.0/TriggerMessageResponse.d.ts +2 -2
  255. package/v2.0/UnlockConnectorRequest.d.ts +2 -2
  256. package/v2.0/UnlockConnectorResponse.d.ts +2 -2
  257. package/v2.0/UnpublishFirmwareRequest.d.ts +2 -2
  258. package/v2.0/UnpublishFirmwareResponse.d.ts +2 -2
  259. package/v2.0/UpdateFirmwareRequest.d.ts +2 -2
  260. package/v2.0/UpdateFirmwareResponse.d.ts +2 -2
  261. package/v2.0/index.d.ts +338 -129
  262. package/schema/v2.0/AuthorizeRequest_v1p0.json +0 -133
  263. package/schema/v2.0/AuthorizeResponse_v1p0.json +0 -154
  264. package/schema/v2.0/BootNotificationRequest_v1p0.json +0 -81
  265. package/schema/v2.0/BootNotificationResponse_v1p0.json +0 -30
  266. package/schema/v2.0/CancelReservationRequest_v1p0.json +0 -15
  267. package/schema/v2.0/CancelReservationResponse_v1p0.json +0 -20
  268. package/schema/v2.0/CertificateSignedRequest_v1p0.json +0 -29
  269. package/schema/v2.0/CertificateSignedResponse_v1p0.json +0 -20
  270. package/schema/v2.0/ChangeAvailabilityRequest_v1p0.json +0 -24
  271. package/schema/v2.0/ChangeAvailabilityResponse_v1p0.json +0 -21
  272. package/schema/v2.0/ClearCacheRequest_v1p0.json +0 -7
  273. package/schema/v2.0/ClearCacheResponse_v1p0.json +0 -20
  274. package/schema/v2.0/ClearChargingProfileRequest_v1p0.json +0 -43
  275. package/schema/v2.0/ClearChargingProfileResponse_v1p0.json +0 -20
  276. package/schema/v2.0/ClearDisplayMessageRequest_v1p0.json +0 -15
  277. package/schema/v2.0/ClearDisplayMessageResponse_v1p0.json +0 -20
  278. package/schema/v2.0/ClearVariableMonitoringRequest_v1p0.json +0 -20
  279. package/schema/v2.0/ClearVariableMonitoringResponse_v1p0.json +0 -48
  280. package/schema/v2.0/ClearedChargingLimitRequest_v1p0.json +0 -25
  281. package/schema/v2.0/ClearedChargingLimitResponse_v1p0.json +0 -7
  282. package/schema/v2.0/CostUpdatedRequest_v1p0.json +0 -20
  283. package/schema/v2.0/CostUpdatedResponse_v1p0.json +0 -7
  284. package/schema/v2.0/CustomerInformationRequest_v1p0.json +0 -130
  285. package/schema/v2.0/CustomerInformationResponse_v1p0.json +0 -21
  286. package/schema/v2.0/DataTransferRequest_v1p0.json +0 -21
  287. package/schema/v2.0/DataTransferResponse_v1p0.json +0 -23
  288. package/schema/v2.0/DeleteCertificateRequest_v1p0.json +0 -54
  289. package/schema/v2.0/DeleteCertificateResponse_v1p0.json +0 -21
  290. package/schema/v2.0/FirmwareStatusNotificationRequest_v1p0.json +0 -40
  291. package/schema/v2.0/FirmwareStatusNotificationResponse_v1p0.json +0 -7
  292. package/schema/v2.0/Get15118EVCertificateRequest_v1p0.json +0 -21
  293. package/schema/v2.0/Get15118EVCertificateResponse_v1p0.json +0 -62
  294. package/schema/v2.0/GetBaseReportRequest_v1p0.json +0 -25
  295. package/schema/v2.0/GetBaseReportResponse_v1p0.json +0 -21
  296. package/schema/v2.0/GetCertificateStatusRequest_v1p0.json +0 -58
  297. package/schema/v2.0/GetCertificateStatusResponse_v1p0.json +0 -24
  298. package/schema/v2.0/GetChargingProfilesRequest_v1p0.json +0 -73
  299. package/schema/v2.0/GetChargingProfilesResponse_v1p0.json +0 -20
  300. package/schema/v2.0/GetCompositeScheduleRequest_v1p0.json +0 -27
  301. package/schema/v2.0/GetCompositeScheduleResponse_v1p0.json +0 -108
  302. package/schema/v2.0/GetDisplayMessagesRequest_v1p0.json +0 -42
  303. package/schema/v2.0/GetDisplayMessagesResponse_v1p0.json +0 -20
  304. package/schema/v2.0/GetInstalledCertificateIdsRequest_v1p0.json +0 -24
  305. package/schema/v2.0/GetInstalledCertificateIdsResponse_v1p0.json +0 -70
  306. package/schema/v2.0/GetLocalListVersionRequest_v1p0.json +0 -7
  307. package/schema/v2.0/GetLocalListVersionResponse_v1p0.json +0 -15
  308. package/schema/v2.0/GetLogRequest_v1p0.json +0 -61
  309. package/schema/v2.0/GetLogResponse_v1p0.json +0 -25
  310. package/schema/v2.0/GetMonitoringReportRequest_v1p0.json +0 -112
  311. package/schema/v2.0/GetMonitoringReportResponse_v1p0.json +0 -21
  312. package/schema/v2.0/GetReportRequest_v1p0.json +0 -113
  313. package/schema/v2.0/GetReportResponse_v1p0.json +0 -21
  314. package/schema/v2.0/GetTransactionStatusRequest_v1p0.json +0 -13
  315. package/schema/v2.0/GetTransactionStatusResponse_v1p0.json +0 -18
  316. package/schema/v2.0/GetVariablesRequest_v1p0.json +0 -108
  317. package/schema/v2.0/GetVariablesResponse_v1p0.json +0 -127
  318. package/schema/v2.0/HeartbeatRequest_v1p0.json +0 -7
  319. package/schema/v2.0/HeartbeatResponse_v1p0.json +0 -16
  320. package/schema/v2.0/InstallCertificateRequest_v1p0.json +0 -29
  321. package/schema/v2.0/InstallCertificateResponse_v1p0.json +0 -25
  322. package/schema/v2.0/LogStatusNotificationRequest_v1p0.json +0 -29
  323. package/schema/v2.0/LogStatusNotificationResponse_v1p0.json +0 -7
  324. package/schema/v2.0/MeterValuesRequest_v1p0.json +0 -212
  325. package/schema/v2.0/MeterValuesResponse_v1p0.json +0 -7
  326. package/schema/v2.0/NotifyCentralChargingNeedsRequest_v1p0.json +0 -191
  327. package/schema/v2.0/NotifyCentralChargingNeedsResponse_v1p0.json +0 -20
  328. package/schema/v2.0/NotifyChargingLimitRequest_v1p0.json +0 -117
  329. package/schema/v2.0/NotifyChargingLimitResponse_v1p0.json +0 -7
  330. package/schema/v2.0/NotifyCustomerInformationRequest_v1p0.json +0 -32
  331. package/schema/v2.0/NotifyCustomerInformationResponse_v1p0.json +0 -7
  332. package/schema/v2.0/NotifyDisplayMessagesRequest_v1p0.json +0 -157
  333. package/schema/v2.0/NotifyDisplayMessagesResponse_v1p0.json +0 -7
  334. package/schema/v2.0/NotifyEVChargingNeedsRequest_v1p0.json +0 -125
  335. package/schema/v2.0/NotifyEVChargingNeedsResponse_v1p0.json +0 -21
  336. package/schema/v2.0/NotifyEVChargingScheduleRequest_v1p0.json +0 -88
  337. package/schema/v2.0/NotifyEVChargingScheduleResponse_v1p0.json +0 -20
  338. package/schema/v2.0/NotifyEventRequest_v1p0.json +0 -193
  339. package/schema/v2.0/NotifyEventResponse_v1p0.json +0 -7
  340. package/schema/v2.0/NotifyMonitoringReportRequest_v1p0.json +0 -160
  341. package/schema/v2.0/NotifyMonitoringReportResponse_v1p0.json +0 -7
  342. package/schema/v2.0/NotifyReportRequest_v1p0.json +0 -216
  343. package/schema/v2.0/NotifyReportResponse_v1p0.json +0 -7
  344. package/schema/v2.0/PublishFirmwareRequest_v1p0.json +0 -24
  345. package/schema/v2.0/PublishFirmwareResponse_v1p0.json +0 -20
  346. package/schema/v2.0/PublishFirmwareStatusNotificationRequest_v1p0.json +0 -36
  347. package/schema/v2.0/PublishFirmwareStatusNotificationResponse_v1p0.json +0 -7
  348. package/schema/v2.0/Renegotiate15118ScheduleRequest_v1p0.json +0 -33
  349. package/schema/v2.0/Renegotiate15118ScheduleResponse_v1p0.json +0 -20
  350. package/schema/v2.0/ReportChargingProfilesRequest_v1p0.json +0 -183
  351. package/schema/v2.0/ReportChargingProfilesResponse_v1p0.json +0 -7
  352. package/schema/v2.0/RequestStartTransactionRequest_v1p0.json +0 -222
  353. package/schema/v2.0/RequestStartTransactionResponse_v1p0.json +0 -24
  354. package/schema/v2.0/RequestStopTransactionRequest_v1p0.json +0 -16
  355. package/schema/v2.0/RequestStopTransactionResponse_v1p0.json +0 -20
  356. package/schema/v2.0/ReservationStatusUpdateRequest_v1p0.json +0 -24
  357. package/schema/v2.0/ReservationStatusUpdateResponse_v1p0.json +0 -7
  358. package/schema/v2.0/ReserveNowRequest_v1p0.json +0 -151
  359. package/schema/v2.0/ReserveNowResponse_v1p0.json +0 -23
  360. package/schema/v2.0/ResetRequest_v1p0.json +0 -20
  361. package/schema/v2.0/ResetResponse_v1p0.json +0 -21
  362. package/schema/v2.0/SecurityEventNotificationRequest_v1p0.json +0 -41
  363. package/schema/v2.0/SecurityEventNotificationResponse_v1p0.json +0 -7
  364. package/schema/v2.0/SendLocalListRequest_v1p0.json +0 -211
  365. package/schema/v2.0/SendLocalListResponse_v1p0.json +0 -21
  366. package/schema/v2.0/SetChargingProfileRequest_v1p0.json +0 -158
  367. package/schema/v2.0/SetChargingProfileResponse_v1p0.json +0 -20
  368. package/schema/v2.0/SetDisplayMessageRequest_v1p0.json +0 -144
  369. package/schema/v2.0/SetDisplayMessageResponse_v1p0.json +0 -24
  370. package/schema/v2.0/SetMonitoringBaseRequest_v1p0.json +0 -21
  371. package/schema/v2.0/SetMonitoringBaseResponse_v1p0.json +0 -21
  372. package/schema/v2.0/SetMonitoringLevelRequest_v1p0.json +0 -15
  373. package/schema/v2.0/SetMonitoringLevelResponse_v1p0.json +0 -20
  374. package/schema/v2.0/SetNetworkProfileRequest_v1p0.json +0 -182
  375. package/schema/v2.0/SetNetworkProfileResponse_v1p0.json +0 -21
  376. package/schema/v2.0/SetVariableMonitoringRequest_v1p0.json +0 -123
  377. package/schema/v2.0/SetVariableMonitoringResponse_v1p0.json +0 -133
  378. package/schema/v2.0/SetVariablesRequest_v1p0.json +0 -113
  379. package/schema/v2.0/SetVariablesResponse_v1p0.json +0 -126
  380. package/schema/v2.0/SignCertificateRequest_v1p0.json +0 -24
  381. package/schema/v2.0/SignCertificateResponse_v1p0.json +0 -20
  382. package/schema/v2.0/StatusNotificationRequest_v1p0.json +0 -36
  383. package/schema/v2.0/StatusNotificationResponse_v1p0.json +0 -7
  384. package/schema/v2.0/TransactionEventRequest_v1p0.json +0 -415
  385. package/schema/v2.0/TransactionEventResponse_v1p0.json +0 -136
  386. package/schema/v2.0/TriggerMessageRequest_v1p0.json +0 -51
  387. package/schema/v2.0/TriggerMessageResponse_v1p0.json +0 -21
  388. package/schema/v2.0/UnlockConnectorRequest_v1p0.json +0 -19
  389. package/schema/v2.0/UnlockConnectorResponse_v1p0.json +0 -20
  390. package/schema/v2.0/UnpublishFirmwareRequest_v1p0.json +0 -16
  391. package/schema/v2.0/UnpublishFirmwareResponse_v1p0.json +0 -21
  392. package/schema/v2.0/Update15118EVCertificateRequest_v1p0.json +0 -21
  393. package/schema/v2.0/Update15118EVCertificateResponse_v1p0.json +0 -24
  394. package/schema/v2.0/UpdateFirmwareRequest_v1p0.json +0 -58
  395. package/schema/v2.0/UpdateFirmwareResponse_v1p0.json +0 -21
@@ -0,0 +1,375 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-06/schema#",
3
+ "$id": "urn:OCPP:Cp:2:2020:3:SetChargingProfileRequest",
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
+ "ChargingProfileKindEnumType": {
21
+ "description": "Charging_ Profile. Charging_ Profile_ Kind. Charging_ Profile_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569232\r\nIndicates the kind of schedule.\r\n",
22
+ "javaType": "ChargingProfileKindEnum",
23
+ "type": "string",
24
+ "additionalProperties": false,
25
+ "enum": [
26
+ "Absolute",
27
+ "Recurring",
28
+ "Relative"
29
+ ]
30
+ },
31
+ "ChargingProfilePurposeEnumType": {
32
+ "description": "Charging_ Profile. Charging_ Profile_ Purpose. Charging_ Profile_ Purpose_ Code\r\nurn:x-oca:ocpp:uid:1:569231\r\nDefines the purpose of the schedule transferred by this profile\r\n",
33
+ "javaType": "ChargingProfilePurposeEnum",
34
+ "type": "string",
35
+ "additionalProperties": false,
36
+ "enum": [
37
+ "ChargingStationExternalConstraints",
38
+ "ChargingStationMaxProfile",
39
+ "TxDefaultProfile",
40
+ "TxProfile"
41
+ ]
42
+ },
43
+ "ChargingRateUnitEnumType": {
44
+ "description": "Charging_ Schedule. Charging_ Rate_ Unit. Charging_ Rate_ Unit_ Code\r\nurn:x-oca:ocpp:uid:1:569238\r\nThe unit of measure Limit is expressed in.\r\n",
45
+ "javaType": "ChargingRateUnitEnum",
46
+ "type": "string",
47
+ "additionalProperties": false,
48
+ "enum": [
49
+ "W",
50
+ "A"
51
+ ]
52
+ },
53
+ "CostKindEnumType": {
54
+ "description": "Cost. Cost_ Kind. Cost_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569243\r\nThe kind of cost referred to in the message element amount\r\n",
55
+ "javaType": "CostKindEnum",
56
+ "type": "string",
57
+ "additionalProperties": false,
58
+ "enum": [
59
+ "CarbonDioxideEmission",
60
+ "RelativePricePercentage",
61
+ "RenewableGenerationPercentage"
62
+ ]
63
+ },
64
+ "RecurrencyKindEnumType": {
65
+ "description": "Charging_ Profile. Recurrency_ Kind. Recurrency_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569233\r\nIndicates the start point of a recurrence.\r\n",
66
+ "javaType": "RecurrencyKindEnum",
67
+ "type": "string",
68
+ "additionalProperties": false,
69
+ "enum": [
70
+ "Daily",
71
+ "Weekly"
72
+ ]
73
+ },
74
+ "ChargingProfileType": {
75
+ "description": "Charging_ Profile\r\nurn:x-oca:ocpp:uid:2:233255\r\nA ChargingProfile consists of ChargingSchedule, describing the amount of power or current that can be delivered per time interval.\r\n",
76
+ "javaType": "ChargingProfile",
77
+ "type": "object",
78
+ "additionalProperties": false,
79
+ "properties": {
80
+ "customData": {
81
+ "$ref": "#/definitions/CustomDataType"
82
+ },
83
+ "id": {
84
+ "description": "Identified_ Object. MRID. Numeric_ Identifier\r\nurn:x-enexis:ecdm:uid:1:569198\r\nId of ChargingProfile.\r\n",
85
+ "type": "integer"
86
+ },
87
+ "stackLevel": {
88
+ "description": "Charging_ Profile. Stack_ Level. Counter\r\nurn:x-oca:ocpp:uid:1:569230\r\nValue determining level in hierarchy stack of profiles. Higher values have precedence over lower values. Lowest level is 0.\r\n",
89
+ "type": "integer"
90
+ },
91
+ "chargingProfilePurpose": {
92
+ "$ref": "#/definitions/ChargingProfilePurposeEnumType"
93
+ },
94
+ "chargingProfileKind": {
95
+ "$ref": "#/definitions/ChargingProfileKindEnumType"
96
+ },
97
+ "recurrencyKind": {
98
+ "$ref": "#/definitions/RecurrencyKindEnumType"
99
+ },
100
+ "validFrom": {
101
+ "description": "Charging_ Profile. Valid_ From. Date_ Time\r\nurn:x-oca:ocpp:uid:1:569234\r\nPoint in time at which the profile starts to be valid. If absent, the profile is valid as soon as it is received by the Charging Station.\r\n",
102
+ "type": "string",
103
+ "format": "date-time"
104
+ },
105
+ "validTo": {
106
+ "description": "Charging_ Profile. Valid_ To. Date_ Time\r\nurn:x-oca:ocpp:uid:1:569235\r\nPoint in time at which the profile stops to be valid. If absent, the profile is valid until it is replaced by another profile.\r\n",
107
+ "type": "string",
108
+ "format": "date-time"
109
+ },
110
+ "chargingSchedule": {
111
+ "type": "array",
112
+ "additionalItems": false,
113
+ "items": {
114
+ "$ref": "#/definitions/ChargingScheduleType"
115
+ },
116
+ "minItems": 1,
117
+ "maxItems": 3
118
+ },
119
+ "transactionId": {
120
+ "description": "SHALL only be included if ChargingProfilePurpose is set to TxProfile. The transactionId is used to match the profile to a specific transaction.\r\n",
121
+ "type": "string",
122
+ "maxLength": 36
123
+ }
124
+ },
125
+ "required": [
126
+ "id",
127
+ "stackLevel",
128
+ "chargingProfilePurpose",
129
+ "chargingProfileKind",
130
+ "chargingSchedule"
131
+ ]
132
+ },
133
+ "ChargingSchedulePeriodType": {
134
+ "description": "Charging_ Schedule_ Period\r\nurn:x-oca:ocpp:uid:2:233257\r\nCharging schedule period structure defines a time period in a charging schedule.\r\n",
135
+ "javaType": "ChargingSchedulePeriod",
136
+ "type": "object",
137
+ "additionalProperties": false,
138
+ "properties": {
139
+ "customData": {
140
+ "$ref": "#/definitions/CustomDataType"
141
+ },
142
+ "startPeriod": {
143
+ "description": "Charging_ Schedule_ Period. Start_ Period. Elapsed_ Time\r\nurn:x-oca:ocpp:uid:1:569240\r\nStart of the period, in seconds from the start of schedule. The value of StartPeriod also defines the stop time of the previous period.\r\n",
144
+ "type": "integer"
145
+ },
146
+ "limit": {
147
+ "description": "Charging_ Schedule_ Period. Limit. Measure\r\nurn:x-oca:ocpp:uid:1:569241\r\nCharging rate limit during the schedule period, in the applicable chargingRateUnit, for example in Amperes (A) or Watts (W). Accepts at most one digit fraction (e.g. 8.1).\r\n",
148
+ "type": "number"
149
+ },
150
+ "numberPhases": {
151
+ "description": "Charging_ Schedule_ Period. Number_ Phases. Counter\r\nurn:x-oca:ocpp:uid:1:569242\r\nThe number of phases that can be used for charging. If a number of phases is needed, numberPhases=3 will be assumed unless another number is given.\r\n",
152
+ "type": "integer"
153
+ },
154
+ "phaseToUse": {
155
+ "description": "Values: 1..3, Used if numberPhases=1 and if the EVSE is capable of switching the phase connected to the EV, i.e. ACPhaseSwitchingSupported is defined and true. It’s not allowed unless both conditions above are true. If both conditions are true, and phaseToUse is omitted, the Charging Station / EVSE will make the selection on its own.\r\n\r\n",
156
+ "type": "integer"
157
+ }
158
+ },
159
+ "required": [
160
+ "startPeriod",
161
+ "limit"
162
+ ]
163
+ },
164
+ "ChargingScheduleType": {
165
+ "description": "Charging_ Schedule\r\nurn:x-oca:ocpp:uid:2:233256\r\nCharging schedule structure defines a list of charging periods, as used in: GetCompositeSchedule.conf and ChargingProfile. \r\n",
166
+ "javaType": "ChargingSchedule",
167
+ "type": "object",
168
+ "additionalProperties": false,
169
+ "properties": {
170
+ "customData": {
171
+ "$ref": "#/definitions/CustomDataType"
172
+ },
173
+ "id": {
174
+ "description": "Identifies the ChargingSchedule.\r\n",
175
+ "type": "integer"
176
+ },
177
+ "startSchedule": {
178
+ "description": "Charging_ Schedule. Start_ Schedule. Date_ Time\r\nurn:x-oca:ocpp:uid:1:569237\r\nStarting point of an absolute schedule. If absent the schedule will be relative to start of charging.\r\n",
179
+ "type": "string",
180
+ "format": "date-time"
181
+ },
182
+ "duration": {
183
+ "description": "Charging_ Schedule. Duration. Elapsed_ Time\r\nurn:x-oca:ocpp:uid:1:569236\r\nDuration of the charging schedule in seconds. If the duration is left empty, the last period will continue indefinitely or until end of the transaction if chargingProfilePurpose = TxProfile.\r\n",
184
+ "type": "integer"
185
+ },
186
+ "chargingRateUnit": {
187
+ "$ref": "#/definitions/ChargingRateUnitEnumType"
188
+ },
189
+ "chargingSchedulePeriod": {
190
+ "type": "array",
191
+ "additionalItems": false,
192
+ "items": {
193
+ "$ref": "#/definitions/ChargingSchedulePeriodType"
194
+ },
195
+ "minItems": 1,
196
+ "maxItems": 1024
197
+ },
198
+ "minChargingRate": {
199
+ "description": "Charging_ Schedule. Min_ Charging_ Rate. Numeric\r\nurn:x-oca:ocpp:uid:1:569239\r\nMinimum charging rate supported by the EV. The unit of measure is defined by the chargingRateUnit. This parameter is intended to be used by a local smart charging algorithm to optimize the power allocation for in the case a charging process is inefficient at lower charging rates. Accepts at most one digit fraction (e.g. 8.1)\r\n",
200
+ "type": "number"
201
+ },
202
+ "salesTariff": {
203
+ "$ref": "#/definitions/SalesTariffType"
204
+ }
205
+ },
206
+ "required": [
207
+ "id",
208
+ "chargingRateUnit",
209
+ "chargingSchedulePeriod"
210
+ ]
211
+ },
212
+ "ConsumptionCostType": {
213
+ "description": "Consumption_ Cost\r\nurn:x-oca:ocpp:uid:2:233259\r\n",
214
+ "javaType": "ConsumptionCost",
215
+ "type": "object",
216
+ "additionalProperties": false,
217
+ "properties": {
218
+ "customData": {
219
+ "$ref": "#/definitions/CustomDataType"
220
+ },
221
+ "startValue": {
222
+ "description": "Consumption_ Cost. Start_ Value. Numeric\r\nurn:x-oca:ocpp:uid:1:569246\r\nThe lowest level of consumption that defines the starting point of this consumption block. The block interval extends to the start of the next interval.\r\n",
223
+ "type": "number"
224
+ },
225
+ "cost": {
226
+ "type": "array",
227
+ "additionalItems": false,
228
+ "items": {
229
+ "$ref": "#/definitions/CostType"
230
+ },
231
+ "minItems": 1,
232
+ "maxItems": 3
233
+ }
234
+ },
235
+ "required": [
236
+ "startValue",
237
+ "cost"
238
+ ]
239
+ },
240
+ "CostType": {
241
+ "description": "Cost\r\nurn:x-oca:ocpp:uid:2:233258\r\n",
242
+ "javaType": "Cost",
243
+ "type": "object",
244
+ "additionalProperties": false,
245
+ "properties": {
246
+ "customData": {
247
+ "$ref": "#/definitions/CustomDataType"
248
+ },
249
+ "costKind": {
250
+ "$ref": "#/definitions/CostKindEnumType"
251
+ },
252
+ "amount": {
253
+ "description": "Cost. Amount. Amount\r\nurn:x-oca:ocpp:uid:1:569244\r\nThe estimated or actual cost per kWh\r\n",
254
+ "type": "integer"
255
+ },
256
+ "amountMultiplier": {
257
+ "description": "Cost. Amount_ Multiplier. Integer\r\nurn:x-oca:ocpp:uid:1:569245\r\nValues: -3..3, The amountMultiplier defines the exponent to base 10 (dec). The final value is determined by: amount * 10 ^ amountMultiplier\r\n",
258
+ "type": "integer"
259
+ }
260
+ },
261
+ "required": [
262
+ "costKind",
263
+ "amount"
264
+ ]
265
+ },
266
+ "RelativeTimeIntervalType": {
267
+ "description": "Relative_ Timer_ Interval\r\nurn:x-oca:ocpp:uid:2:233270\r\n",
268
+ "javaType": "RelativeTimeInterval",
269
+ "type": "object",
270
+ "additionalProperties": false,
271
+ "properties": {
272
+ "customData": {
273
+ "$ref": "#/definitions/CustomDataType"
274
+ },
275
+ "start": {
276
+ "description": "Relative_ Timer_ Interval. Start. Elapsed_ Time\r\nurn:x-oca:ocpp:uid:1:569279\r\nStart of the interval, in seconds from NOW.\r\n",
277
+ "type": "integer"
278
+ },
279
+ "duration": {
280
+ "description": "Relative_ Timer_ Interval. Duration. Elapsed_ Time\r\nurn:x-oca:ocpp:uid:1:569280\r\nDuration of the interval, in seconds.\r\n",
281
+ "type": "integer"
282
+ }
283
+ },
284
+ "required": [
285
+ "start"
286
+ ]
287
+ },
288
+ "SalesTariffEntryType": {
289
+ "description": "Sales_ Tariff_ Entry\r\nurn:x-oca:ocpp:uid:2:233271\r\n",
290
+ "javaType": "SalesTariffEntry",
291
+ "type": "object",
292
+ "additionalProperties": false,
293
+ "properties": {
294
+ "customData": {
295
+ "$ref": "#/definitions/CustomDataType"
296
+ },
297
+ "relativeTimeInterval": {
298
+ "$ref": "#/definitions/RelativeTimeIntervalType"
299
+ },
300
+ "ePriceLevel": {
301
+ "description": "Sales_ Tariff_ Entry. E_ Price_ Level. Unsigned_ Integer\r\nurn:x-oca:ocpp:uid:1:569281\r\nDefines the price level of this SalesTariffEntry (referring to NumEPriceLevels). Small values for the EPriceLevel represent a cheaper TariffEntry. Large values for the EPriceLevel represent a more expensive TariffEntry.\r\n",
302
+ "type": "integer",
303
+ "minimum": 0.0
304
+ },
305
+ "consumptionCost": {
306
+ "type": "array",
307
+ "additionalItems": false,
308
+ "items": {
309
+ "$ref": "#/definitions/ConsumptionCostType"
310
+ },
311
+ "minItems": 1,
312
+ "maxItems": 3
313
+ }
314
+ },
315
+ "required": [
316
+ "relativeTimeInterval"
317
+ ]
318
+ },
319
+ "SalesTariffType": {
320
+ "description": "Sales_ Tariff\r\nurn:x-oca:ocpp:uid:2:233272\r\nNOTE: This dataType is based on dataTypes from <<ref-ISOIEC15118-2,ISO 15118-2>>.\r\n",
321
+ "javaType": "SalesTariff",
322
+ "type": "object",
323
+ "additionalProperties": false,
324
+ "properties": {
325
+ "customData": {
326
+ "$ref": "#/definitions/CustomDataType"
327
+ },
328
+ "id": {
329
+ "description": "Identified_ Object. MRID. Numeric_ Identifier\r\nurn:x-enexis:ecdm:uid:1:569198\r\nSalesTariff identifier used to identify one sales tariff. An SAID remains a unique identifier for one schedule throughout a charging session.\r\n",
330
+ "type": "integer"
331
+ },
332
+ "salesTariffDescription": {
333
+ "description": "Sales_ Tariff. Sales. Tariff_ Description\r\nurn:x-oca:ocpp:uid:1:569283\r\nA human readable title/short description of the sales tariff e.g. for HMI display purposes.\r\n",
334
+ "type": "string",
335
+ "maxLength": 32
336
+ },
337
+ "numEPriceLevels": {
338
+ "description": "Sales_ Tariff. Num_ E_ Price_ Levels. Counter\r\nurn:x-oca:ocpp:uid:1:569284\r\nDefines the overall number of distinct price levels used across all provided SalesTariff elements.\r\n",
339
+ "type": "integer"
340
+ },
341
+ "salesTariffEntry": {
342
+ "type": "array",
343
+ "additionalItems": false,
344
+ "items": {
345
+ "$ref": "#/definitions/SalesTariffEntryType"
346
+ },
347
+ "minItems": 1,
348
+ "maxItems": 1024
349
+ }
350
+ },
351
+ "required": [
352
+ "id",
353
+ "salesTariffEntry"
354
+ ]
355
+ }
356
+ },
357
+ "type": "object",
358
+ "additionalProperties": false,
359
+ "properties": {
360
+ "customData": {
361
+ "$ref": "#/definitions/CustomDataType"
362
+ },
363
+ "evseId": {
364
+ "description": "For TxDefaultProfile an evseId=0 applies the profile to each individual evse. For ChargingStationMaxProfile and ChargingStationExternalConstraints an evseId=0 contains an overal limit for the whole Charging Station.\r\n",
365
+ "type": "integer"
366
+ },
367
+ "chargingProfile": {
368
+ "$ref": "#/definitions/ChargingProfileType"
369
+ }
370
+ },
371
+ "required": [
372
+ "evseId",
373
+ "chargingProfile"
374
+ ]
375
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-06/schema#",
3
+ "$id": "urn:OCPP:Cp:2:2020:3:SetChargingProfileResponse",
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
+ "ChargingProfileStatusEnumType": {
21
+ "description": "Returns whether the Charging Station has been able to process the message successfully. This does not guarantee the schedule will be followed to the letter. There might be other constraints the Charging Station may need to take into account.\r\n",
22
+ "javaType": "ChargingProfileStatusEnum",
23
+ "type": "string",
24
+ "additionalProperties": false,
25
+ "enum": [
26
+ "Accepted",
27
+ "Rejected"
28
+ ]
29
+ },
30
+ "StatusInfoType": {
31
+ "description": "Element providing more information about the status.\r\n",
32
+ "javaType": "StatusInfo",
33
+ "type": "object",
34
+ "additionalProperties": false,
35
+ "properties": {
36
+ "customData": {
37
+ "$ref": "#/definitions/CustomDataType"
38
+ },
39
+ "reasonCode": {
40
+ "description": "A predefined code for the reason why the status is returned in this response. The string is case-insensitive.\r\n",
41
+ "type": "string",
42
+ "maxLength": 20
43
+ },
44
+ "additionalInfo": {
45
+ "description": "Additional text to provide detailed information.\r\n",
46
+ "type": "string",
47
+ "maxLength": 512
48
+ }
49
+ },
50
+ "required": [
51
+ "reasonCode"
52
+ ]
53
+ }
54
+ },
55
+ "type": "object",
56
+ "additionalProperties": false,
57
+ "properties": {
58
+ "customData": {
59
+ "$ref": "#/definitions/CustomDataType"
60
+ },
61
+ "status": {
62
+ "$ref": "#/definitions/ChargingProfileStatusEnumType"
63
+ },
64
+ "statusInfo": {
65
+ "$ref": "#/definitions/StatusInfoType"
66
+ }
67
+ },
68
+ "required": [
69
+ "status"
70
+ ]
71
+ }
@@ -0,0 +1,193 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-06/schema#",
3
+ "$id": "urn:OCPP:Cp:2:2020:3:SetDisplayMessageRequest",
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
+ "MessageFormatEnumType": {
21
+ "description": "Message_ Content. Format. Message_ Format_ Code\r\nurn:x-enexis:ecdm:uid:1:570848\r\nFormat of the message.\r\n",
22
+ "javaType": "MessageFormatEnum",
23
+ "type": "string",
24
+ "additionalProperties": false,
25
+ "enum": [
26
+ "ASCII",
27
+ "HTML",
28
+ "URI",
29
+ "UTF8"
30
+ ]
31
+ },
32
+ "MessagePriorityEnumType": {
33
+ "description": "Message_ Info. Priority. Message_ Priority_ Code\r\nurn:x-enexis:ecdm:uid:1:569253\r\nWith what priority should this message be shown\r\n",
34
+ "javaType": "MessagePriorityEnum",
35
+ "type": "string",
36
+ "additionalProperties": false,
37
+ "enum": [
38
+ "AlwaysFront",
39
+ "InFront",
40
+ "NormalCycle"
41
+ ]
42
+ },
43
+ "MessageStateEnumType": {
44
+ "description": "Message_ Info. State. Message_ State_ Code\r\nurn:x-enexis:ecdm:uid:1:569254\r\nDuring what state should this message be shown. When omitted this message should be shown in any state of the Charging Station.\r\n",
45
+ "javaType": "MessageStateEnum",
46
+ "type": "string",
47
+ "additionalProperties": false,
48
+ "enum": [
49
+ "Charging",
50
+ "Faulted",
51
+ "Idle",
52
+ "Unavailable"
53
+ ]
54
+ },
55
+ "ComponentType": {
56
+ "description": "A physical or logical component\r\n",
57
+ "javaType": "Component",
58
+ "type": "object",
59
+ "additionalProperties": false,
60
+ "properties": {
61
+ "customData": {
62
+ "$ref": "#/definitions/CustomDataType"
63
+ },
64
+ "evse": {
65
+ "$ref": "#/definitions/EVSEType"
66
+ },
67
+ "name": {
68
+ "description": "Name of the component. Name should be taken from the list of standardized component names whenever possible. Case Insensitive. strongly advised to use Camel Case.\r\n",
69
+ "type": "string",
70
+ "maxLength": 50
71
+ },
72
+ "instance": {
73
+ "description": "Name of instance in case the component exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.\r\n",
74
+ "type": "string",
75
+ "maxLength": 50
76
+ }
77
+ },
78
+ "required": [
79
+ "name"
80
+ ]
81
+ },
82
+ "EVSEType": {
83
+ "description": "EVSE\r\nurn:x-oca:ocpp:uid:2:233123\r\nElectric Vehicle Supply Equipment\r\n",
84
+ "javaType": "EVSE",
85
+ "type": "object",
86
+ "additionalProperties": false,
87
+ "properties": {
88
+ "customData": {
89
+ "$ref": "#/definitions/CustomDataType"
90
+ },
91
+ "id": {
92
+ "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",
93
+ "type": "integer"
94
+ },
95
+ "connectorId": {
96
+ "description": "An id to designate a specific connector (on an EVSE) by connector index number.\r\n",
97
+ "type": "integer"
98
+ }
99
+ },
100
+ "required": [
101
+ "id"
102
+ ]
103
+ },
104
+ "MessageContentType": {
105
+ "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",
106
+ "javaType": "MessageContent",
107
+ "type": "object",
108
+ "additionalProperties": false,
109
+ "properties": {
110
+ "customData": {
111
+ "$ref": "#/definitions/CustomDataType"
112
+ },
113
+ "format": {
114
+ "$ref": "#/definitions/MessageFormatEnumType"
115
+ },
116
+ "language": {
117
+ "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",
118
+ "type": "string",
119
+ "maxLength": 8
120
+ },
121
+ "content": {
122
+ "description": "Message_ Content. Content. Message\r\nurn:x-enexis:ecdm:uid:1:570852\r\nMessage contents.\r\n\r\n",
123
+ "type": "string",
124
+ "maxLength": 512
125
+ }
126
+ },
127
+ "required": [
128
+ "format",
129
+ "content"
130
+ ]
131
+ },
132
+ "MessageInfoType": {
133
+ "description": "Message_ Info\r\nurn:x-enexis:ecdm:uid:2:233264\r\nContains message details, for a message to be displayed on a Charging Station.\r\n",
134
+ "javaType": "MessageInfo",
135
+ "type": "object",
136
+ "additionalProperties": false,
137
+ "properties": {
138
+ "customData": {
139
+ "$ref": "#/definitions/CustomDataType"
140
+ },
141
+ "display": {
142
+ "$ref": "#/definitions/ComponentType"
143
+ },
144
+ "id": {
145
+ "description": "Identified_ Object. MRID. Numeric_ Identifier\r\nurn:x-enexis:ecdm:uid:1:569198\r\nMaster resource identifier, unique within an exchange context. It is defined within the OCPP context as a positive Integer value (greater or equal to zero).\r\n",
146
+ "type": "integer"
147
+ },
148
+ "priority": {
149
+ "$ref": "#/definitions/MessagePriorityEnumType"
150
+ },
151
+ "state": {
152
+ "$ref": "#/definitions/MessageStateEnumType"
153
+ },
154
+ "startDateTime": {
155
+ "description": "Message_ Info. Start. Date_ Time\r\nurn:x-enexis:ecdm:uid:1:569256\r\nFrom what date-time should this message be shown. If omitted: directly.\r\n",
156
+ "type": "string",
157
+ "format": "date-time"
158
+ },
159
+ "endDateTime": {
160
+ "description": "Message_ Info. End. Date_ Time\r\nurn:x-enexis:ecdm:uid:1:569257\r\nUntil what date-time should this message be shown, after this date/time this message SHALL be removed.\r\n",
161
+ "type": "string",
162
+ "format": "date-time"
163
+ },
164
+ "transactionId": {
165
+ "description": "During which transaction shall this message be shown.\r\nMessage SHALL be removed by the Charging Station after transaction has\r\nended.\r\n",
166
+ "type": "string",
167
+ "maxLength": 36
168
+ },
169
+ "message": {
170
+ "$ref": "#/definitions/MessageContentType"
171
+ }
172
+ },
173
+ "required": [
174
+ "id",
175
+ "priority",
176
+ "message"
177
+ ]
178
+ }
179
+ },
180
+ "type": "object",
181
+ "additionalProperties": false,
182
+ "properties": {
183
+ "customData": {
184
+ "$ref": "#/definitions/CustomDataType"
185
+ },
186
+ "message": {
187
+ "$ref": "#/definitions/MessageInfoType"
188
+ }
189
+ },
190
+ "required": [
191
+ "message"
192
+ ]
193
+ }