{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Telemetry Grid",
  "description": "Grid of HUD readout tiles with mono figures, units, deltas, and optional ticking counters.",
  "type": "object",
  "properties": {
    "eyebrow": {
      "type": "string",
      "title": "Eyebrow",
      "description": "Small mono label above the heading.",
      "x-editor": "text"
    },
    "heading": {
      "type": "string",
      "title": "Heading",
      "description": "Section heading.",
      "x-editor": "text"
    },
    "columns": {
      "type": "number",
      "title": "Columns",
      "description": "Tiles per row on wide screens.",
      "default": 3,
      "enum": [2, 3, 4],
      "x-editor": "select"
    },
    "tiles": {
      "type": "array",
      "title": "Tiles",
      "description": "Each tile is a readout: label, value, optional unit and delta.",
      "default": [],
      "x-editor": "collection",
      "items": {
        "type": "object",
        "properties": {
          "label": { "type": "string", "title": "Label", "description": "Readout name.", "x-editor": "text" },
          "value": { "type": "string", "title": "Value", "description": "Displayed value; leading number is animated by the ticking counter.", "x-editor": "text" },
          "unit": { "type": "string", "title": "Unit", "description": "Trailing unit (e.g. ms, GB, %).", "x-editor": "text" },
          "delta": { "type": "string", "title": "Delta", "description": "Optional change indicator (e.g. -12% latency).", "x-editor": "text" }
        },
        "required": ["label", "value"]
      }
    }
  }
}
