Tomorrow.io · JSON Structure

Location Tags Request Structure

Payload for bulk add/remove of tags across locations.

Type: object Properties: 2 Required: 2
WeatherClimateForecastHistorical WeatherAir QualityPollenFireFloodRoutesMap TilesAviationMaritimePublic APIs

LocationTagsRequest is a JSON Structure definition published by Tomorrow.io, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

locationIds tags

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tomorrow/refs/heads/main/json-structure/location-tags-request-structure.json",
  "name": "LocationTagsRequest",
  "description": "Payload for bulk add/remove of tags across locations.",
  "type": "object",
  "properties": {
    "locationIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "6183d156022c1b0008685cc6",
        "6183d156022c1b0008685cc7"
      ]
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "rooftop"
      ]
    }
  },
  "required": [
    "locationIds",
    "tags"
  ]
}