Skip to content

GeoShape

A GeoShape is an area: a box, a circle, a line or a polygon of coordinates as text, or a postal code and country, in a Service's or Demand's areaServed. Send its at_type, GeoShape.

Modeled on schema.org/GeoShape ยท JSON Schema

Example

{
  "at_type": "GeoShape",
  "postalCode": "10115",
  "addressCountry": "DE"
}

Fields

Required: at_type.

Field Type Required Description
at_type GeoShape Yes JSON-LD @type, the object's type name.
box string Two points, 'south-west-lat south-west-lon north-east-lat north-east-lon'
circle string A point and a radius in metres, 'lat lon radius'
line string Points, 'lat1 lon1 lat2 lon2 ...'
polygon string Points, the last the same as the first, 'lat1 lon1 lat2 lon2 ... lat1 lon1'
postalCode string A postal code
addressCountry CountryCodeEnumeration The country, ISO 3166-1 alpha-2