{
    "title": "Filter Inventory search",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.inventory.search.RequestQuickSearchFilter",
    "type": "object",
    "extends": {
        "javaType": "com.sos.joc.model.inventory.search.RequestBaseQuickSearchFilter",
        "type": "object",
        "required": [
            "search"
        ],
        "description": "returnType can only be set with starting a new search, i. e. empty token",
        "properties": {
            "search": {
                "description": "pattern with wildcards '*' and '?' where '*' match zero or more characters and '?' match any single character",
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255
            },
            "token": {
                "type": "string",
                "pattern": "^[0-9a-fA-F]*$",
                "maxLength": 64
            },
            "quit": {
                "type": "boolean",
                "default": false
            }
        },
        "additionalProperties": false
    },
    "required": [
        "search"
    ],
    "description": "returnType can only be set with starting a new search, i. e. empty token",
    "properties": {
        "returnTypes": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.inventory.search.RequestSearchReturnType",
                "type": "string",
                "enum": [
                    "WORKFLOW",
                    "FILEORDERSOURCE",
                    "JOBRESOURCE",
                    "JOBTEMPLATE",
                    "NOTICEBOARD",
                    "LOCK",
                    "SCHEDULE",
                    "INCLUDESCRIPT",
                    "CALENDAR"
                ]
            }
        }
    },
    "additionalProperties": false
}