{
    "title": "finish",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.sign.model.instruction.Finish",
    "type": "object",
    "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':'Finish'",
    "properties": {
        "message": {
            "type": "string"
        },
        "outcome": {
            "javaType": "com.sos.sign.model.common.Outcome",
            "type": "object",
            "properties": {
                "TYPE": {
                    "type": "string",
                    "default": "Failed"
                }
            },
            "additionalProperties": false
        }
    },
    "additionalProperties": false
}