Skip to content

Instantly share code, notes, and snippets.

@larsyencken
Created June 16, 2021 13:06
Show Gist options
  • Save larsyencken/a05601cf76ff0397a3609d5ea56ad4b5 to your computer and use it in GitHub Desktop.
Save larsyencken/a05601cf76ff0397a3609d5ea56ad4b5 to your computer and use it in GitHub Desktop.
OWID: auto-generated grapher config JSON schema using snowplow/schema-guru tool
{
"type" : "object",
"properties" : {
"maxTime" : {
"type" : [ "string", "number" ],
"minLength" : 6,
"maxLength" : 6,
"minimum" : 0
},
"/charts/300" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 0
},
"chart-notes" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 0
},
"subtitle" : {
"type" : "string",
"minLength" : 14,
"maxLength" : 647
},
"identityLine" : {
"type" : "boolean"
},
"onlyEntityMatch" : {
"type" : "boolean"
},
"zoomToSelection" : {
"type" : "boolean"
},
"highlightToggle" : {
"type" : "null"
},
"minPopulationFilter" : {
"type" : "integer",
"maximum" : 2147483647,
"minimum" : 0
},
"selectedEntityNames" : {
"type" : "array",
"items" : {
"type" : [ "string", "null" ],
"minLength" : 2,
"maxLength" : 36
}
},
"useV2" : {
"type" : "boolean"
},
"isAutoSlug" : {
"type" : "boolean"
},
"baseColorScheme" : {
"type" : "string",
"minLength" : 4,
"maxLength" : 18
},
"map" : {
"type" : "object",
"properties" : {
"legendOrientation" : {
"type" : "string",
"minLength" : 8,
"maxLength" : 9
},
"projection" : {
"type" : "string",
"minLength" : 4,
"maxLength" : 12
},
"isColorblind" : {
"type" : "boolean"
},
"defaultProjection" : {
"type" : "string",
"minLength" : 5,
"maxLength" : 6
},
"timelineMode" : {
"type" : "string",
"minLength" : 6,
"maxLength" : 8
},
"minYear" : {
"type" : [ "string", "integer" ],
"minLength" : 5,
"maxLength" : 5,
"maximum" : 32767,
"minimum" : 0
},
"timeRanges" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"endYear" : {
"type" : [ "string", "integer" ],
"pattern" : "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$",
"minLength" : 4,
"maxLength" : 4,
"maximum" : 32767,
"minimum" : 0
},
"interval" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"startYear" : {
"type" : [ "string", "integer" ],
"minLength" : 5,
"maxLength" : 5,
"maximum" : 32767,
"minimum" : 0
},
"year" : {
"type" : [ "string", "integer" ],
"pattern" : "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$",
"minLength" : 4,
"maxLength" : 4,
"maximum" : 32767,
"minimum" : -32768
}
},
"additionalProperties" : false
}
},
"legendStepSize" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"hideTimeline" : {
"type" : "boolean"
},
"colorScale" : {
"type" : "object",
"properties" : {
"customNumericLabels" : {
"type" : "array",
"items" : {
"type" : [ "string", "null" ],
"minLength" : 0,
"maxLength" : 49
}
},
"customCategoryColors" : {
"type" : [ "object", "array" ],
"properties" : {
"No source found" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Highly restricted" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Haiti" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Barren land" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Western Pacific" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"USA" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"No data" : {
"type" : "string",
"minLength" : 4,
"maxLength" : 7
},
"polio-free (not certified)" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
">1" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Member" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Pre-transition" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Former member" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Present" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"East Asia and Pacific" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Early Transition" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Upper-middle income" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Hinduism" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Oceania" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Indirect" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Aid Orphan" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Target reached" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Yugoslavia" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Mandatory" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"North America" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"South Asia" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"GAVI not eligible" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Crops for humans" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"No measures" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"On-track" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Not a democracy in 2015" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Japan" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
">1000" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Currently endemic" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Spain" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"NA" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Shrub" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Freshwater" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Thailand" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Austria-Hungary" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Not known to have dracunculiasis but yet to be certified" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Christianity" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Russia" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Islam" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"China" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Livestock" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Denmark" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Belgium" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Off-track" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Previously endemic (current status unknown)" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Certified free of dracunculiasis" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Sub-Saharan Africa" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Recommended" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"GAVI eligible" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Europe" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"High income" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Egypt" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Required" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"<0.1" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Never reported" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Glaciers" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Minimal" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"United Kingdom" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Middle East and North Africa" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"No" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Absent" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"<2.5" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"endemic" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"-" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Under-aided" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Yes" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Mandatory for School Entry" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Unaffiliated Religions" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Korea" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Not categorized" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"At precertification stage" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Urban" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"South Africa" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Sweden" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Brazil" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Australia" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Post-Transition" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Same-sex marriage legal in some jurisdictions" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Mixed Rule" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Czechoslovakia" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Common" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"South America" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Not peaked" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Broadly legal (some restrictions)" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Lower-middle income" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Asia" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Low income" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Endemic" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
".." : {
"type" : "string",
"minLength" : 4,
"maxLength" : 4
},
"Legal (no restrictions)" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Widespread" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Italy" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"No previous history of yaws" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Late Transition" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Banned (no exception)" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"None" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"eliminate" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Peaked" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Same-sex marriage legal" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Forests" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Interrupted transmission" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Bolivia" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"South-East Asia" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Donor Darling" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Folk Religions" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Same-sex marriage not legally recognized" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Pakistan" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"France" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Crops for human food" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Europe and Central Asia" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Judaism" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"National estimates" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Poverty rising" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Ethiopia" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Sudan" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Latin America and Caribbean" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Split" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Former Member" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Survey" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Netherlands" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Joined in 21st century" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Buddhism" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Unknown" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"WHO Region certified polio-free" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Turkey" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Joined in 20th century" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Africa" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Germany" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Antarctica" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Colombia" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Some rights to same-sex couples" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Portugal" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
}
},
"additionalProperties" : false,
"items" : { }
},
"baseColorScheme" : {
"type" : "string",
"minLength" : 4,
"maxLength" : 18
},
"equalSizeBins" : {
"type" : "boolean"
},
"customHiddenCategories" : {
"type" : [ "object", "array" ],
"properties" : {
"No data" : {
"type" : "boolean"
},
"Oceania" : {
"type" : "boolean"
},
"North America" : {
"type" : "boolean"
},
"." : {
"type" : "boolean"
},
"NA" : {
"type" : "boolean"
},
"Europe" : {
"type" : "boolean"
},
"<5.0" : {
"type" : "boolean"
},
"-" : {
"type" : "boolean"
},
"South America" : {
"type" : "boolean"
},
"Asia" : {
"type" : "boolean"
},
".." : {
"type" : "boolean"
},
"Africa" : {
"type" : "boolean"
},
"Antarctica" : {
"type" : "boolean"
}
},
"additionalProperties" : false,
"items" : { }
},
"binningStrategy" : {
"type" : "string",
"minLength" : 6,
"maxLength" : 13
},
"legendDescription" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 95
},
"customNumericColors" : {
"type" : "array",
"items" : {
"type" : [ "string", "null" ],
"minLength" : 1,
"maxLength" : 7
}
},
"binningStrategyBinCount" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"customNumericValues" : {
"type" : "array",
"items" : {
"type" : "number"
}
},
"customNumericColorsActive" : {
"type" : "boolean"
},
"colorSchemeInvert" : {
"type" : "boolean"
},
"customNumericMinValue" : {
"type" : "number"
},
"customCategoryLabels" : {
"type" : [ "object", "array" ],
"properties" : {
"No data" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 32
},
"GAVI not eligible" : {
"type" : "string",
"minLength" : 21,
"maxLength" : 21
},
"Not known to have dracunculiasis but yet to be certified" : {
"type" : "string",
"minLength" : 33,
"maxLength" : 33
},
"Certified free of dracunculiasis" : {
"type" : "string",
"minLength" : 28,
"maxLength" : 28
},
"<0.1" : {
"type" : "string",
"minLength" : 5,
"maxLength" : 5
},
"Household declaration" : {
"type" : "string",
"minLength" : 33,
"maxLength" : 33
},
"No" : {
"type" : "string",
"minLength" : 2,
"maxLength" : 2
},
"endemic" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 0
},
"Yes" : {
"type" : "string",
"minLength" : 3,
"maxLength" : 3
},
"Unaffiliated Religions" : {
"type" : "string",
"pattern" : "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$",
"minLength" : 12,
"maxLength" : 12
},
"At precertification stage" : {
"type" : "string",
"minLength" : 22,
"maxLength" : 22
},
"Population census" : {
"type" : "string",
"minLength" : 6,
"maxLength" : 6
},
"eliminate" : {
"type" : "string",
"minLength" : 10,
"maxLength" : 10
},
"Self declaration" : {
"type" : "string",
"minLength" : 26,
"maxLength" : 26
},
"National estimates" : {
"type" : "string",
"minLength" : 8,
"maxLength" : 17
},
"Survey" : {
"type" : "string",
"minLength" : 6,
"maxLength" : 6
}
},
"additionalProperties" : false,
"items" : { }
}
},
"additionalProperties" : false
},
"timeInterval" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"timeTolerance" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"targetYear" : {
"type" : [ "string", "integer" ],
"minLength" : 4,
"maxLength" : 6,
"maximum" : 32767,
"minimum" : 0
},
"maxYear" : {
"type" : [ "string", "integer" ],
"pattern" : "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$",
"minLength" : 4,
"maxLength" : 4,
"maximum" : 32767,
"minimum" : 0
},
"colorSchemeName" : {
"type" : "string",
"minLength" : 4,
"maxLength" : 6
},
"tooltipUseCustomLabels" : {
"type" : "boolean"
},
"targetYearMode" : {
"type" : "string",
"minLength" : 6,
"maxLength" : 8
},
"mode" : {
"type" : "string",
"pattern" : "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$",
"minLength" : 8,
"maxLength" : 8
},
"time" : {
"type" : [ "string", "integer" ],
"minLength" : 6,
"maxLength" : 6,
"maximum" : 32767,
"minimum" : 0
},
"defaultYear" : {
"type" : [ "string", "integer" ],
"pattern" : "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$",
"minLength" : 4,
"maxLength" : 4,
"maximum" : 32767,
"minimum" : 0
},
"variableId" : {
"type" : "integer",
"maximum" : 2147483647,
"minimum" : 0
}
},
"additionalProperties" : false
},
"yAxis" : {
"type" : "object",
"properties" : {
"removePointsOutsideDomain" : {
"type" : "boolean"
},
"prefix" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 1
},
"label" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 59
},
"suffix" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 10
},
"min" : {
"type" : "number"
},
"scaleType" : {
"type" : "string",
"minLength" : 3,
"maxLength" : 6
},
"max" : {
"type" : "number",
"minimum" : 0
},
"canChangeScaleType" : {
"type" : "boolean"
},
"labelDistance" : {
"type" : "number"
},
"facetAxisRange" : {
"type" : "string",
"minLength" : 11,
"maxLength" : 11
},
"numDecimalPlaces" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
}
},
"additionalProperties" : false
},
"tab" : {
"type" : "string",
"minLength" : 3,
"maxLength" : 5
},
"selectedData" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"color" : {
"type" : "string",
"minLength" : 3,
"maxLength" : 7
},
"index" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"entityId" : {
"type" : "integer",
"maximum" : 2147483647,
"minimum" : 0
}
},
"additionalProperties" : false
}
},
"matchingEntitiesOnly" : {
"type" : "boolean"
},
"/charts/255" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 0
},
"lastEditedAt" : {
"type" : "string",
"minLength" : 32,
"maxLength" : 32
},
"overlay" : {
"type" : "string",
"pattern" : "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$",
"minLength" : 8,
"maxLength" : 8
},
"published" : {
"type" : "boolean"
},
"iframe-height" : {
"type" : "string",
"minLength" : 5,
"maxLength" : 5
},
"margins" : {
"type" : "object",
"properties" : {
"top" : {
"type" : [ "string", "integer" ],
"minLength" : 2,
"maxLength" : 2,
"maximum" : 32767,
"minimum" : 0
},
"left" : {
"type" : [ "string", "integer" ],
"minLength" : 2,
"maxLength" : 3,
"maximum" : 32767,
"minimum" : 0
},
"right" : {
"type" : [ "string", "integer" ],
"minLength" : 2,
"maxLength" : 2,
"maximum" : 32767,
"minimum" : 0
},
"bottom" : {
"type" : [ "string", "integer" ],
"minLength" : 2,
"maxLength" : 2,
"maximum" : 32767,
"minimum" : 0
}
},
"additionalProperties" : false
},
"activeLegendKeys" : {
"type" : [ "array", "null" ],
"items" : {
"type" : "string",
"minLength" : 14,
"maxLength" : 14
}
},
"hasChartTab" : {
"type" : "boolean"
},
"data" : {
"type" : "object",
"properties" : {
"availableEntities" : {
"type" : "array",
"items" : {
"type" : "string",
"minLength" : 2,
"maxLength" : 134
}
}
},
"additionalProperties" : false
},
"hideLegend" : {
"type" : "boolean"
},
"hideLogo" : {
"type" : "boolean"
},
"timelineMinTime" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"variantName" : {
"type" : "string",
"minLength" : 2,
"maxLength" : 72
},
"hideTimeline" : {
"type" : "boolean"
},
"originUrl" : {
"type" : [ "string", "null" ],
"minLength" : 0,
"maxLength" : 130
},
"hideLinesOutsideTolerance" : {
"type" : "boolean"
},
"colorScale" : {
"type" : "object",
"properties" : {
"customNumericLabels" : {
"type" : "array",
"items" : {
"type" : [ "string", "null" ],
"minLength" : 3,
"maxLength" : 17
}
},
"customCategoryColors" : {
"type" : "object",
"properties" : {
"World_0" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Oceania" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"North America" : {
"type" : "string",
"minLength" : 4,
"maxLength" : 7
},
"Brazil_2" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"United Kingdom_2" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Christianity" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Islam" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Europe" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"South America" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Mammals_0" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Brazil_0" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Asia" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"World_2" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Marine" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Folk Religions" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Judaism" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Africa" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Antarctica" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Terrestrial" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
}
},
"additionalProperties" : false
},
"baseColorScheme" : {
"type" : "string",
"minLength" : 4,
"maxLength" : 18
},
"customHiddenCategories" : {
"type" : "object",
"properties" : { },
"additionalProperties" : false
},
"binningStrategy" : {
"type" : "string",
"minLength" : 6,
"maxLength" : 13
},
"legendDescription" : {
"type" : "string",
"minLength" : 11,
"maxLength" : 14
},
"customNumericColors" : {
"type" : "array",
"items" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
}
},
"customNumericValues" : {
"type" : "array",
"items" : {
"type" : "number",
"minimum" : 0
}
},
"customNumericColorsActive" : {
"type" : "boolean"
},
"colorSchemeInvert" : {
"type" : "boolean"
},
"customCategoryLabels" : {
"type" : "object",
"properties" : {
"No data" : {
"type" : "string",
"minLength" : 15,
"maxLength" : 15
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
},
"scatterPointLabelStrategy" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 4
},
"sourceDesc" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 372
},
"isPublished" : {
"type" : [ "boolean", "null" ]
},
"showYearLabels" : {
"type" : "boolean"
},
"invertColorScheme" : {
"type" : "boolean"
},
"variables" : {
"type" : "array",
"items" : { }
},
"hideRelativeToggle" : {
"type" : "boolean"
},
"comparisonLines" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"label" : {
"type" : "string",
"minLength" : 2,
"maxLength" : 107
},
"yEquals" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 60
}
},
"additionalProperties" : false
}
},
"slug" : {
"type" : "string",
"minLength" : 3,
"maxLength" : 134
},
"internalNotes" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 511
},
"version" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"logo" : {
"type" : "string",
"minLength" : 4,
"maxLength" : 9
},
"id" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"add-country-control" : {
"type" : "boolean"
},
"chart-slug" : {
"type" : "string",
"minLength" : 19,
"maxLength" : 65
},
"group-by-variables" : {
"type" : "boolean"
},
"entityType" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 27
},
"note" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 645
},
"units" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 300
},
"logos" : {
"type" : "array",
"items" : {
"type" : "string",
"minLength" : 3,
"maxLength" : 3
}
},
"timeline" : {
"type" : [ "object", "array", "null" ],
"properties" : {
"compareEndPointsOnly" : {
"type" : "boolean"
}
},
"additionalProperties" : false,
"items" : { }
},
"dimensions" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"targetYear" : {
"type" : [ "integer", "null" ],
"maximum" : 32767,
"minimum" : 0
},
"id" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"order" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"chartId" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"property" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 5
},
"numDecimalPlaces" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"display" : {
"type" : "object",
"properties" : {
"isProjection" : {
"type" : "boolean"
},
"name" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 153
},
"tableDisplay" : {
"type" : "object",
"properties" : {
"hideAbsoluteChange" : {
"type" : "boolean"
},
"hideRelativeChange" : {
"type" : "boolean"
}
},
"additionalProperties" : false
},
"tolerance" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"entityAnnotationsMap" : {
"type" : "string",
"minLength" : 25,
"maxLength" : 2086
},
"yearIsDay" : {
"type" : "boolean"
},
"color" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"includeInTable" : {
"type" : "boolean"
},
"shortUnit" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 22
},
"conversionFactor" : {
"type" : "number"
},
"unit" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 84
},
"numDecimalPlaces" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"zeroDay" : {
"type" : "string",
"minLength" : 10,
"maxLength" : 10
}
},
"additionalProperties" : false
},
"variableId" : {
"type" : "integer",
"maximum" : 2147483647,
"minimum" : 0
}
},
"additionalProperties" : false
}
},
"selectedEntityIds" : {
"type" : "array",
"items" : {
"type" : "integer",
"maximum" : 2147483647,
"minimum" : 0
}
},
"/charts/29" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 0
},
"addCountryMode" : {
"type" : "string",
"minLength" : 8,
"maxLength" : 14
},
"compareEndPointsOnly" : {
"type" : "boolean"
},
"selectedEntityColors" : {
"type" : "object",
"properties" : {
"20-24 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Gray whale" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"El Nino" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Amphibians" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Vertebrates" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"La Nina" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"45-49 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"40-44 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"North America (excl. USA)" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Mammals" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Cropland" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Oceania" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"55-59 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"<1 year old" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"35-39 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Birds" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"North America" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"United States" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Wild barren land" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Wild woodlands" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"1-4 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"50-54 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Sei/Bryde's whale" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Europe (excl. EU-27)" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"75-79 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Semi-natural land" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Bowhead whale" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Blue whale" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Pasture" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Europe" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"80+ years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Humpack whale" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Moderate" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Villages" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Urban" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"15-19 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"All whale species" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"South America" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"65-69 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"10-14 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Asia" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"30-34 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"EU-27" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Right whale" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Permanent ice" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Microwave" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Fin whale" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"60-64 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Reptiles" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Electric power" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"70-74 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Africa" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"25-29 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"5-9 years" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
},
"Minke whale" : {
"type" : "string",
"minLength" : 7,
"maxLength" : 7
}
},
"additionalProperties" : false
},
"relatedQuestions" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 54
},
"text" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 75
}
},
"additionalProperties" : false
}
},
"unit" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 0
},
"title" : {
"type" : "string",
"minLength" : 3,
"maxLength" : 140
},
"isAutoTitle" : {
"type" : "boolean"
},
"type" : {
"type" : "string",
"minLength" : 9,
"maxLength" : 18
},
"chart-name" : {
"type" : "string",
"minLength" : 25,
"maxLength" : 98
},
"hasMapTab" : {
"type" : "boolean"
},
"iframe-width" : {
"type" : "string",
"minLength" : 4,
"maxLength" : 4
},
"stackMode" : {
"type" : [ "string", "null" ],
"minLength" : 0,
"maxLength" : 8
},
"minTime" : {
"type" : [ "string", "integer" ],
"minLength" : 6,
"maxLength" : 8,
"maximum" : 2147483647,
"minimum" : -2147483648
},
"hideTitleAnnotation" : {
"type" : "boolean"
},
"excludedEntities" : {
"type" : "array",
"items" : {
"type" : "integer",
"maximum" : 2147483647,
"minimum" : 0
}
},
"xAxis" : {
"type" : "object",
"properties" : {
"removePointsOutsideDomain" : {
"type" : "boolean"
},
"prefix" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 1
},
"label" : {
"type" : "string",
"minLength" : 0,
"maxLength" : 61
},
"suffix" : {
"type" : "string",
"minLength" : 1,
"maxLength" : 5
},
"min" : {
"type" : "number"
},
"scaleType" : {
"type" : "string",
"minLength" : 3,
"maxLength" : 6
},
"max" : {
"type" : "number",
"minimum" : 0
},
"canChangeScaleType" : {
"type" : "boolean"
},
"labelDistance" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : -32768
},
"numDecimalPlaces" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
}
},
"additionalProperties" : false
},
"timelineMaxTime" : {
"type" : "integer",
"maximum" : 32767,
"minimum" : 0
},
"isExplorable" : {
"type" : "boolean"
},
"hideConnectedScatterLines" : {
"type" : "boolean"
}
},
"additionalProperties" : false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment