Fixes to OCA OCPP 2.0.1 JSON schemas
[e-mobility-charging-stations-simulator.git] / src / assets / json-schemas / ocpp / 2.0 / InstallCertificateRequest.json
CommitLineData
d270cc87 1{
98fc1389 2 "$schema": "http://json-schema.org/draft-07/schema#",
d270cc87 3 "$id": "urn:OCPP:Cp:2:2020:3:InstallCertificateRequest",
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 "InstallCertificateUseEnumType": {
19 "description": "Indicates the certificate type that is sent.\r\n",
20 "javaType": "InstallCertificateUseEnum",
21 "type": "string",
22 "additionalProperties": false,
23 "enum": [
24 "V2GRootCertificate",
25 "MORootCertificate",
26 "CSMSRootCertificate",
27 "ManufacturerRootCertificate"
28 ]
29 }
30 },
31 "type": "object",
32 "additionalProperties": false,
33 "properties": {
34 "customData": {
35 "$ref": "#/definitions/CustomDataType"
36 },
37 "certificateType": {
38 "$ref": "#/definitions/InstallCertificateUseEnumType"
39 },
40 "certificate": {
41 "description": "A PEM encoded X.509 certificate.\r\n",
42 "type": "string",
43 "maxLength": 5500
44 }
45 },
46 "required": ["certificateType", "certificate"]
47}