{
  "$schema": "http://json-schema.org/schema",
  "title": "NX Graph to Mermaid Executor",
  "type": "object",
  "properties": {
    "projectJsonPath": {
      "type": "string",
      "description": "Path to project.json"
    },
    "mode": {
      "type": "string",
      "enum": ["generate", "check", "inject", "update"],
      "default": "generate"
    },
    "generatedMermaidPath": {
      "type": "string",
      "description": "Path to write or read generated Mermaid file"
    },
    "markdownPath": {
      "type": "string",
      "description": "Markdown file for injection"
    },
    "debug": {
      "type": "boolean",
      "description": "Print debug diagnostics to stderr",
      "default": false
    }
  },
  "required": ["projectJsonPath"],
  "additionalProperties": false
}
