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