DeleteCertificate OCPP 1.6
Der Simulator antwortet mit NotSupported, prüft die Nachricht aber gegen das Schema.
Auch in: OCPP 2.0.1, OCPP 2.1
Request
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
certificateHashData | object | Pflicht | |
certificateHashData.hashAlgorithm | string | Pflicht | enum: SHA256, SHA384, SHA512 |
certificateHashData.issuerNameHash | string | Pflicht | maxLength 128 |
certificateHashData.issuerKeyHash | string | Pflicht | maxLength 128 |
certificateHashData.serialNumber | string | Pflicht | maxLength 40 |
JSON-Schema (Request)
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "urn:OCPP:Cp:1.6:2020:3:DeleteCertificate.req",
"definitions": {
"HashAlgorithmEnumType": {
"type": "string",
"additionalProperties": false,
"enum": [
"SHA256",
"SHA384",
"SHA512"
]
},
"CertificateHashDataType": {
"type": "object",
"additionalProperties": false,
"properties": {
"hashAlgorithm": {
"$ref": "#/definitions/HashAlgorithmEnumType"
},
"issuerNameHash": {
"type": "string",
"maxLength": 128
},
"issuerKeyHash": {
"type": "string",
"maxLength": 128
},
"serialNumber": {
"type": "string",
"maxLength": 40
}
},
"required": [
"hashAlgorithm",
"issuerNameHash",
"issuerKeyHash",
"serialNumber"
]
}
},
"type": "object",
"additionalProperties": false,
"properties": {
"certificateHashData": {
"$ref": "#/definitions/CertificateHashDataType"
}
},
"required": [
"certificateHashData"
]
}Response
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
status | string | Pflicht | enum: Accepted, Failed, NotFound |
JSON-Schema (Response)
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "urn:OCPP:Cp:1.6:2020:3:DeleteCertificate.conf",
"definitions": {
"DeleteCertificateStatusEnumType": {
"type": "string",
"additionalProperties": false,
"enum": [
"Accepted",
"Failed",
"NotFound"
]
}
},
"type": "object",
"additionalProperties": false,
"properties": {
"status": {
"$ref": "#/definitions/DeleteCertificateStatusEnumType"
}
},
"required": [
"status"
]
}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.