{"name":"Water Budget","headerTitle":"Water Budget","version":1,"accentColor":"#B7C3F0","appearance":{"colorScheme":"dark"},"theme":{"accentColor":"#B7C3F0","accentGradient":["#B7C3F0","#D4C59D"],"pageBackgroundGradient":["#0A111D","#122132"],"cornerRadius":20,"fontDesign":"rounded","cardPadding":12,"borderWidth":0.5,"tabBarTint":"#B7C3F0"},"tabs":[{"title":"Overview","icon":"water.waves","grid":{"columns":4,"rows":12,"mode":"flow"},"children":[{"type":"label","id":"water-budget-2","position":[0,0],"span":[1,4],"label":"","controlHeight":112,"tint":"#B7C3F0","text":"How are US freshwater withdrawals divided among sectors?","style":"large-mono","align":"leading"},{"type":"statusLight","id":"water-budget-1","position":[1,0],"span":[1,4],"label":"Source response","controlHeight":46,"tint":"#B7C3F0","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/water-budget","interval":86400,"valuePath":"status"}]},{"type":"label","id":"water-budget-3","position":[2,0],"span":[1,4],"label":"","controlHeight":64,"tint":"#B7C3F0","text":"Waiting for first successful retrieval","style":"mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/water-budget","interval":86400,"valuePath":"freshness"}]},{"type":"pieChart","id":"water-budget-4","position":[3,0],"span":[1,4],"label":"Withdrawal sectors · %","controlHeight":320,"tint":"#B7C3F0","pieStyle":"donut","pieConfig":{"showLegend":true,"percent":true},"defaultValue":"{\"slices\":[]}","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/water-budget","interval":86400,"valuePath":"pie"}]},{"type":"label","id":"water-budget-5","position":[4,0],"span":[1,4],"label":"","controlHeight":68,"tint":"#B7C3F0","text":"Tap a slice to inspect its contribution.","style":"mono","align":"leading"},{"type":"flipCard","id":"water-budget-13","position":[5,0],"span":[1,4],"label":"","controlHeight":270,"tint":"#B7C3F0","panels":[{"type":"group","id":"water-budget-panel-9","label":"Reading","position":[0,0],"grid":{"columns":4,"rows":3,"mode":"flow"},"children":[{"type":"label","id":"water-budget-6","position":[0,0],"span":[1,4],"label":"","controlHeight":62,"tint":"#B7C3F0","text":"Largest reported sector","style":"mono","align":"leading"},{"type":"label","id":"water-budget-7","position":[1,0],"span":[1,4],"label":"","controlHeight":112,"tint":"#B7C3F0","text":"Waiting for source","style":"large-mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/water-budget","interval":86400,"valuePath":"metric1"}]},{"type":"label","id":"water-budget-8","position":[2,0],"span":[1,4],"label":"","controlHeight":32,"tint":"#B7C3F0","text":"Tap for context ↻","style":"mono","align":"leading"}]},{"type":"group","id":"water-budget-panel-12","label":"Meaning","position":[0,0],"grid":{"columns":4,"rows":2,"mode":"flow"},"children":[{"type":"label","id":"water-budget-10","position":[0,0],"span":[1,4],"label":"","controlHeight":158,"tint":"#B7C3F0","text":"Compare components from the same observation year; never combine each series’ latest value into a misleading whole.","style":"mono","align":"leading"},{"type":"label","id":"water-budget-11","position":[1,0],"span":[1,4],"label":"","controlHeight":32,"tint":"#B7C3F0","text":"Tap to return ↻","style":"mono","align":"leading"}]}],"flipAxis":"horizontal","flipTrigger":"tap","defaultValue":0,"containerAnimation":{"profile":"smooth"}},{"type":"flipCard","id":"water-budget-21","position":[6,0],"span":[1,4],"label":"","controlHeight":270,"tint":"#B7C3F0","panels":[{"type":"group","id":"water-budget-panel-17","label":"Reading","position":[0,0],"grid":{"columns":4,"rows":3,"mode":"flow"},"children":[{"type":"label","id":"water-budget-14","position":[0,0],"span":[1,4],"label":"","controlHeight":62,"tint":"#B7C3F0","text":"Latest common observation year","style":"mono","align":"leading"},{"type":"label","id":"water-budget-15","position":[1,0],"span":[1,4],"label":"","controlHeight":112,"tint":"#B7C3F0","text":"Waiting for source","style":"large-mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/water-budget","interval":86400,"valuePath":"metric2"}]},{"type":"label","id":"water-budget-16","position":[2,0],"span":[1,4],"label":"","controlHeight":32,"tint":"#B7C3F0","text":"Tap for context ↻","style":"mono","align":"leading"}]},{"type":"group","id":"water-budget-panel-20","label":"Meaning","position":[0,0],"grid":{"columns":4,"rows":2,"mode":"flow"},"children":[{"type":"label","id":"water-budget-18","position":[0,0],"span":[1,4],"label":"","controlHeight":158,"tint":"#B7C3F0","text":"National withdrawal estimates, not household consumption or water stress. Data methods vary; all three sectors use one common year.","style":"mono","align":"leading"},{"type":"label","id":"water-budget-19","position":[1,0],"span":[1,4],"label":"","controlHeight":32,"tint":"#B7C3F0","text":"Tap to return ↻","style":"mono","align":"leading"}]}],"flipAxis":"horizontal","flipTrigger":"tap","defaultValue":0,"containerAnimation":{"profile":"smooth"}},{"type":"label","id":"water-budget-22","position":[7,0],"span":[1,4],"label":"","controlHeight":82,"tint":"#B7C3F0","text":"Observation time not supplied","style":"mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/water-budget","interval":86400,"valuePath":"source_time"}]},{"type":"label","id":"water-budget-23","position":[8,0],"span":[1,4],"label":"","controlHeight":104,"tint":"#B7C3F0","text":"National withdrawal estimates, not household consumption or water stress. Data methods vary; all three sectors use one common year.","style":"mono","align":"leading"},{"type":"label","id":"water-budget-24","position":[9,0],"span":[1,4],"label":"","controlHeight":68,"tint":"#B7C3F0","text":"Source: World Bank WDI / FAO AQUASTAT · links in Learn","style":"mono","align":"leading"}]},{"title":"Explore","icon":"square.grid.2x2","grid":{"columns":4,"rows":7,"mode":"flow"},"children":[{"type":"label","id":"water-budget-25","position":[0,0],"span":[1,4],"label":"","controlHeight":112,"tint":"#B7C3F0","text":"Same source. Another useful view.","style":"large-mono","align":"leading"},{"type":"chart","id":"water-budget-26","position":[1,0],"span":[1,4],"label":"Freshwater withdrawals · sector shares · %","controlHeight":320,"tint":"#B7C3F0","chartConfig":{"showXAxis":true,"showYAxis":true,"showGrid":true,"showLegend":true,"scrub":true,"smooth":false,"yMin":0,"yMax":100},"defaultValue":"{\"series\":[]}","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/water-budget","interval":86400,"valuePath":"chart"}]},{"type":"label","id":"water-budget-27","position":[2,0],"span":[1,4],"label":"","controlHeight":75,"tint":"#B7C3F0","text":"Source notes","style":"mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/water-budget","interval":86400,"valuePath":"detail"}]},{"type":"list","id":"water-budget-28","position":[3,0],"span":[1,4],"label":"Selected source records","controlHeight":420,"tint":"#B7C3F0","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/water-budget","interval":86400,"valuePath":"rows"}]},{"type":"accordion","id":"water-budget-35","position":[4,0],"span":[1,4],"label":"A little context","controlHeight":320,"tint":"#B7C3F0","accordionMode":"single","expandedIndex":0,"showChevron":true,"panels":[{"type":"group","id":"water-budget-panel-30","label":"What this teaches","position":[0,0],"grid":{"columns":4,"rows":1,"mode":"flow"},"children":[{"type":"label","id":"water-budget-29","position":[0,0],"span":[1,4],"label":"","controlHeight":125,"tint":"#B7C3F0","text":"Compare components from the same observation year; never combine each series’ latest value into a misleading whole.","style":"mono","align":"leading"}]},{"type":"group","id":"water-budget-panel-32","label":"Read before using","position":[0,0],"grid":{"columns":4,"rows":1,"mode":"flow"},"children":[{"type":"label","id":"water-budget-31","position":[0,0],"span":[1,4],"label":"","controlHeight":145,"tint":"#B7C3F0","text":"National withdrawal estimates, not household consumption or water stress. Data methods vary; all three sectors use one common year.","style":"mono","align":"leading"}]},{"type":"group","id":"water-budget-panel-34","label":"Where the data comes from","position":[0,0],"grid":{"columns":4,"rows":1,"mode":"flow"},"children":[{"type":"label","id":"water-budget-33","position":[0,0],"span":[1,4],"label":"","controlHeight":180,"tint":"#B7C3F0","text":"World Bank WDI / FAO AQUASTAT\nCC BY 4.0, World Bank WDI / FAO AQUASTAT; adapted into sector shares and charts.","style":"mono","align":"leading"}]}],"containerAnimation":{"profile":"smooth"}}]},{"title":"Learn","icon":"book.closed","grid":{"columns":4,"rows":3,"mode":"flow"},"children":[{"type":"webView","id":"water-budget-36","position":[0,0],"span":[1,4],"label":"A one-minute walkthrough","controlHeight":780,"tint":"#B7C3F0","url":"https://carterbeaudoin.net/CAR-TER/templates/open-data/water-budget.html","webInteractive":true,"webScrollEnabled":true}]}]}