{
    "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"]
        }
    }
}
