{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/sharptree/vscode-autoscript-deploy/main/schemas/message.json", "title": "Message", "description": "A Maximo message", "type": "object", "properties": { "delete":{ "description":"Flag to indicate that the message should be deleted if it exists from the target system.", "type":"boolean", "default":false }, "msgGroup": { "description": "The group for the Maximo message (MAXMESSAGES.MSGGROUP)", "type": "string" }, "msgKey": { "description": "The key for the Maximo message (MAXMESSAGES.MSGKEY)", "type": "string" }, "value": { "description": "The value for the Maximo message (MAXMESSAGES.VALUE)", "type": "string" }, "displayMethod": { "description": "The display for the Maximo message (MAXMESSAGES.DISPLAYMETHOD)", "type": "string", "enum": ["MSGBOX", "STATUS", "TEXT"], "default": "MSGBOX" }, "options": { "description": "The display options for the Maximo message, values are derived from the UI labels and translated to the internal integer value (MAXMESSAGES.OPTIONS)", "type": "array", "items": { "type": "string" }, "minItems": 1, "uniqueItems": true, "enum": ["ok", "close", "cancel", "yes", "no"], "default": "ok" }, "prefix": { "description": "The message prefix for the Maximo message (MAXMESSAGES.MSGIDPREFIX)", "type": "string", "default": "BMXZZ" }, "suffix": { "description": "The message suffix for the Maximo message (MAXMESSAGES.MSGIDSUFFIX)", "type": "string", "enum": ["E", "I", "W"], "default": "E" }, "required": ["msgGroup", "msgKey", "value"] } }