(Created page with "== title == "": { } {| class="wikitable" !Field !Type !Description |- | colspan="1" | | colspan="1" | | colspan="1" | |- | | | |- | | | |- | | | |- | | | |- | | | |- | | | |} Back to the main configuration data schema page.") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== | == objectives == | ||
"": { | [[File:Objectives client screenshot.png|thumb]] | ||
Enables pre-defining objectives per country, at the time of writing visible in the Objectives Monitor. | |||
Of course end-users will be able to delete them again and add new ones to them as well. | |||
See the screenshot on the right. | |||
"objectives": [ | |||
{ | |||
"country_id": 3, | |||
"title": "Renewable Energy Production - 2030", | |||
"description": "Increase the current renewable energy production to 12.0 GW by 2030.", | |||
"deadline": 192 | |||
} | |||
] | |||
{| class="wikitable" | {| class="wikitable" | ||
!Field | !Field | ||
Line 8: | Line 26: | ||
!Description | !Description | ||
|- | |- | ||
| colspan="1" | | | colspan="1" |country_id | ||
| colspan="1" | | | colspan="1" |int | ||
| colspan="1" | | | colspan="1" |Numerical identifier of the country/team, based on the types defined in the layer existing under [[Meta configuration data schema|meta]] that has been defined as the layer representing countries (see the countries variable under [[Configuration data schema|datamodel]]). | ||
|- | |- | ||
| | |title | ||
| | |string | ||
| | |Title of the objective, as shown in the client. | ||
|- | |- | ||
| | |description | ||
| | |string | ||
| | |Description of the objective, as shown in the client | ||
|- | |- | ||
| | |deadline | ||
| | |int | ||
| | |Month by which the objective should be reached, where month 0 is the first month of the simulation. Thus month 192 is after exactly 16 years from the start year as defined in the [[Configuration data schema|datamodel]]. | ||
| | |||
|} | |} | ||
Back to the [[Configuration data schema|main configuration data schema page]]. | Back to the [[Configuration data schema|main configuration data schema page]]. |
Latest revision as of 09:48, 16 April 2024
objectives
Enables pre-defining objectives per country, at the time of writing visible in the Objectives Monitor.
Of course end-users will be able to delete them again and add new ones to them as well.
See the screenshot on the right.
"objectives": [ { "country_id": 3, "title": "Renewable Energy Production - 2030", "description": "Increase the current renewable energy production to 12.0 GW by 2030.", "deadline": 192 } ]
Field | Type | Description |
---|---|---|
country_id | int | Numerical identifier of the country/team, based on the types defined in the layer existing under meta that has been defined as the layer representing countries (see the countries variable under datamodel). |
title | string | Title of the objective, as shown in the client. |
description | string | Description of the objective, as shown in the client |
deadline | int | Month by which the objective should be reached, where month 0 is the first month of the simulation. Thus month 192 is after exactly 16 years from the start year as defined in the datamodel. |
Back to the main configuration data schema page.
This page was last edited on 16 April 2024, at 09:48. Content is available under GPLv3 unless otherwise noted.