{
    "title": "PostNotice",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.inventory.model.instruction.PostNotice",
    "type": "object",
    "required": [
        "noticeBoardName"
    ],
    "extends": {
        "javaType": "com.sos.inventory.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",
                    "ExpectNotice",
                    "ImplicitEnd",
                    "AddOrder"
                ]
            },
            "position": {
                "description": "Actually, each even item is a string, each odd item is an integer",
                "type": "array",
                "items": {
                    "anyOf": [
                        {
                            "type": "integer"
                        },
                        {
                            "type": "string"
                        }
                    ]
                }
            },
            "positionString": {
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255
            }
        },
        "additionalProperties": false
    },
    "description": "instruction with fixed property 'TYPE':'PostNotice'",
    "propertyOrder": [
        "TYPE",
        "noticeBoardName"
    ],
    "properties": {
        "noticeBoardName": {
            "alias": "boardPath,boardName",
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255,
            "minLength": 1
        }
    },
    "additionalProperties": false
}