| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-07/schema", |
| 3 | "$id": "urn:OCPP:1.6:2019:12:GetCompositeScheduleResponse", |
| 4 | "title": "GetCompositeScheduleResponse", |
| 5 | "type": "object", |
| 6 | "properties": { |
| 7 | "status": { |
| 8 | "type": "string", |
| 9 | "additionalProperties": false, |
| 10 | "enum": ["Accepted", "Rejected"] |
| 11 | }, |
| 12 | "connectorId": { |
| 13 | "type": "integer" |
| 14 | }, |
| 15 | "scheduleStart": { |
| 16 | "type": "string", |
| 17 | "format": "date-time" |
| 18 | }, |
| 19 | "chargingSchedule": { |
| 20 | "type": "object", |
| 21 | "properties": { |
| 22 | "duration": { |
| 23 | "type": "integer" |
| 24 | }, |
| 25 | "startSchedule": { |
| 26 | "type": "string", |
| 27 | "format": "date-time" |
| 28 | }, |
| 29 | "chargingRateUnit": { |
| 30 | "type": "string", |
| 31 | "additionalProperties": false, |
| 32 | "enum": ["A", "W"] |
| 33 | }, |
| 34 | "chargingSchedulePeriod": { |
| 35 | "type": "array", |
| 36 | "items": { |
| 37 | "type": "object", |
| 38 | "properties": { |
| 39 | "startPeriod": { |
| 40 | "type": "integer" |
| 41 | }, |
| 42 | "limit": { |
| 43 | "type": "number", |
| 44 | "multipleOf": 0.1 |
| 45 | }, |
| 46 | "numberPhases": { |
| 47 | "type": "integer" |
| 48 | } |
| 49 | }, |
| 50 | "additionalProperties": false, |
| 51 | "required": ["startPeriod", "limit"] |
| 52 | } |
| 53 | }, |
| 54 | "minChargingRate": { |
| 55 | "type": "number", |
| 56 | "multipleOf": 0.1 |
| 57 | } |
| 58 | }, |
| 59 | "additionalProperties": false, |
| 60 | "required": ["chargingRateUnit", "chargingSchedulePeriod"] |
| 61 | } |
| 62 | }, |
| 63 | "additionalProperties": false, |
| 64 | "required": ["status"] |
| 65 | } |