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