{
  "$schema": "http://json-schema.org/schema",
  "cli": "nx",
  "$id": "RemoveCustomMessage",
  "title": "Remove a custom message component from Botonic",
  "description": "Remove a custom message component and clean up all related files and registrations.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the custom message component to remove.",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What is the name of the custom message to remove?",
      "pattern": "^[a-zA-Z].*$"
    },
    "project": {
      "type": "string",
      "description": "The name of the botonic project to remove the custom message from.",
      "x-prompt": "Which botonic project should this custom message be removed from?",
      "$default": {
        "$source": "projectName"
      }
    },
    "directory": {
      "type": "string",
      "description": "The directory within custom-messages where the component is located (optional).",
      "alias": "dir"
    },
    "skipConfirmation": {
      "type": "boolean",
      "description": "Skip the confirmation prompt before removing files.",
      "default": false
    }
  },
  "required": ["name", "project"]
}
