Commit | Line | Data |
---|---|---|
d270cc87 | 1 | { |
98fc1389 | 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
d270cc87 | 3 | "$id": "urn:OCPP:Cp:2:2020:3:Get15118EVCertificateRequest", |
98fc1389 | 4 | "$comment": "OCPP 2.0.1 FINAL", |
d270cc87 JB |
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 | "CertificateActionEnumType": { | |
19 | "description": "Defines whether certificate needs to be installed or updated.\r\n", | |
20 | "javaType": "CertificateActionEnum", | |
21 | "type": "string", | |
22 | "additionalProperties": false, | |
23 | "enum": ["Install", "Update"] | |
24 | } | |
25 | }, | |
26 | "type": "object", | |
27 | "additionalProperties": false, | |
28 | "properties": { | |
29 | "customData": { | |
30 | "$ref": "#/definitions/CustomDataType" | |
31 | }, | |
32 | "iso15118SchemaVersion": { | |
33 | "description": "Schema version currently used for the 15118 session between EV and Charging Station. Needed for parsing of the EXI stream by the CSMS.\r\n\r\n", | |
34 | "type": "string", | |
35 | "maxLength": 50 | |
36 | }, | |
37 | "action": { | |
38 | "$ref": "#/definitions/CertificateActionEnumType" | |
39 | }, | |
40 | "exiRequest": { | |
41 | "description": "Raw CertificateInstallationReq request from EV, Base64 encoded.\r\n", | |
42 | "type": "string", | |
43 | "maxLength": 5600 | |
44 | } | |
45 | }, | |
46 | "required": ["iso15118SchemaVersion", "action", "exiRequest"] | |
47 | } |