UNPKG

@citrineos/base

Version:

The base module for OCPP v2.0.1 including all interfaces. This module is not intended to be used directly, but rather as a dependency for other modules.

75 lines (74 loc) 2.47 kB
{ "title": "GetCompositeScheduleResponse", "type": "object", "properties": { "status": { "$ref": "#/definitions/GetCompositeScheduleResponseStatus" }, "connectorId": { "type": "integer" }, "scheduleStart": { "type": "string", "format": "date-time" }, "chargingSchedule": { "type": "object", "properties": { "duration": { "type": "integer" }, "startSchedule": { "type": "string", "format": "date-time" }, "chargingRateUnit": { "$ref": "#/definitions/GetCompositeScheduleResponseChargingRateUnit" }, "chargingSchedulePeriod": { "type": "array", "items": { "type": "object", "properties": { "startPeriod": { "type": "integer" }, "limit": { "type": "number", "multipleOf": 0.1 }, "numberPhases": { "type": "integer" } }, "additionalProperties": false, "required": ["startPeriod", "limit"] } }, "minChargingRate": { "type": "number", "multipleOf": 0.1 } }, "additionalProperties": false, "required": ["chargingRateUnit", "chargingSchedulePeriod"] } }, "additionalProperties": false, "required": ["status"], "$id": "GetCompositeScheduleResponse", "definitions": { "GetCompositeScheduleResponseStatus": { "type": "string", "additionalProperties": false, "enum": ["Accepted", "Rejected"], "tsEnumNames": ["Accepted", "Rejected"] }, "GetCompositeScheduleResponseChargingRateUnit": { "type": "string", "additionalProperties": false, "enum": ["A", "W"], "tsEnumNames": ["A", "W"] } } }