{
    "title": "folder item",
    "id": "schemas/joe/other/folderItem",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.joe.other.FolderItem",
    "type": "object",
    "required": [
        "name",
        "deployed",
        "deleted"
    ],
    "properties": {
        "name": {
            "type": "string"
        },
        "deployed": {
            "type": "boolean",
            "default": false
        },
        "deleted": {
            "type": "boolean",
            "default": false
        },
        "title": {
            "type": "string"
        },
        "processClass": {
            "description": "for jobs and job chains",
            "type": "string"
        },
        "isOrderJob": {
            "description": "for jobs",
            "type": "boolean"
        },
        "priority": {
            "description": "for orders",
            "type": "string"
        },
        "initialState": {
            "description": "for orders",
            "type": "string"
        },
        "endState": {
            "description": "for orders",
            "type": "string"
        },
        "maxProcesses": {
            "id": "schemas/common/nonNegativeInteger",
            "type": "integer",
            "minimum": 0
        },
        "maxNonExclusive": {
            "id": "schemas/common/nonNegativeInteger",
            "type": "integer",
            "minimum": 0
        },
        "validFrom": {
            "description": "for schedule: yyyy-mm-dd HH:MM[:SS]",
            "type": "string"
        },
        "validTo": {
            "description": "for schedule: yyyy-mm-dd HH:MM[:SS]",
            "type": "string"
        },
        "substitute": {
            "description": "for schedule: path to another schedule",
            "type": "string"
        }
    }
}