{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GetMenuItemState Request",
  "type": "object",
  "properties": {
    "menuItemIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Menu item IDs to query."
    },
    "context": {
      "$ref": "#/$defs/PluginContext",
      "description": "Current host application state."
    }
  },
  "required": [
    "menuItemIds",
    "context"
  ],
  "$defs": {
    "PluginContext": {
      "type": "object",
      "properties": {
        "projectPath": {
          "type": "string",
          "description": "Path of the active schematic or manifold. Omitted (null) when none is open."
        },
        "projectId": {
          "type": "string",
          "description": "Reserved. Not sent by either host in API v1."
        },
        "selectedComponentId": {
          "type": "string",
          "description": "Reserved. Not sent by either host in API v1."
        },
        "selectedArticleCode": {
          "type": "string",
          "description": "Reserved. Not sent by either host in API v1."
        },
        "selectedIBorderId": {
          "type": "string",
          "description": "Reserved. Not sent by either host in API v1."
        },
        "selectedIBorderName": {
          "type": "string",
          "description": "Reserved. Not sent by either host in API v1."
        }
      },
      "description": "Current host application state, passed to menu actions and state queries."
    }
  }
}