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