| 1 |
{ |
| 2 |
"$schema": "http://json-schema.org/draft-06/schema#", |
| 3 |
"$id": "urn:OCPP:Cp:1.6:2020:3:DeleteCertificate.req", |
| 4 |
"definitions": { |
| 5 |
"HashAlgorithmEnumType": { |
| 6 |
"type": "string", |
| 7 |
"additionalProperties": false, |
| 8 |
"enum": [ |
| 9 |
"SHA256", |
| 10 |
"SHA384", |
| 11 |
"SHA512" |
| 12 |
] |
| 13 |
}, |
| 14 |
"CertificateHashDataType": { |
| 15 |
"type": "object", |
| 16 |
"additionalProperties": false, |
| 17 |
"properties": { |
| 18 |
"hashAlgorithm": { |
| 19 |
"$ref": "#/definitions/HashAlgorithmEnumType" |
| 20 |
}, |
| 21 |
"issuerNameHash": { |
| 22 |
"type": "string", |
| 23 |
"maxLength": 128 |
| 24 |
}, |
| 25 |
"issuerKeyHash": { |
| 26 |
"type": "string", |
| 27 |
"maxLength": 128 |
| 28 |
}, |
| 29 |
"serialNumber": { |
| 30 |
"type": "string", |
| 31 |
"maxLength": 40 |
| 32 |
} |
| 33 |
}, |
| 34 |
"required": [ |
| 35 |
"hashAlgorithm", |
| 36 |
"issuerNameHash", |
| 37 |
"issuerKeyHash", |
| 38 |
"serialNumber" |
| 39 |
] |
| 40 |
} |
| 41 |
}, |
| 42 |
"type": "object", |
| 43 |
"additionalProperties": false, |
| 44 |
"properties": { |
| 45 |
"certificateHashData": { |
| 46 |
"$ref": "#/definitions/CertificateHashDataType" |
| 47 |
} |
| 48 |
}, |
| 49 |
"required": [ |
| 50 |
"certificateHashData" |
| 51 |
] |
| 52 |
} |