{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/NavigationMenuItem",
  "title": "NavigationMenuItem",
  "type": "object",
  "description": "A navigation menu item in an Experience Cloud site",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the menu item"
    },
    "label": {
      "type": "string",
      "description": "Display label of the menu item"
    },
    "menuItemType": {
      "type": "string",
      "description": "Type of the menu item",
      "enum": [
        "ExternalLink",
        "InternalLink",
        "MenuLabel",
        "NavigationalTopic",
        "SalesforceObject",
        "GlobalAction"
      ]
    },
    "position": {
      "type": "integer",
      "description": "Display position order"
    },
    "target": {
      "type": "string",
      "description": "Target URL or page reference"
    },
    "targetPreferences": {
      "type": "string",
      "description": "Target opening behavior"
    },
    "subMenu": {
      "type": "array",
      "description": "Nested submenu items",
      "items": {
        "$ref": "#/components/schemas/NavigationMenuItem"
      }
    }
  }
}