{
    "title": "notice board configuration",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.inventory.board.BoardPublish",
    "type": "object",
    "extends": {
        "javaType": "com.sos.joc.model.publish.ControllerObject"
    },
    "properties": {
        "content": {
            "javaType": "com.sos.sign.model.board.Board",
            "type": "object",
            "javaInterfaces": [
                "com.sos.joc.model.common.IDeployObject"
            ],
            "required": [
                "TYPE",
                "path",
                "toNotice",
                "readingOrderToNoticeId"
            ],
            "propertyOrder": [
                "TYPE",
                "path",
                "toNotice",
                "endOfLife",
                "readingOrderToNoticeId"
            ],
            "description": "deploy object with fixed property 'TYPE':'Board'",
            "properties": {
                "TYPE": {
                    "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"
                },
                "path": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255,
                    "minLength": 1
                },
                "postOrderToNoticeId": {
                    "description": "Expression that returns a NoticeId for the PostNotice statement.",
                    "alias": "toNotice",
                    "type": "string"
                },
                "endOfLife": {
                    "description": "Expression that returns for the PostNotice statement the time until when the note should be valid, expressed as number of milliseconds since 1970-01-01, 0 o'clock, UTC. Then JS7 will delete the note.",
                    "type": "string"
                },
                "expectOrderToNoticeId": {
                    "description": "Expression that returns a NoticeId for the ReadNotice statement.",
                    "alias": "readingOrderToNoticeId",
                    "type": "string"
                }
            },
            "additionalProperties": false
        }
    }
}