| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-06/schema#", |
| 3 | "$id": "urn:OCPP:Cp:2:2020:3:GetCompositeScheduleRequest", |
| 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 | "ChargingRateUnitEnumType": { |
| 19 | "description": "Can be used to force a power or current profile.\r\n\r\n", |
| 20 | "javaType": "ChargingRateUnitEnum", |
| 21 | "type": "string", |
| 22 | "additionalProperties": false, |
| 23 | "enum": ["W", "A"] |
| 24 | } |
| 25 | }, |
| 26 | "type": "object", |
| 27 | "additionalProperties": false, |
| 28 | "properties": { |
| 29 | "customData": { |
| 30 | "$ref": "#/definitions/CustomDataType" |
| 31 | }, |
| 32 | "duration": { |
| 33 | "description": "Length of the requested schedule in seconds.\r\n\r\n", |
| 34 | "type": "integer" |
| 35 | }, |
| 36 | "chargingRateUnit": { |
| 37 | "$ref": "#/definitions/ChargingRateUnitEnumType" |
| 38 | }, |
| 39 | "evseId": { |
| 40 | "description": "The ID of the EVSE for which the schedule is requested. When evseid=0, the Charging Station will calculate the expected consumption for the grid connection.\r\n", |
| 41 | "type": "integer" |
| 42 | } |
| 43 | }, |
| 44 | "required": ["duration", "evseId"] |
| 45 | } |