71 lines
1.8 KiB
JSON
71 lines
1.8 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"id": "urn:OCPP:1.6:2019:12:StatusNotificationRequest",
|
|
"title": "StatusNotificationRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"connectorId": {
|
|
"type": "integer"
|
|
},
|
|
"errorCode": {
|
|
"type": "string",
|
|
"additionalProperties": false,
|
|
"enum": [
|
|
"ConnectorLockFailure",
|
|
"EVCommunicationError",
|
|
"GroundFailure",
|
|
"HighTemperature",
|
|
"InternalError",
|
|
"LocalListConflict",
|
|
"NoError",
|
|
"OtherError",
|
|
"OverCurrentFailure",
|
|
"PowerMeterFailure",
|
|
"PowerSwitchFailure",
|
|
"ReaderFailure",
|
|
"ResetFailure",
|
|
"UnderVoltage",
|
|
"OverVoltage",
|
|
"WeakSignal"
|
|
]
|
|
},
|
|
"info": {
|
|
"type": "string",
|
|
"maxLength": 50
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"additionalProperties": false,
|
|
"enum": [
|
|
"Available",
|
|
"Preparing",
|
|
"Charging",
|
|
"SuspendedEVSE",
|
|
"SuspendedEV",
|
|
"Finishing",
|
|
"Reserved",
|
|
"Unavailable",
|
|
"Faulted"
|
|
]
|
|
},
|
|
"timestamp": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"vendorId": {
|
|
"type": "string",
|
|
"maxLength": 255
|
|
},
|
|
"vendorErrorCode": {
|
|
"type": "string",
|
|
"maxLength": 50
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"connectorId",
|
|
"errorCode",
|
|
"status"
|
|
]
|
|
}
|