{"name":"River Room","headerTitle":"River Room","version":1,"accentColor":"#89DEC5","appearance":{"colorScheme":"dark"},"theme":{"accentColor":"#89DEC5","accentGradient":["#89DEC5","#B9C6FF"],"pageBackgroundGradient":["#0A111D","#122132"],"cornerRadius":20,"fontDesign":"rounded","cardPadding":12,"borderWidth":0.5,"tabBarTint":"#89DEC5"},"tabs":[{"title":"Overview","icon":"water.waves","grid":{"columns":4,"rows":12,"mode":"flow"},"children":[{"type":"label","id":"river-room-2","position":[0,0],"span":[1,4],"label":"","controlHeight":112,"tint":"#89DEC5","text":"Where does the Thames monitoring network collect river levels?","style":"large-mono","align":"leading"},{"type":"statusLight","id":"river-room-1","position":[1,0],"span":[1,4],"label":"Source response","controlHeight":46,"tint":"#89DEC5","style":"badge","defaultValue":"WAITING","statusColors":{"READY":"#A8DFC3","EMPTY":"#DBC990","STALE":"#F2BA81","UNAVAILABLE":"#F59B9F","WAITING":"#A9B5C8"},"pulse":false,"sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/river-room","interval":900,"valuePath":"status"}]},{"type":"label","id":"river-room-3","position":[2,0],"span":[1,4],"label":"","controlHeight":64,"tint":"#89DEC5","text":"Waiting for first successful retrieval","style":"mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/river-room","interval":900,"valuePath":"freshness"}]},{"type":"map","id":"river-room-4","position":[3,0],"span":[1,4],"label":"Stations and locations","controlHeight":380,"tint":"#89DEC5","mapStyle":"standard","mapInteractive":true,"mapConfig":{"maxMarkers":100},"defaultValue":"{\"markers\":[]}","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/river-room","interval":900,"valuePath":"map"}]},{"type":"label","id":"river-room-5","position":[4,0],"span":[1,4],"label":"","controlHeight":68,"tint":"#89DEC5","text":"Pan and zoom to locate a station or record; compare it with the table.","style":"mono","align":"leading"},{"type":"flipCard","id":"river-room-13","position":[5,0],"span":[1,4],"label":"","controlHeight":270,"tint":"#89DEC5","panels":[{"type":"group","id":"river-room-panel-9","label":"Reading","position":[0,0],"grid":{"columns":4,"rows":3,"mode":"flow"},"children":[{"type":"label","id":"river-room-6","position":[0,0],"span":[1,4],"label":"","controlHeight":62,"tint":"#89DEC5","text":"Mapped stations","style":"mono","align":"leading"},{"type":"label","id":"river-room-7","position":[1,0],"span":[1,4],"label":"","controlHeight":112,"tint":"#89DEC5","text":"Waiting for source","style":"large-mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/river-room","interval":900,"valuePath":"metric1"}]},{"type":"label","id":"river-room-8","position":[2,0],"span":[1,4],"label":"","controlHeight":32,"tint":"#89DEC5","text":"Tap for context ↻","style":"mono","align":"leading"}]},{"type":"group","id":"river-room-panel-12","label":"Meaning","position":[0,0],"grid":{"columns":4,"rows":2,"mode":"flow"},"children":[{"type":"label","id":"river-room-10","position":[0,0],"span":[1,4],"label":"","controlHeight":158,"tint":"#89DEC5","text":"A map can explain a measurement network before you show a single sensor reading.","style":"mono","align":"leading"},{"type":"label","id":"river-room-11","position":[1,0],"span":[1,4],"label":"","controlHeight":32,"tint":"#89DEC5","text":"Tap to return ↻","style":"mono","align":"leading"}]}],"flipAxis":"horizontal","flipTrigger":"tap","defaultValue":0,"containerAnimation":{"profile":"smooth"}},{"type":"flipCard","id":"river-room-21","position":[6,0],"span":[1,4],"label":"","controlHeight":270,"tint":"#89DEC5","panels":[{"type":"group","id":"river-room-panel-17","label":"Reading","position":[0,0],"grid":{"columns":4,"rows":3,"mode":"flow"},"children":[{"type":"label","id":"river-room-14","position":[0,0],"span":[1,4],"label":"","controlHeight":62,"tint":"#89DEC5","text":"Listed active stations","style":"mono","align":"leading"},{"type":"label","id":"river-room-15","position":[1,0],"span":[1,4],"label":"","controlHeight":112,"tint":"#89DEC5","text":"Waiting for source","style":"large-mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/river-room","interval":900,"valuePath":"metric2"}]},{"type":"label","id":"river-room-16","position":[2,0],"span":[1,4],"label":"","controlHeight":32,"tint":"#89DEC5","text":"Tap for context ↻","style":"mono","align":"leading"}]},{"type":"group","id":"river-room-panel-20","label":"Meaning","position":[0,0],"grid":{"columns":4,"rows":2,"mode":"flow"},"children":[{"type":"label","id":"river-room-18","position":[0,0],"span":[1,4],"label":"","controlHeight":158,"tint":"#89DEC5","text":"This is a station directory, not a live level feed. Listed active status does not guarantee a recent reading. Local datums differ.","style":"mono","align":"leading"},{"type":"label","id":"river-room-19","position":[1,0],"span":[1,4],"label":"","controlHeight":32,"tint":"#89DEC5","text":"Tap to return ↻","style":"mono","align":"leading"}]}],"flipAxis":"horizontal","flipTrigger":"tap","defaultValue":0,"containerAnimation":{"profile":"smooth"}},{"type":"label","id":"river-room-22","position":[7,0],"span":[1,4],"label":"","controlHeight":82,"tint":"#89DEC5","text":"Observation time not supplied","style":"mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/river-room","interval":900,"valuePath":"source_time"}]},{"type":"label","id":"river-room-23","position":[8,0],"span":[1,4],"label":"","controlHeight":104,"tint":"#89DEC5","text":"This is a station directory, not a live level feed. Listed active status does not guarantee a recent reading. Local datums differ.","style":"mono","align":"leading"},{"type":"label","id":"river-room-24","position":[9,0],"span":[1,4],"label":"","controlHeight":68,"tint":"#89DEC5","text":"Source: Environment Agency · links in Learn","style":"mono","align":"leading"}]},{"title":"Explore","icon":"square.grid.2x2","grid":{"columns":4,"rows":6,"mode":"flow"},"children":[{"type":"label","id":"river-room-25","position":[0,0],"span":[1,4],"label":"","controlHeight":112,"tint":"#89DEC5","text":"Same source. Another useful view.","style":"large-mono","align":"leading"},{"type":"label","id":"river-room-26","position":[1,0],"span":[1,4],"label":"","controlHeight":75,"tint":"#89DEC5","text":"Source notes","style":"mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/river-room","interval":900,"valuePath":"detail"}]},{"type":"list","id":"river-room-27","position":[2,0],"span":[1,4],"label":"Selected source records","controlHeight":420,"tint":"#89DEC5","listColumns":[{"key":"title","label":"Record"},{"key":"detail","label":"Context"},{"key":"value","label":"Reading / date"}],"defaultValue":"[]","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/river-room","interval":900,"valuePath":"rows"}]},{"type":"accordion","id":"river-room-34","position":[3,0],"span":[1,4],"label":"A little context","controlHeight":320,"tint":"#89DEC5","accordionMode":"single","expandedIndex":0,"showChevron":true,"panels":[{"type":"group","id":"river-room-panel-29","label":"What this teaches","position":[0,0],"grid":{"columns":4,"rows":1,"mode":"flow"},"children":[{"type":"label","id":"river-room-28","position":[0,0],"span":[1,4],"label":"","controlHeight":125,"tint":"#89DEC5","text":"A map can explain a measurement network before you show a single sensor reading.","style":"mono","align":"leading"}]},{"type":"group","id":"river-room-panel-31","label":"Read before using","position":[0,0],"grid":{"columns":4,"rows":1,"mode":"flow"},"children":[{"type":"label","id":"river-room-30","position":[0,0],"span":[1,4],"label":"","controlHeight":145,"tint":"#89DEC5","text":"This is a station directory, not a live level feed. Listed active status does not guarantee a recent reading. Local datums differ.","style":"mono","align":"leading"}]},{"type":"group","id":"river-room-panel-33","label":"Where the data comes from","position":[0,0],"grid":{"columns":4,"rows":1,"mode":"flow"},"children":[{"type":"label","id":"river-room-32","position":[0,0],"span":[1,4],"label":"","controlHeight":180,"tint":"#89DEC5","text":"Environment Agency\nContains Environment Agency flood and river level data from the real-time data API (Beta), OGL v3.","style":"mono","align":"leading"}]}],"containerAnimation":{"profile":"smooth"}}]},{"title":"Learn","icon":"book.closed","grid":{"columns":4,"rows":3,"mode":"flow"},"children":[{"type":"webView","id":"river-room-35","position":[0,0],"span":[1,4],"label":"A one-minute walkthrough","controlHeight":780,"tint":"#89DEC5","url":"https://carterbeaudoin.net/CAR-TER/templates/open-data/river-room.html","webInteractive":true,"webScrollEnabled":true}]}]}