geojsonGeometry

November 12, 2025 · View on GitHub

geoJSON geometry

Type: object


Properties overview

PropertyTypeRequiredDescription
typestring

Detailed Properties

  • type (string) - required
    value: "Point|LineString|Polygon|MultiPolygon"

Composition (oneOf)

This schema must match exactly one of the following schemas:

  1. geojsonPoint
    • Geojson Coordinate
    • Properties: coordinates
  2. geojsonLine
    • An array of WGS84 coordinate pairs
    • Properties: coordinates
  3. geojsonPolygon
  4. geojsonMultiPolygon

Example

{
  "type": "Point|LineString|Polygon|MultiPolygon"
}