Raw schema
{
"type": "object",
"properties": {
"place": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"maxItems": 10
}
],
"description": "Slug, name, 'City, ST', 'City, Country', ICAO or 'lat,lon'. An array (up to 10) for line/week."
},
"date": {
"type": "string",
"description": "today | tomorrow | +N (0-7) | YYYY-MM-DD, each place's local date. Default: today before 15:00 local, else tomorrow."
},
"days": {
"type": "integer",
"minimum": 1,
"maximum": 7,
"description": "week/table days (default 7)"
},
"size": {
"type": "string",
"enum": [
"line",
"week",
"table",
"series",
"runs"
],
"description": "default line; runs = each source's newest runs by day (trading fields)"
},
"format": {
"type": "string",
"enum": [
"md",
"tsv",
"json"
],
"description": "line md, others tsv"
},
"units": {
"type": "string",
"enum": [
"F",
"C"
],
"description": "default F in the US, else C; rain in inches with F, mm with C"
},
"hours": {
"type": "integer",
"minimum": 24,
"maximum": 168,
"description": "series hours (72)"
},
"step": {
"type": "integer",
"enum": [
1,
3,
6
],
"description": "series step hours (temp 3, rain 6)"
},
"include_6h": {
"type": "boolean",
"description": "temp only: also count 6-hourly (~) days"
},
"all": {
"type": "boolean",
"description": "table: also twin and stale rows"
},
"credits": {
"type": "string",
"enum": [
"compact",
"full",
"short"
]
},
"runs": {
"type": "integer",
"minimum": 1,
"maximum": 4,
"description": "size=runs: newest runs per source (1)"
},
"variable": {
"type": "string",
"enum": [
"temp",
"rain"
],
"description": "temp (default) or rain"
},
"win": {
"type": "string",
"enum": [
"lst",
"cal"
],
"description": "rain: lst = the climate day at a daily-rain settle station, cal = calendar day"
},
"stn": {
"type": "string",
"description": "rain: a settle station of the place, e.g. KORD"
}
},
"required": [
"place"
],
"additionalProperties": false
}