{
    "title": "process classes (permanent part)",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.processClass.ProcessClassesP",
    "type": "object",
    "required": [
        "deliveryDate",
        "processClasses"
    ],
    "properties": {
        "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"
        },
        "processClasses": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.processClass.ProcessClassP",
                "type": "object",
                "required": [
                    "surveyDate",
                    "path",
                    "name",
                    "maxProcesses"
                ],
                "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
                    },
                    "name": {
                        "type": "string"
                    },
                    "maxProcesses": {
                        "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
                    }
                }
            }
        }
    }
}