{
  "openapi": "3.1.0",
  "info": {
    "title": "fikaloop agents API",
    "version": "1.0.0",
    "description": "Read-only JSON about 422 galleries, museums and cafés in central Helsinki, their exhibitions, daily walk plans and the weather. Every response, errors included, carries the envelope (fetched_at, data_age_seconds, data_status, season, region). Human documentation: https://fikaloop.com/agents/",
    "contact": {
      "url": "https://fikaloop.com/agents/"
    }
  },
  "servers": [
    {
      "url": "https://fikaloop.com"
    }
  ],
  "paths": {
    "/api/v1/venues.json": {
      "get": {
        "operationId": "listVenues",
        "summary": "All venues",
        "responses": {
          "200": {
            "description": "All venues",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "coverage",
                        "venues"
                      ],
                      "properties": {
                        "coverage": {
                          "$ref": "#/components/schemas/Coverage"
                        },
                        "venues": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Venue"
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "503": {
            "description": "Snapshot unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "$ref": "#/components/schemas/Error"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/venue/{slug}.json": {
      "get": {
        "operationId": "getVenue",
        "summary": "One venue with its exhibitions",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z0-9-]{1,80}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The venue",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "venue": {
                          "allOf": [
                            {
                              "$ref": "#/components/schemas/Venue"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "exhibitions": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Exhibition"
                                  }
                                }
                              }
                            }
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, or outside coverage",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "$ref": "#/components/schemas/Error"
                    }
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Not found (with suggestions)",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "$ref": "#/components/schemas/Error"
                    }
                  ]
                }
              }
            }
          },
          "503": {
            "description": "Snapshot unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "$ref": "#/components/schemas/Error"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/exhibitions.json": {
      "get": {
        "operationId": "listExhibitions",
        "summary": "Current and upcoming exhibitions",
        "responses": {
          "200": {
            "description": "Exhibitions",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "date": {
                          "type": "string",
                          "format": "date"
                        },
                        "message": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "sources": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "licence": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            }
                          }
                        },
                        "exhibitions": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Exhibition"
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "503": {
            "description": "Snapshot unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "$ref": "#/components/schemas/Error"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/walks.json": {
      "get": {
        "operationId": "listWalks",
        "summary": "Walks planned for a date",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": false,
            "description": "A real YYYY-MM-DD Helsinki calendar date (2026-02-30 is a 400 invalid-date). Default: today.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Walks (empty with a message when there is no plan for the date)",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "date": {
                          "type": "string",
                          "format": "date"
                        },
                        "weekday": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "monday",
                            "tuesday",
                            "wednesday",
                            "thursday",
                            "friday",
                            "saturday",
                            "sunday",
                            null
                          ]
                        },
                        "message": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "available_dates": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "date"
                          }
                        },
                        "walks": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Walk"
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, or outside coverage",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "$ref": "#/components/schemas/Error"
                    }
                  ]
                }
              }
            }
          },
          "503": {
            "description": "Snapshot unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "$ref": "#/components/schemas/Error"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/themes.json": {
      "get": {
        "operationId": "listThemes",
        "summary": "Themed walks",
        "responses": {
          "200": {
            "description": "Themes",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "null normally; a reason when no theme is planned in the coming week"
                        },
                        "themes": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Theme"
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "503": {
            "description": "Snapshot unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "$ref": "#/components/schemas/Error"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/weather.json": {
      "get": {
        "operationId": "getWeather",
        "summary": "Hourly forecast with what to wear",
        "responses": {
          "200": {
            "description": "Forecast from the current hour on",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "source": {
                          "type": "string"
                        },
                        "licence": {
                          "type": "string"
                        },
                        "location": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "lat": {
                              "type": "number"
                            },
                            "lng": {
                              "type": "number"
                            }
                          }
                        },
                        "message": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "hours": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/WeatherHour"
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "503": {
            "description": "Snapshot unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "$ref": "#/components/schemas/Error"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/nearest.json": {
      "get": {
        "operationId": "nearestVenues",
        "summary": "Nearest venues to a point (rate limited)",
        "parameters": [
          {
            "name": "lat",
            "in": "query",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "lng",
            "in": "query",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "n",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10,
              "default": 5
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "gallery",
                "museum",
                "cafe"
              ]
            }
          },
          {
            "name": "open_now",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1"
              ]
            }
          },
          {
            "name": "include_chains",
            "in": "query",
            "required": false,
            "description": "Chain cafés are left out by default; 1 includes them.",
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1"
              ],
              "default": "0"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Nearest venues",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "query",
                        "message",
                        "venues"
                      ],
                      "properties": {
                        "query": {
                          "type": "object",
                          "properties": {
                            "lat": {
                              "type": "number"
                            },
                            "lng": {
                              "type": "number"
                            },
                            "n": {
                              "type": "integer"
                            },
                            "type": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "open_now": {
                              "type": "boolean"
                            },
                            "include_chains": {
                              "type": "boolean"
                            }
                          }
                        },
                        "message": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "venues": {
                          "type": "array",
                          "items": {
                            "allOf": [
                              {
                                "$ref": "#/components/schemas/Venue"
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "distance_m": {
                                    "type": "integer"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid input, or outside coverage",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "$ref": "#/components/schemas/Error"
                    }
                  ]
                }
              }
            }
          },
          "429": {
            "description": "Rate limited",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "$ref": "#/components/schemas/Error"
                    }
                  ]
                }
              }
            }
          },
          "503": {
            "description": "Snapshot unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "$ref": "#/components/schemas/Error"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Envelope": {
        "type": "object",
        "required": [
          "fetched_at",
          "data_age_seconds",
          "data_status",
          "season",
          "region"
        ],
        "properties": {
          "fetched_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "data_age_seconds": {
            "type": [
              "integer",
              "null"
            ]
          },
          "data_status": {
            "type": "string",
            "enum": [
              "live",
              "stale",
              "degraded"
            ]
          },
          "season": {
            "type": "object",
            "properties": {
              "active": {
                "type": "boolean"
              },
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "region": {
            "type": "string",
            "enum": [
              "helsinki"
            ]
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "error",
          "message"
        ],
        "properties": {
          "error": {
            "type": "string",
            "enum": [
              "invalid-slug",
              "venue-not-found",
              "invalid-date",
              "invalid-coordinates",
              "invalid-count",
              "invalid-type",
              "invalid-open-now",
              "invalid-include-chains",
              "outside-coverage",
              "rate-limited",
              "snapshot-unavailable",
              "method-not-allowed",
              "unknown-endpoint"
            ]
          },
          "message": {
            "type": "string"
          },
          "suggestions": {
            "type": "array",
            "maxItems": 5,
            "items": {
              "type": "string"
            }
          },
          "coverage": {
            "type": "object"
          },
          "endpoints": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "Coverage": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "bbox": {
            "type": "object",
            "properties": {
              "min_lat": {
                "type": "number"
              },
              "max_lat": {
                "type": "number"
              },
              "min_lng": {
                "type": "number"
              },
              "max_lng": {
                "type": "number"
              }
            }
          },
          "polygon": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            }
          }
        }
      },
      "Venue": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "id": {
            "type": "string",
            "description": "OpenStreetMap id, e.g. node/123"
          },
          "type": {
            "type": "string",
            "enum": [
              "gallery",
              "museum",
              "cafe"
            ]
          },
          "name": {
            "type": "string"
          },
          "district": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "fi": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              }
            }
          },
          "address": {
            "type": [
              "string",
              "null"
            ]
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "website": {
            "type": [
              "string",
              "null"
            ]
          },
          "chain": {
            "type": "boolean"
          },
          "hours": {
            "type": [
              "object",
              "null"
            ],
            "description": "Weekly pattern; a closing time past 24:00 means after midnight",
            "properties": {
              "monday": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^\\d{2}:\\d{2}$",
                    "description": "HH:MM from the start of the day it belongs to; times after midnight continue past 24:00 (e.g. 26:00 = 2 am)"
                  },
                  "minItems": 2,
                  "maxItems": 2
                }
              },
              "tuesday": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^\\d{2}:\\d{2}$",
                    "description": "HH:MM from the start of the day it belongs to; times after midnight continue past 24:00 (e.g. 26:00 = 2 am)"
                  },
                  "minItems": 2,
                  "maxItems": 2
                }
              },
              "wednesday": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^\\d{2}:\\d{2}$",
                    "description": "HH:MM from the start of the day it belongs to; times after midnight continue past 24:00 (e.g. 26:00 = 2 am)"
                  },
                  "minItems": 2,
                  "maxItems": 2
                }
              },
              "thursday": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^\\d{2}:\\d{2}$",
                    "description": "HH:MM from the start of the day it belongs to; times after midnight continue past 24:00 (e.g. 26:00 = 2 am)"
                  },
                  "minItems": 2,
                  "maxItems": 2
                }
              },
              "friday": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^\\d{2}:\\d{2}$",
                    "description": "HH:MM from the start of the day it belongs to; times after midnight continue past 24:00 (e.g. 26:00 = 2 am)"
                  },
                  "minItems": 2,
                  "maxItems": 2
                }
              },
              "saturday": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^\\d{2}:\\d{2}$",
                    "description": "HH:MM from the start of the day it belongs to; times after midnight continue past 24:00 (e.g. 26:00 = 2 am)"
                  },
                  "minItems": 2,
                  "maxItems": 2
                }
              },
              "sunday": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^\\d{2}:\\d{2}$",
                    "description": "HH:MM from the start of the day it belongs to; times after midnight continue past 24:00 (e.g. 26:00 = 2 am)"
                  },
                  "minItems": 2,
                  "maxItems": 2
                }
              }
            }
          },
          "hours_text": {
            "type": [
              "string",
              "null"
            ]
          },
          "open_now": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "false while temporarily_closed"
          },
          "temporarily_closed": {
            "type": [
              "object",
              "null"
            ],
            "required": [
              "note"
            ],
            "properties": {
              "note": {
                "type": "string",
                "description": "Short English notice, e.g. closed for renovation and when it expects to reopen"
              }
            },
            "description": "null, or set when the venue is shut for a period regardless of hours"
          },
          "closes_at": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^\\d{2}:\\d{2}$",
            "description": "Today's closing time, on the same clock as hours: 24:00 = midnight, 26:00 = 2 am tonight; 02:00 only when it is already after midnight"
          },
          "page_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "map_url": {
            "type": "string"
          },
          "api_url": {
            "type": "string"
          }
        }
      },
      "Exhibition": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "venue": {
            "type": "object",
            "properties": {
              "slug": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "page_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "map_url": {
                "type": "string"
              }
            }
          },
          "start": {
            "type": [
              "string",
              "null"
            ]
          },
          "end": {
            "type": [
              "string",
              "null"
            ]
          },
          "permanent": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "enum": [
              "current",
              "upcoming"
            ]
          },
          "days_left": {
            "type": [
              "integer",
              "null"
            ]
          },
          "artists": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "lang": {
            "type": "string",
            "enum": [
              "fi",
              "sv",
              "en"
            ],
            "description": "The source's language for the title, or guessed from the title's words when the source gives none (fallback fi)"
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "Walk": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "curated",
              "theme",
              "closing",
              "opened"
            ]
          },
          "name": {
            "type": "object",
            "properties": {
              "en": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              }
            }
          },
          "area": {
            "type": [
              "string",
              "null"
            ]
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "start": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^\\d{2}:\\d{2}$",
            "description": "HH:MM from the start of the day it belongs to; times after midnight continue past 24:00 (e.g. 26:00 = 2 am)"
          },
          "end": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^\\d{2}:\\d{2}$",
            "description": "HH:MM from the start of the day it belongs to; times after midnight continue past 24:00 (e.g. 26:00 = 2 am)"
          },
          "total_m": {
            "type": "integer"
          },
          "page_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "map_url": {
            "type": "string"
          },
          "stops": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "order": {
                  "type": "integer"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "gallery",
                    "museum",
                    "cafe",
                    "place"
                  ]
                },
                "name": {
                  "type": "string"
                },
                "slug": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "lat": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "lng": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "arrive": {
                  "type": "string",
                  "pattern": "^\\d{2}:\\d{2}$",
                  "description": "HH:MM from the start of the day it belongs to; times after midnight continue past 24:00 (e.g. 26:00 = 2 am)"
                },
                "leave": {
                  "type": "string",
                  "pattern": "^\\d{2}:\\d{2}$",
                  "description": "HH:MM from the start of the day it belongs to; times after midnight continue past 24:00 (e.g. 26:00 = 2 am)"
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "open",
                    "soon",
                    "later",
                    "closed",
                    "unknown",
                    null
                  ]
                },
                "opens": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "pattern": "^\\d{2}:\\d{2}$",
                  "description": "HH:MM from the start of the day it belongs to; times after midnight continue past 24:00 (e.g. 26:00 = 2 am)"
                },
                "closes": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "pattern": "^\\d{2}:\\d{2}$",
                  "description": "HH:MM from the start of the day it belongs to; times after midnight continue past 24:00 (e.g. 26:00 = 2 am)"
                },
                "exhibitions": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "page_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "map_url": {
                  "type": "string"
                },
                "api_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "legs": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "from": {
                  "type": "integer"
                },
                "to": {
                  "type": "integer"
                },
                "metres": {
                  "type": "integer",
                  "description": "Along the walking network, not a straight line"
                },
                "minutes": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "The planner's time from leaving stop `from` to arriving at stop `to`: 75–85 m of route a minute, at least 1"
                }
              }
            }
          }
        }
      },
      "Theme": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "object",
            "properties": {
              "en": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              }
            }
          },
          "about": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "en": {
                "type": "string"
              },
              "fi": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              }
            }
          },
          "note": {
            "type": [
              "object",
              "string",
              "null"
            ]
          },
          "weekdays": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string",
              "enum": [
                "monday",
                "tuesday",
                "wednesday",
                "thursday",
                "friday",
                "saturday",
                "sunday"
              ]
            }
          },
          "weather": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "rain",
              null
            ]
          },
          "start": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^\\d{2}:\\d{2}$",
            "description": "HH:MM from the start of the day it belongs to; times after midnight continue past 24:00 (e.g. 26:00 = 2 am)"
          },
          "next_dates": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date"
            }
          },
          "page_url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "WeatherHour": {
        "type": "object",
        "properties": {
          "time": {
            "type": "string",
            "format": "date-time"
          },
          "temp_c": {
            "type": "number"
          },
          "feels_like_c": {
            "type": "number"
          },
          "precip_mm_h": {
            "type": "number"
          },
          "wind_ms": {
            "type": "number"
          },
          "symbol": {
            "type": [
              "integer",
              "null"
            ],
            "description": "FMI WeatherSymbol3 code: 1 clear, 2 partly cloudy, 3 cloudy, 21–23 showers, 31–33 rain, 41–43 snow showers, 51–53 snow, 61–64 thunder, 71–73 sleet showers, 81–83 sleet, 91–92 fog. conditions groups it into words."
          },
          "conditions": {
            "type": "string",
            "enum": [
              "clear",
              "partly-cloudy",
              "cloudy",
              "rain",
              "snow",
              "sleet",
              "thunder",
              "fog"
            ]
          },
          "daylight": {
            "type": "boolean"
          },
          "wear": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "t-shirt",
                "jacket",
                "coat",
                "scarf",
                "beanie",
                "gloves",
                "umbrella",
                "sunglasses"
              ]
            }
          }
        }
      }
    }
  }
}
