StatusNotification.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "id": "urn:OCPP:1.6:2019:12:StatusNotificationRequest",
  4. "title": "StatusNotificationRequest",
  5. "type": "object",
  6. "properties": {
  7. "connectorId": {
  8. "type": "integer"
  9. },
  10. "errorCode": {
  11. "type": "string",
  12. "additionalProperties": false,
  13. "enum": [
  14. "ConnectorLockFailure",
  15. "EVCommunicationError",
  16. "GroundFailure",
  17. "HighTemperature",
  18. "InternalError",
  19. "LocalListConflict",
  20. "NoError",
  21. "OtherError",
  22. "OverCurrentFailure",
  23. "PowerMeterFailure",
  24. "PowerSwitchFailure",
  25. "ReaderFailure",
  26. "ResetFailure",
  27. "UnderVoltage",
  28. "OverVoltage",
  29. "WeakSignal"
  30. ]
  31. },
  32. "info": {
  33. "type": "string",
  34. "maxLength": 50
  35. },
  36. "status": {
  37. "type": "string",
  38. "additionalProperties": false,
  39. "enum": [
  40. "Available",
  41. "Preparing",
  42. "Charging",
  43. "SuspendedEVSE",
  44. "SuspendedEV",
  45. "Finishing",
  46. "Reserved",
  47. "Unavailable",
  48. "Faulted"
  49. ]
  50. },
  51. "timestamp": {
  52. "type": "string",
  53. "format": "date-time"
  54. },
  55. "vendorId": {
  56. "type": "string",
  57. "maxLength": 255
  58. },
  59. "vendorErrorCode": {
  60. "type": "string",
  61. "maxLength": 50
  62. }
  63. },
  64. "additionalProperties": false,
  65. "required": [
  66. "connectorId",
  67. "errorCode",
  68. "status"
  69. ]
  70. }