{
    "title": "Inventory search response item",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.inventory.search.ResponseSearchItem",
    "type": "object",
    "required": [
        "name",
        "path",
        "objectType"
    ],
    "properties": {
        "id": {
            "type": "number",
            "format": "utc-millisec",
            "minimum": 0
        },
        "path": {
            "description": "absolute path of an object.",
            "type": "string",
            "pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
            "maxLength": 255,
            "minLength": 1
        },
        "name": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "objectType": {
            "javaType": "com.sos.joc.model.inventory.common.ConfigurationType",
            "type": "string",
            "enum": [
                "FOLDER",
                "WORKFLOW",
                "JOBCLASS",
                "JOBRESOURCE",
                "LOCK",
                "NOTICEBOARD",
                "FILEORDERSOURCE",
                "WORKINGDAYSCALENDAR",
                "NONWORKINGDAYSCALENDAR",
                "SCHEDULE",
                "INCLUDESCRIPT",
                "JOB"
            ]
        },
        "title": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "valid": {
            "type": "boolean"
        },
        "deleted": {
            "type": "boolean"
        },
        "deployed": {
            "type": "boolean"
        },
        "released": {
            "type": "boolean"
        },
        "hasDeployments": {
            "type": "boolean"
        },
        "hasReleases": {
            "type": "boolean"
        },
        "controllerId": {
            "type": "string",
            "pattern": "^[^/\\<>?:\"|*]*$",
            "maxLength": 100
        },
        "permitted": {
            "type": "boolean"
        }
    }
}