Commit | Line | Data |
---|---|---|
61f26ca6 JB |
1 | { |
2 | "$schema": "http://json-schema.org/draft-07/schema#", | |
3 | "$id": "urn:OCPP:Cp:1.6:2020:3:GetInstalledCertificateIds.conf", | |
4 | "definitions": { | |
5 | "GetInstalledCertificateStatusEnumType": { | |
6 | "type": "string", | |
7 | "additionalProperties": false, | |
8 | "enum": ["Accepted", "NotFound"] | |
9 | }, | |
10 | "HashAlgorithmEnumType": { | |
11 | "type": "string", | |
12 | "additionalProperties": false, | |
13 | "enum": ["SHA256", "SHA384", "SHA512"] | |
14 | }, | |
15 | "CertificateHashDataType": { | |
16 | "javaType": "CertificateHashData", | |
17 | "type": "object", | |
18 | "additionalProperties": false, | |
19 | "properties": { | |
20 | "hashAlgorithm": { | |
21 | "$ref": "#/definitions/HashAlgorithmEnumType" | |
22 | }, | |
23 | "issuerNameHash": { | |
24 | "type": "string", | |
25 | "maxLength": 128 | |
26 | }, | |
27 | "issuerKeyHash": { | |
28 | "type": "string", | |
29 | "maxLength": 128 | |
30 | }, | |
31 | "serialNumber": { | |
32 | "type": "string", | |
33 | "maxLength": 40 | |
34 | } | |
35 | }, | |
36 | "required": ["hashAlgorithm", "issuerNameHash", "issuerKeyHash", "serialNumber"] | |
37 | } | |
38 | }, | |
39 | "type": "object", | |
40 | "additionalProperties": false, | |
41 | "properties": { | |
42 | "certificateHashData": { | |
43 | "type": "array", | |
44 | "additionalItems": false, | |
45 | "items": { | |
46 | "$ref": "#/definitions/CertificateHashDataType" | |
47 | }, | |
48 | "minItems": 1 | |
49 | }, | |
50 | "status": { | |
51 | "$ref": "#/definitions/GetInstalledCertificateStatusEnumType" | |
52 | } | |
53 | }, | |
54 | "required": ["status"] | |
55 | } |