{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Console Block",
  "description": "Shell prompt + command + output display",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "title": "Prompt",
      "description": "Shell prompt (e.g. $ or user@host:~$)",
      "default": "$",
      "x-editor": "text"
    },
    "command": {
      "type": "string",
      "title": "Command",
      "description": "The command line that follows the prompt",
      "default": "",
      "x-editor": "text"
    },
    "output": {
      "type": "string",
      "title": "Output",
      "description": "Multi-line command output",
      "default": "",
      "x-editor": "textarea"
    },
    "language": {
      "type": "string",
      "title": "Language",
      "description": "Syntax-highlighting hint",
      "default": "shell",
      "x-editor": "select",
      "enum": ["shell", "bash", "zsh", "go", "rust", "python", "javascript", "json", "text"]
    }
  }
}
