| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | "$id": "urn:OCPP:Cp:2:2020:3:GetInstalledCertificateIdsRequest", |
| 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 | "GetCertificateIdUseEnumType": { |
| 19 | "javaType": "GetCertificateIdUseEnum", |
| 20 | "type": "string", |
| 21 | "additionalProperties": false, |
| 22 | "enum": [ |
| 23 | "V2GRootCertificate", |
| 24 | "MORootCertificate", |
| 25 | "CSMSRootCertificate", |
| 26 | "V2GCertificateChain", |
| 27 | "ManufacturerRootCertificate" |
| 28 | ] |
| 29 | } |
| 30 | }, |
| 31 | "type": "object", |
| 32 | "additionalProperties": false, |
| 33 | "properties": { |
| 34 | "customData": { |
| 35 | "$ref": "#/definitions/CustomDataType" |
| 36 | }, |
| 37 | "certificateType": { |
| 38 | "description": "Indicates the type of certificates requested. When omitted, all certificate types are requested.\r\n", |
| 39 | "type": "array", |
| 40 | "additionalItems": false, |
| 41 | "items": { |
| 42 | "$ref": "#/definitions/GetCertificateIdUseEnumType" |
| 43 | }, |
| 44 | "minItems": 1 |
| 45 | } |
| 46 | } |
| 47 | } |