Authorize OCPP 1.6
Der Simulator sendet diese Nachricht als Ladepunkt.
Auch in: OCPP 2.0.1, OCPP 2.1
Request
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
idTag | string | Pflicht | maxLength 20 |
JSON-Schema (Request)
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "AuthorizeRequest",
"type": "object",
"properties": {
"idTag": {
"type": "string",
"maxLength": 20
}
},
"additionalProperties": false,
"required": [
"idTag"
]
}Response
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
idTagInfo | object | Pflicht | |
idTagInfo.expiryDate | string | format date-time | |
idTagInfo.parentIdTag | string | maxLength 20 | |
idTagInfo.status | string | Pflicht | enum: Accepted, Blocked, Expired, Invalid, ConcurrentTx |
JSON-Schema (Response)
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "AuthorizeResponse",
"type": "object",
"properties": {
"idTagInfo": {
"type": "object",
"properties": {
"expiryDate": {
"type": "string",
"format": "date-time"
},
"parentIdTag": {
"type": "string",
"maxLength": 20
},
"status": {
"type": "string",
"additionalProperties": false,
"enum": [
"Accepted",
"Blocked",
"Expired",
"Invalid",
"ConcurrentTx"
]
}
},
"additionalProperties": false,
"required": [
"status"
]
}
},
"additionalProperties": false,
"required": [
"idTagInfo"
]
}Quelle: Open Charge Alliance, OCPP 1.6 – JSON-Schemas, unverändert wiedergegeben. © Open Charge Alliance. Lizenz: CC BY-ND 4.0. Die vollständige Spezifikation gibt es bei der Open Charge Alliance. ocpp-sim ist nicht mit der OCA verbunden.