UNPKG

ocpp-standard-schema

Version:

Contains OCPP JSON schemas for validation purposes

74 lines (73 loc) 2.11 kB
{ "title": "GetCompositeScheduleResponse", "type": "object", "properties": { "status": { "type": "string", "enum": [ "Accepted", "Rejected" ] }, "connectorId": { "type": "integer" }, "scheduleStart": { "type": "string", "format": "date-time" }, "chargingSchedule": { "type": "object", "properties": { "duration": { "type": "integer" }, "startSchedule": { "type": "string", "format": "date-time" }, "chargingRateUnit": { "type": "string", "enum": [ "A", "W" ] }, "chargingSchedulePeriod": { "type": "array", "items": { "type": "object", "properties": { "startPeriod": { "type": "integer" }, "limit": { "type": "number", "multipleOf": 0.1 }, "numberPhases": { "type": "integer" } }, "required": [ "startPeriod", "limit" ] } }, "minChargingRate": { "type": "number", "multipleOf": 0.1 } }, "required": [ "chargingRateUnit", "chargingSchedulePeriod" ] } }, "additionalProperties": false, "required": [ "status" ] }