{
    "title": "daily plan projection",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.dailyplan.projections.items.year.DatePeriodItem",
    "type": "object",
    "required": [
        "schedule"
    ],
    "properties": {
        "schedule": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "scheduleOrderName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "workflow": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "period": {
            "javaType": "com.sos.inventory.model.calendar.Period",
            "type": "object",
            "properties": {
                "singleStart": {
                    "type": "string",
                    "pattern": "^([0-1][0-9]|2[0-4])(:[0-5][0-9]){1,2}$"
                },
                "begin": {
                    "type": "string",
                    "pattern": "^([0-1][0-9]|2[0-4])(:[0-5][0-9]){1,2}$"
                },
                "end": {
                    "type": "string",
                    "pattern": "^([0-1][0-9]|2[0-4])(:[0-5][0-9]){1,2}$"
                },
                "repeat": {
                    "type": "string",
                    "pattern": "^([0-1][0-9]|2[0-4])(:[0-5][0-9]){1,2}$"
                },
                "whenHoliday": {
                    "javaType": "com.sos.inventory.model.calendar.WhenHolidayType",
                    "description": "default: SUPPRESS",
                    "type": "string",
                    "enum": [
                        "SUPPRESS",
                        "IGNORE",
                        "PREVIOUSNONWORKINGDAY",
                        "NEXTNONWORKINGDAY"
                    ]
                }
            }
        }
    }
}