{
    "title": "daily plan projection",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.dailyplan.projections.items.meta.ScheduleInfoItem",
    "type": "object",
    "required": [
        "totalOrders",
        "workflows"
    ],
    "properties": {
        "totalOrders": {
            "type": "number",
            "format": "utc-millisec",
            "minimum": 0
        },
        "orderNames": {
            "description": "this property is only set if the schedule defines orders",
            "type": "array",
            "uniqueItems": true,
            "items": {
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255
            }
        },
        "workflows": {
            "javaType": "com.sos.joc.model.dailyplan.projections.items.meta.WorkflowsItem",
            "type": "object",
            "additionalProperties": {
                "javaType": "com.sos.joc.model.dailyplan.projections.items.meta.WorkflowItem",
                "type": "object",
                "properties": {
                    "avg": {
                        "type": "number",
                        "format": "utc-millisec",
                        "minimum": 0
                    }
                },
                "additionalProperties": false
            }
        },
        "workflowPaths": {
            "description": "this property is only used for a shorter response of ./projections/day API",
            "type": "array",
            "uniqueItems": true,
            "items": {
                "description": "absolute path of an object.",
                "type": "string",
                "pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
                "maxLength": 255,
                "minLength": 1
            }
        },
        "excludedFromProjection": {
            "type": "boolean"
        }
    },
    "additionalProperties": false
}