{"name":"Grid Recipe","headerTitle":"Grid Recipe","version":1,"accentColor":"#F5DB82","appearance":{"colorScheme":"dark"},"theme":{"accentColor":"#F5DB82","accentGradient":["#F5DB82","#91DBC5"],"pageBackgroundGradient":["#0A111D","#122132"],"cornerRadius":20,"fontDesign":"rounded","cardPadding":12,"borderWidth":0.5,"tabBarTint":"#F5DB82"},"tabs":[{"title":"Overview","icon":"bolt.fill","grid":{"columns":4,"rows":12,"mode":"flow"},"children":[{"type":"label","id":"grid-recipe-2","position":[0,0],"span":[1,4],"label":"","controlHeight":112,"tint":"#F5DB82","text":"What is supplying Great Britain's electricity?","style":"large-mono","align":"leading"},{"type":"statusLight","id":"grid-recipe-1","position":[1,0],"span":[1,4],"label":"Source response","controlHeight":46,"tint":"#F5DB82","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/grid-recipe","interval":1800,"valuePath":"status"}]},{"type":"label","id":"grid-recipe-3","position":[2,0],"span":[1,4],"label":"","controlHeight":64,"tint":"#F5DB82","text":"Waiting for first successful retrieval","style":"mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/grid-recipe","interval":1800,"valuePath":"freshness"}]},{"type":"pieChart","id":"grid-recipe-4","position":[3,0],"span":[1,4],"label":"Generation mix · %","controlHeight":320,"tint":"#F5DB82","pieStyle":"donut","pieConfig":{"showLegend":true,"percent":true},"defaultValue":"{\"slices\":[]}","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/grid-recipe","interval":1800,"valuePath":"pie"}]},{"type":"label","id":"grid-recipe-5","position":[4,0],"span":[1,4],"label":"","controlHeight":68,"tint":"#F5DB82","text":"Tap a slice to inspect its contribution.","style":"mono","align":"leading"},{"type":"flipCard","id":"grid-recipe-13","position":[5,0],"span":[1,4],"label":"","controlHeight":270,"tint":"#F5DB82","panels":[{"type":"group","id":"grid-recipe-panel-9","label":"Reading","position":[0,0],"grid":{"columns":4,"rows":3,"mode":"flow"},"children":[{"type":"label","id":"grid-recipe-6","position":[0,0],"span":[1,4],"label":"","controlHeight":62,"tint":"#F5DB82","text":"Largest reported source","style":"mono","align":"leading"},{"type":"label","id":"grid-recipe-7","position":[1,0],"span":[1,4],"label":"","controlHeight":112,"tint":"#F5DB82","text":"Waiting for source","style":"large-mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/grid-recipe","interval":1800,"valuePath":"metric1"}]},{"type":"label","id":"grid-recipe-8","position":[2,0],"span":[1,4],"label":"","controlHeight":32,"tint":"#F5DB82","text":"Tap for context ↻","style":"mono","align":"leading"}]},{"type":"group","id":"grid-recipe-panel-12","label":"Meaning","position":[0,0],"grid":{"columns":4,"rows":2,"mode":"flow"},"children":[{"type":"label","id":"grid-recipe-10","position":[0,0],"span":[1,4],"label":"","controlHeight":158,"tint":"#F5DB82","text":"A donut explains parts of a whole; a ranked table makes small slices readable.","style":"mono","align":"leading"},{"type":"label","id":"grid-recipe-11","position":[1,0],"span":[1,4],"label":"","controlHeight":32,"tint":"#F5DB82","text":"Tap to return ↻","style":"mono","align":"leading"}]}],"flipAxis":"horizontal","flipTrigger":"tap","defaultValue":0,"containerAnimation":{"profile":"smooth"}},{"type":"flipCard","id":"grid-recipe-21","position":[6,0],"span":[1,4],"label":"","controlHeight":270,"tint":"#F5DB82","panels":[{"type":"group","id":"grid-recipe-panel-17","label":"Reading","position":[0,0],"grid":{"columns":4,"rows":3,"mode":"flow"},"children":[{"type":"label","id":"grid-recipe-14","position":[0,0],"span":[1,4],"label":"","controlHeight":62,"tint":"#F5DB82","text":"Wind + solar share · %","style":"mono","align":"leading"},{"type":"label","id":"grid-recipe-15","position":[1,0],"span":[1,4],"label":"","controlHeight":112,"tint":"#F5DB82","text":"Waiting for source","style":"large-mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/grid-recipe","interval":1800,"valuePath":"metric2"}]},{"type":"label","id":"grid-recipe-16","position":[2,0],"span":[1,4],"label":"","controlHeight":32,"tint":"#F5DB82","text":"Tap for context ↻","style":"mono","align":"leading"}]},{"type":"group","id":"grid-recipe-panel-20","label":"Meaning","position":[0,0],"grid":{"columns":4,"rows":2,"mode":"flow"},"children":[{"type":"label","id":"grid-recipe-18","position":[0,0],"span":[1,4],"label":"","controlHeight":158,"tint":"#F5DB82","text":"Generation shares are not installed capacity. Wind plus solar is not the total renewable share.","style":"mono","align":"leading"},{"type":"label","id":"grid-recipe-19","position":[1,0],"span":[1,4],"label":"","controlHeight":32,"tint":"#F5DB82","text":"Tap to return ↻","style":"mono","align":"leading"}]}],"flipAxis":"horizontal","flipTrigger":"tap","defaultValue":0,"containerAnimation":{"profile":"smooth"}},{"type":"label","id":"grid-recipe-22","position":[7,0],"span":[1,4],"label":"","controlHeight":82,"tint":"#F5DB82","text":"Observation time not supplied","style":"mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/grid-recipe","interval":1800,"valuePath":"source_time"}]},{"type":"label","id":"grid-recipe-23","position":[8,0],"span":[1,4],"label":"","controlHeight":104,"tint":"#F5DB82","text":"Generation shares are not installed capacity. Wind plus solar is not the total renewable share.","style":"mono","align":"leading"},{"type":"label","id":"grid-recipe-24","position":[9,0],"span":[1,4],"label":"","controlHeight":68,"tint":"#F5DB82","text":"Source: NESO Carbon Intensity API · links in Learn","style":"mono","align":"leading"}]},{"title":"Explore","icon":"square.grid.2x2","grid":{"columns":4,"rows":8,"mode":"flow"},"children":[{"type":"label","id":"grid-recipe-25","position":[0,0],"span":[1,4],"label":"","controlHeight":112,"tint":"#F5DB82","text":"Same source. Another useful view.","style":"large-mono","align":"leading"},{"type":"treemap","id":"grid-recipe-26","position":[1,0],"span":[1,4],"label":"Generation shares · %","controlHeight":320,"tint":"#F5DB82","treemapConfig":{"drillDown":true,"showLabels":true,"showValues":true,"scrub":true},"defaultValue":"{\"items\":[]}","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/grid-recipe","interval":1800,"valuePath":"tree"}]},{"type":"chart","id":"grid-recipe-27","position":[2,0],"span":[1,4],"label":"Generation mix · percent","controlHeight":320,"tint":"#F5DB82","chartConfig":{"showXAxis":true,"showYAxis":true,"showGrid":true,"showLegend":true,"scrub":true,"smooth":false},"defaultValue":"{\"series\":[]}","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/grid-recipe","interval":1800,"valuePath":"chart"}]},{"type":"label","id":"grid-recipe-28","position":[3,0],"span":[1,4],"label":"","controlHeight":75,"tint":"#F5DB82","text":"Source notes","style":"mono","align":"leading","sync":[{"method":"http","url":"https://carterbeaudoin.net/api/template-feed/grid-recipe","interval":1800,"valuePath":"detail"}]},{"type":"list","id":"grid-recipe-29","position":[4,0],"span":[1,4],"label":"Selected source records","controlHeight":420,"tint":"#F5DB82","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/grid-recipe","interval":1800,"valuePath":"rows"}]},{"type":"accordion","id":"grid-recipe-36","position":[5,0],"span":[1,4],"label":"A little context","controlHeight":320,"tint":"#F5DB82","accordionMode":"single","expandedIndex":0,"showChevron":true,"panels":[{"type":"group","id":"grid-recipe-panel-31","label":"What this teaches","position":[0,0],"grid":{"columns":4,"rows":1,"mode":"flow"},"children":[{"type":"label","id":"grid-recipe-30","position":[0,0],"span":[1,4],"label":"","controlHeight":125,"tint":"#F5DB82","text":"A donut explains parts of a whole; a ranked table makes small slices readable.","style":"mono","align":"leading"}]},{"type":"group","id":"grid-recipe-panel-33","label":"Read before using","position":[0,0],"grid":{"columns":4,"rows":1,"mode":"flow"},"children":[{"type":"label","id":"grid-recipe-32","position":[0,0],"span":[1,4],"label":"","controlHeight":145,"tint":"#F5DB82","text":"Generation shares are not installed capacity. Wind plus solar is not the total renewable share.","style":"mono","align":"leading"}]},{"type":"group","id":"grid-recipe-panel-35","label":"Where the data comes from","position":[0,0],"grid":{"columns":4,"rows":1,"mode":"flow"},"children":[{"type":"label","id":"grid-recipe-34","position":[0,0],"span":[1,4],"label":"","controlHeight":180,"tint":"#F5DB82","text":"NESO Carbon Intensity API\nCC BY 4.0 plus NESO API terms; processed and visualized by this sample.","style":"mono","align":"leading"}]}],"containerAnimation":{"profile":"smooth"}}]},{"title":"Learn","icon":"book.closed","grid":{"columns":4,"rows":3,"mode":"flow"},"children":[{"type":"webView","id":"grid-recipe-37","position":[0,0],"span":[1,4],"label":"A one-minute walkthrough","controlHeight":780,"tint":"#F5DB82","url":"https://carterbeaudoin.net/CAR-TER/templates/open-data/grid-recipe.html","webInteractive":true,"webScrollEnabled":true}]}]}