{
    "title": "ConsumeNotices",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.sign.model.instruction.ConsumeNotices",
    "type": "object",
    "required": [
        "boardPaths",
        "subworkflow"
    ],
    "extends": {
        "javaType": "com.sos.sign.model.instruction.Instruction",
        "type": "object",
        "required": [
            "TYPE"
        ],
        "properties": {
            "TYPE": {
                "javaType": "com.sos.inventory.model.instruction.InstructionType",
                "type": "string",
                "enum": [
                    "Execute.Named",
                    "If",
                    "Try",
                    "Fork",
                    "ForkList",
                    "Finish",
                    "Fail",
                    "Retry",
                    "Lock",
                    "Prompt",
                    "PostNotice",
                    "PostNotices",
                    "ExpectNotice",
                    "ExpectNotices",
                    "ConsumeNotices",
                    "ImplicitEnd",
                    "AddOrder",
                    "Cycle"
                ]
            }
        },
        "additionalProperties": false
    },
    "description": "instruction with fixed property 'TYPE':'ConsumeNotices'",
    "propertyOrder": [
        "TYPE",
        "boardPaths",
        "subworkflow"
    ],
    "properties": {
        "boardPaths": {
            "alias": "noticeBoardNames",
            "type": "string",
            "pattern": "^[^<>]*$",
            "minLength": 1
        },
        "subworkflow": {
            "type": "object",
            "javaType": "com.sos.sign.model.instruction.Instructions",
            "required": [
                "instructions"
            ],
            "properties": {
                "instructions": {
                    "type": "array",
                    "items": {
                        "javaType": "com.sos.sign.model.instruction.Instruction",
                        "type": "object",
                        "required": [
                            "TYPE"
                        ],
                        "properties": {
                            "TYPE": {
                                "javaType": "com.sos.inventory.model.instruction.InstructionType",
                                "type": "string",
                                "enum": [
                                    "Execute.Named",
                                    "If",
                                    "Try",
                                    "Fork",
                                    "ForkList",
                                    "Finish",
                                    "Fail",
                                    "Retry",
                                    "Lock",
                                    "Prompt",
                                    "PostNotice",
                                    "PostNotices",
                                    "ExpectNotice",
                                    "ExpectNotices",
                                    "ConsumeNotices",
                                    "ImplicitEnd",
                                    "AddOrder",
                                    "Cycle"
                                ]
                            }
                        },
                        "additionalProperties": false
                    }
                }
            },
            "additionalProperties": false
        }
    },
    "additionalProperties": false
}