Skip to content

4 Data Model Exposure

Saif Shabou edited this page Jun 3, 2021 · 3 revisions

For the exposure model, we choosed to adopt an embeded data model in accordance with the application use cases.

{
	"geo_component": {
		"scale": "country",
		"name": "France",
		"identifier": {
			"id": "FRA",
			"type": "alpha3"
		},
		"emissions": [
			{
				"date": 2018,
				"sector_name": "Territorial Emissions",
				"subsector": "Coal",
				"gas": "CO2",
				"value": 1.8853556222707422,
				"unit": "MtC",
				"datasource": "GCP",
			},
			{
				"date": 2018,
				"sector": "Territorial Emissions",
				"subsector": "Oil",
				"gas": "CO2",
				"value": 0.8741512008733624,
				"units": "MtC",
				"datasource": "GCP",
				"datasourcelink": "https://www.globalcarbonproject.org/carbonbudget/20/data.htm"
			}
		]
	},
	"geo_component": {
		"scale": "country",
		"name": "Afghanistan",
		"identifier": {
			"id": "AFG",
			"type": "alpha3"
		},
		"emissions": [
			{
				"date": 2018,
				"sector_name": "Territorial Emissions",
				"subsector": "Coal",
				"gas": "CO2",
				"value": 1.8853556222707422,
				"unit": "MtC",
				"datasource": "GCP",
			},
			{
				"date": 2018,
				"sector": "Territorial Emissions",
				"subsector": "Oil",
				"gas": "CO2",
				"value": 0.8741512008733624,
				"units": "MtC",
				"datasource": "GCP",
				"datasourcelink": "https://www.globalcarbonproject.org/carbonbudget/20/data.htm"
			}
		]
	}
}
Clone this wiki locally