{
    "title": "run history filter",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.reporting.RunHistoryFilter",
    "type": "object",
    "extends": {
        "javaType": "com.sos.joc.model.reporting.ReportPaths",
        "type": "object",
        "properties": {
            "reportPaths": {
                "type": "array",
                "uniqueItems": true,
                "items": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255,
                    "minLength": 1
                }
            }
        },
        "additionalProperties": false
    },
    "properties": {
        "templateNames": {
            "type": "array",
            "uniqueItems": true,
            "items": {
                "javaType": "com.sos.inventory.model.report.TemplateId",
                "type": "string",
                "enum": [
                    "WORKFLOWS_FREQUENTLY_FAILED",
                    "JOBS_FREQUENTLY_FAILED",
                    "AGENTS_PARALLEL_JOB_EXECUTIONS",
                    "JOBS_HIGH_LOW_EXECUTION_PERIODS",
                    "JOBS_EXECUTIONS_FREQUENCY",
                    "ORDERS_EXECUTIONS_FREQUENCY",
                    "WORKFLOWS_LONGEST_EXECUTION_TIMES",
                    "JOBS_LONGEST_EXECUTION_TIMES",
                    "PERIODS_MOST_ORDER_EXECUTIONS",
                    "PERIODS_MOST_JOB_EXECUTIONS"
                ]
            }
        },
        "states": {
            "type": "array",
            "uniqueItems": true,
            "items": {
                "javaType": "com.sos.joc.model.reporting.ReportRunStateText",
                "type": "string",
                "enum": [
                    "SUCCESSFUL",
                    "FAILED",
                    "IN_PROGRESS",
                    "UNKNOWN"
                ]
            }
        }
    },
    "additionalProperties": false
}