{
    "title": "Inventory advanced search",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.inventory.search.RequestSearchAdvancedItem",
    "type": "object",
    "properties": {
        "agentName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "workflow": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "fileOrderSource": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "lock": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "schedule": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "includeScript": {
            "alias": "includeScripts",
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "calendar": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "noticeBoard": {
            "alias": "noticeBoards",
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "jobResource": {
            "alias": "jobResources",
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "jobTemplate": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "jobName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "jobNameExactMatch": {
            "type": "boolean",
            "default": false
        },
        "jobCriticality": {
            "javaType": "com.sos.inventory.model.job.JobCriticality",
            "type": "string",
            "enum": [
                "NORMAL",
                "CRITICAL"
            ]
        },
        "jobCountFrom": {
            "type": "integer",
            "minimum": 0
        },
        "jobCountTo": {
            "type": "integer",
            "minimum": 0
        },
        "jobScript": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "argumentName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "argumentValue": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "envName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "envValue": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        }
    },
    "additionalProperties": false
}