{
    "title": "collections of objects which use calendar",
    "id": "schemas/calendar/usedBy",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.calendar.UsedBy",
    "type": "object",
    "required": [
        "deliveryDate"
    ],
    "properties": {
        "deliveryDate": {
            "id": "schemas/common/deliveryDate",
            "description": "Current date of the JOC server/REST service. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
            "type": "string",
            "format": "date-time"
        },
        "jobs": {
            "type": "array",
            "items": {
                "id": "schemas/common/path",
                "description": "absolute path based on live folder of a JobScheduler object.",
                "type": "string",
                "pattern": "/([^/]+/)*[^/]+"
            }
        },
        "orders": {
            "type": "array",
            "items": {
                "id": "schemas/common/path",
                "description": "absolute path based on live folder of a JobScheduler object.",
                "type": "string",
                "pattern": "/([^/]+/)*[^/]+"
            }
        },
        "schedules": {
            "type": "array",
            "items": {
                "id": "schemas/common/path",
                "description": "absolute path based on live folder of a JobScheduler object.",
                "type": "string",
                "pattern": "/([^/]+/)*[^/]+"
            }
        }
    }
}