{
  "name": "export_dashboard_yaml",
  "description": "Export an authorized authored dashboard source as canonical project YAML.",
  "authzMode": "privilege",
  "privilege": "RESOURCE_READ",
  "effect": "read",
  "operationId": "manual",
  "defaults": {},
  "tags": [
    "dashboard",
    "authoring",
    "export"
  ],
  "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "dashboardId": {
        "minLength": 1,
        "type": "string"
      },
      "sourceKind": {
        "enum": [
          "project",
          "instance"
        ],
        "type": "string"
      }
    },
    "required": [
      "dashboardId",
      "sourceKind"
    ],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "yaml": {
        "type": "string"
      }
    },
    "required": [
      "yaml"
    ],
    "type": "object"
  }
}
