Tomorrow.io · JSON Structure

Geo Jsongeometry Structure

GeoJSON geometry — Point, LineString, or Polygon.

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

GeoJSONGeometry 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

type coordinates

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/geo-jsongeometry-structure.json",
  "name": "GeoJSONGeometry",
  "description": "GeoJSON geometry \u2014 Point, LineString, or Polygon.",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "Point",
        "LineString",
        "Polygon"
      ],
      "example": "Point"
    },
    "coordinates": {
      "type": "array",
      "items": {},
      "example": [
        -71.0466,
        42.3478
      ]
    }
  },
  "required": [
    "type",
    "coordinates"
  ]
}