{
"components": [
{
"data": {
"container_id": "123",
"legend": {
"items": [
{
"color": "#008000",
"title": "Value A"
},
{
"color": "#ffa500",
"title": "Value B"
}
],
"legend_type": "basic"
},
"maptiles_url": "https://example.com/z/x/y",
"name": "Layer name",
"widget_url": "https://example.com/widget/e/N4IgDgTg9gVgpgYwC4EkAmIBcBGADAVgGYAaECOMKCVDTQ3ADlISgFtKA7ODmrAFnwMA7KQDuASzQBzOEgAqATzBwsZClSQB9FuyhceIAL5A"
},
"id": 123,
"report_component_type": "layer",
"status": "FINISHED"
},
{
"data": {
"container_id": "1234",
"layers": [
{
"maptiles_url": "https://example.com/z/x/y",
"name": "Layer name 1"
},
{
"maptiles_url": "https://example.com/z/x/y",
"name": "Layer name 2"
}
],
"legend": {
"items": [
{
"color": "#008000",
"title": "Value A"
},
{
"color": "#ffa500",
"title": "Value B"
}
],
"legend_type": "basic"
},
"name": "Layer group name",
"widget_url": "https://example.com/widget/e/N1IgDgTg9gVgpgYwC4EkAmIBcBGADAVgGYAaECOMKCVDTQ3ADlISgFtKA7ODmrAFnwMA7KQDuASzQBzOEgAqATzBwsZClSQB9FuyhceIAL4A"
},
"id": 124,
"report_component_type": "layer_group",
"status": "FINISHED"
},
{
"data": {
"chart_url": "https://example.com/some_chart_data.csv",
"configuration": {
"bars": [
{
"color": "#ffc9c9",
"data_key": "key1",
"name": "Bar name"
}
],
"chart_type": "bar",
"xaxis": {
"data_key": "xkey",
"data_type": "category"
},
"yaxis": {
"unit": "ha"
}
},
"name": "Chart",
"widget_url": "https://example.com/widget/e/N2IgDgTg9gVgpgYwC4EkAmIBcBGADAVgGYAaECOMKCVDTQ3ADlISgFtKA7ODmrAFnwMA7KQDuASzQBzOEgAqATzBwsZClSQB9FuyhceIAL1A"
},
"id": 125,
"report_component_type": "chart",
"status": "FINISHED"
},
{
"data": {
"computed_variables": {
"area_gain": 13,
"total_area": 1343
},
"configuration": {
"label": "Some label",
"unit": "C",
"value": "{{area_gain | divided_by: total_area}}"
},
"name": "Stat",
"stat_type": "simple_stat",
"widget_url": "https://example.com/widget/e/D2IgDgTg9gVgpgYwC4EkAmIBcBGADAVgGYAaECOMKCVDTQ3ADlISgFtKA7ODmrAFnwMA7KQDuASzQBzOEgAqATzBwsZClSQB9FuyhceIAL1B"
},
"id": 126,
"report_component_type": "stat",
"status": "FINISHED"
},
{
"data": {
"details": {
"message": "Generic error occurred"
},
"error": "Generic error"
},
"id": 127,
"report_component_type": "stat",
"status": "ERROR"
}
],
"description": "<p>Example report description</p>",
"inputs": {
"end_date": "2023-11-02",
"start_date": "2022-10-01"
},
"project_id": 123,
"status": "FINISHED",
"title": "Example report title"
}