{
  "title": "Demo Security",
  "icon": "lock.shield",
  "sidebar": false,
  "sources": {
    "home": {
      "url": "https://legatobar.com/examples/design-home-state.json",
      "every": "1m"
    }
  },
  "cards": [
    {
      "id": "back",
      "type": "link",
      "label": "Demo Home",
      "url": "legato://page/design-home"
    },
    {
      "id": "views",
      "type": "tabs",
      "tabs": [
        {
          "label": "Doors",
          "cards": [
            {
              "id": "garage-state",
              "type": "status",
              "label": "Garage door",
              "state": "unknown",
              "source": {
                "ref": "home",
                "map": {
                  "state": {
                    "path": "garage_open",
                    "values": {
                      "true": "warning",
                      "false": "ok"
                    },
                    "default": "unknown"
                  },
                  "detail": {
                    "path": "garage_open",
                    "values": {
                      "true": "Open",
                      "false": "Closed"
                    },
                    "default": "No reading"
                  }
                }
              }
            }
          ]
        },
        {
          "label": "Sensors",
          "cards": [
            {
              "id": "sensor-info",
              "type": "text",
              "body": "Sample data only. Missing readings must stay unknown, not become an all-clear."
            }
          ]
        }
      ]
    }
  ]
}
