Commit | Line | Data |
---|---|---|
d270cc87 JB |
1 | { |
2 | "$schema": "http://json-schema.org/draft-06/schema#", | |
3 | "$id": "urn:OCPP:Cp:2:2020:3:GetCertificateStatusRequest", | |
4 | "comment": "OCPP 2.0.1 FINAL", | |
5 | "definitions": { | |
6 | "CustomDataType": { | |
7 | "description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.", | |
8 | "javaType": "CustomData", | |
9 | "type": "object", | |
10 | "properties": { | |
11 | "vendorId": { | |
12 | "type": "string", | |
13 | "maxLength": 255 | |
14 | } | |
15 | }, | |
16 | "required": ["vendorId"] | |
17 | }, | |
18 | "HashAlgorithmEnumType": { | |
19 | "description": "Used algorithms for the hashes provided.\r\n", | |
20 | "javaType": "HashAlgorithmEnum", | |
21 | "type": "string", | |
22 | "additionalProperties": false, | |
23 | "enum": ["SHA256", "SHA384", "SHA512"] | |
24 | }, | |
25 | "OCSPRequestDataType": { | |
26 | "javaType": "OCSPRequestData", | |
27 | "type": "object", | |
28 | "additionalProperties": false, | |
29 | "properties": { | |
30 | "customData": { | |
31 | "$ref": "#/definitions/CustomDataType" | |
32 | }, | |
33 | "hashAlgorithm": { | |
34 | "$ref": "#/definitions/HashAlgorithmEnumType" | |
35 | }, | |
36 | "issuerNameHash": { | |
37 | "description": "Hashed value of the Issuer DN (Distinguished Name).\r\n\r\n", | |
38 | "type": "string", | |
39 | "maxLength": 128 | |
40 | }, | |
41 | "issuerKeyHash": { | |
42 | "description": "Hashed value of the issuers public key\r\n", | |
43 | "type": "string", | |
44 | "maxLength": 128 | |
45 | }, | |
46 | "serialNumber": { | |
47 | "description": "The serial number of the certificate.\r\n", | |
48 | "type": "string", | |
49 | "maxLength": 40 | |
50 | }, | |
51 | "responderURL": { | |
52 | "description": "This contains the responder URL (Case insensitive). \r\n\r\n", | |
53 | "type": "string", | |
54 | "maxLength": 512 | |
55 | } | |
56 | }, | |
57 | "required": [ | |
58 | "hashAlgorithm", | |
59 | "issuerNameHash", | |
60 | "issuerKeyHash", | |
61 | "serialNumber", | |
62 | "responderURL" | |
63 | ] | |
64 | } | |
65 | }, | |
66 | "type": "object", | |
67 | "additionalProperties": false, | |
68 | "properties": { | |
69 | "customData": { | |
70 | "$ref": "#/definitions/CustomDataType" | |
71 | }, | |
72 | "ocspRequestData": { | |
73 | "$ref": "#/definitions/OCSPRequestDataType" | |
74 | } | |
75 | }, | |
76 | "required": ["ocspRequestData"] | |
77 | } |