{
    "title": "JS Object configuration",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.publish.ControllerObject",
    "type": "object",
    "properties": {
        "id": {
            "type": "number",
            "format": "utc-millisec",
            "minimum": 0
        },
        "account": {
            "type": "string"
        },
        "path": {
            "description": "absolute path of an object.",
            "type": "string",
            "pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
            "maxLength": 255,
            "minLength": 1
        },
        "objectType": {
            "javaType": "com.sos.inventory.model.deploy.DeployType",
            "type": "string",
            "enum": [
                "Workflow",
                "JobClass",
                "Lock",
                "FileWatch",
                "JobResource",
                "Board"
            ],
            "javaEnumNames": [
                "Workflow",
                "JobClass",
                "Lock",
                "FileWatch",
                "JobResource",
                "Board"
            ],
            "default": "Workflow"
        },
        "content": {
            "type": "object",
            "javaType": "com.sos.joc.model.common.IDeployObject"
        },
        "signedContent": {
            "type": "string"
        },
        "version": {
            "type": "string"
        },
        "commitId": {
            "type": "string"
        },
        "comment": {
            "type": "string"
        },
        "modified": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        }
    }
}