{
  "Type": "StackPanel",
  "Id": "debug_entity_inspector",
  "Orientation": "Vertical",
  "HorizontalAlignment": "Stretch",
  "VerticalAlignment": "Stretch",
  "Margin": "12",
  "Gap": 8,
  "Classes": ["ps-panel--accent-strip"],
  "Children": [
    {
      "Type": "Label",
      "Id": "debug_entity_inspector_title",
      "Text": "Entity Inspector",
      "Style": "Label.Heading"
    },
    {
      "Type": "Grid",
      "Id": "debug_entity_inspector_grid",
      "Width": "100%",
      "ColumnDefinitions": [
        "auto",
        "1fr"
      ],
      "RowDefinitions": [
        "auto",
        "auto",
        "auto"
      ],
      "Gap": 8,
      "Children": [
        {
          "Type": "Label",
          "Id": "debug_entity_inspector_lbl_entity",
          "Text": "Entity",
          "Style": "Label.Mono",
          "Grid.Row": 0,
          "Grid.Column": 0
        },
        {
          "Type": "Label",
          "Id": "debug_entity_inspector_val_entity",
          "Text": "0",
          "Style": "Label.Mono",
          "Grid.Row": 0,
          "Grid.Column": 1,
          "Bindings": [
            {
              "TargetProperty": "Text",
              "Path": "LiveEntityInspectorComponent.SelectedEntityId"
            }
          ]
        },
        {
          "Type": "Label",
          "Id": "debug_entity_inspector_lbl_exists",
          "Text": "Exists",
          "Style": "Label.Mono",
          "Grid.Row": 1,
          "Grid.Column": 0
        },
        {
          "Type": "Label",
          "Id": "debug_entity_inspector_val_exists",
          "Text": "False",
          "Style": "Label.Mono",
          "Grid.Row": 1,
          "Grid.Column": 1,
          "Bindings": [
            {
              "TargetProperty": "Text",
              "Path": "LiveEntityInspectorComponent.Exists"
            }
          ]
        },
        {
          "Type": "Label",
          "Id": "debug_entity_inspector_lbl_components",
          "Text": "Components",
          "Style": "Label.Mono",
          "Grid.Row": 2,
          "Grid.Column": 0
        },
        {
          "Type": "Label",
          "Id": "debug_entity_inspector_val_components",
          "Text": "0",
          "Style": "Label.Mono",
          "Grid.Row": 2,
          "Grid.Column": 1,
          "Bindings": [
            {
              "TargetProperty": "Text",
              "Path": "LiveEntityInspectorComponent.ComponentCount"
            }
          ]
        }
      ]
    },
    {
      "Type": "Alert",
      "Id": "debug_entity_inspector_hint",
      "Severity": "Info",
      "Title": "Tip",
      "Message": "Run /inspect <id> again to inspect a different entity."
    }
  ]
}
