{
    "title": "order (permanent part)",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.order.OrderP",
    "type": "object",
    "description": "compact=true then ONLY surveyDate, path, id, jobChain and _type are responded, title is optional",
    "required": [
        "surveyDate",
        "path",
        "orderId",
        "jobChain",
        "estimatedDuration"
    ],
    "properties": {
        "surveyDate": {
            "description": "Date of the inventory data. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
            "type": "string",
            "format": "date-time"
        },
        "path": {
            "description": "absolute path based on live folder of a JobScheduler object.",
            "type": "string",
            "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
            "maxLength": 255
        },
        "orderId": {
            "type": "string"
        },
        "jobChain": {
            "description": "absolute path based on live folder of a JobScheduler object.",
            "type": "string",
            "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
            "maxLength": 255
        },
        "priority": {
            "type": "integer",
            "minimum": 0
        },
        "_type": {
            "javaType": "com.sos.joc.model.order.OrderType",
            "type": "string",
            "description": "the type of the order",
            "enum": [
                "PERMANENT",
                "AD_HOC",
                "FILE_ORDER"
            ]
        },
        "title": {
            "type": "string"
        },
        "initialState": {
            "description": "the name of the start node",
            "type": "string"
        },
        "endState": {
            "description": "the name of the end node",
            "type": "string"
        },
        "estimatedDuration": {
            "type": "integer",
            "minimum": 0
        },
        "configurationDate": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "documentation": {
            "description": "absolute path based on live folder of a JobScheduler object.",
            "type": "string",
            "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
            "maxLength": 255
        }
    }
}