| 1 |
{ |
| 2 |
"$schema": "http://json-schema.org/draft-06/schema#", |
| 3 |
"comment": "OCPP 2.0.1 FINAL", |
| 4 |
"definitions": { |
| 5 |
"CustomDataType": { |
| 6 |
"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.", |
| 7 |
"javaType": "CustomData", |
| 8 |
"type": "object", |
| 9 |
"properties": { |
| 10 |
"vendorId": { |
| 11 |
"type": "string", |
| 12 |
"maxLength": 255 |
| 13 |
} |
| 14 |
}, |
| 15 |
"required": [ |
| 16 |
"vendorId" |
| 17 |
] |
| 18 |
}, |
| 19 |
"CertificateActionEnumType": { |
| 20 |
"description": "Defines whether certificate needs to be installed or updated.\r\n", |
| 21 |
"javaType": "CertificateActionEnum", |
| 22 |
"type": "string", |
| 23 |
"additionalProperties": false, |
| 24 |
"enum": [ |
| 25 |
"Install", |
| 26 |
"Update" |
| 27 |
] |
| 28 |
} |
| 29 |
}, |
| 30 |
"type": "object", |
| 31 |
"additionalProperties": false, |
| 32 |
"properties": { |
| 33 |
"customData": { |
| 34 |
"$ref": "#/definitions/CustomDataType" |
| 35 |
}, |
| 36 |
"iso15118SchemaVersion": { |
| 37 |
"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", |
| 38 |
"type": "string", |
| 39 |
"maxLength": 50 |
| 40 |
}, |
| 41 |
"action": { |
| 42 |
"$ref": "#/definitions/CertificateActionEnumType" |
| 43 |
}, |
| 44 |
"exiRequest": { |
| 45 |
"description": "Raw CertificateInstallationReq request from EV, Base64 encoded.\r\n", |
| 46 |
"type": "string", |
| 47 |
"maxLength": 5600 |
| 48 |
} |
| 49 |
}, |
| 50 |
"required": [ |
| 51 |
"iso15118SchemaVersion", |
| 52 |
"action", |
| 53 |
"exiRequest" |
| 54 |
] |
| 55 |
} |