UNPKG

@luisiseverywhere/ocpp-schema-types

Version:

A project which uses official ocpp schema data (provided by OCA) and generates the types for request and responses of each occp command

75 lines (74 loc) 1.31 kB
{ "$schema": "http://json-schema.org/draft-04/schema#", "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" ] }