{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-geometry-schema.json", "title": "Geometry", "x-generated": "2026-09-17", "x-method": "derived", "x-source": "openapi/grubhub-connect-endpoints-openapi.yml#/components/schemas/Geometry", "required": [ "coordinates", "type" ], "type": "object", "properties": { "type": { "type": "string", "description": "The type of geometric shape of the delivery area.", "example": "Polygon" }, "coordinates": { "type": "array", "description": "The coordinates of the delivery area.", "example": [ [ [ 0.0, 0.0 ], [ 0.0, 1.0 ], [ 1.0, 1.0 ], [ 1.0, 0.0 ], [ 0.0, 0.0 ] ] ], "items": { "type": "array", "description": "The coordinates of the delivery area.", "example": [ [ [ 0.0, 0.0 ], [ 0.0, 1.0 ], [ 1.0, 1.0 ], [ 1.0, 0.0 ], [ 0.0, 0.0 ] ] ], "items": { "type": "array", "description": "The coordinates of the delivery area.", "example": [ [ [ 0.0, 0.0 ], [ 0.0, 1.0 ], [ 1.0, 1.0 ], [ 1.0, 0.0 ], [ 0.0, 0.0 ] ] ], "items": { "type": "number", "description": "The coordinates of the delivery area.", "format": "double" } } } } }, "description": "The geometry of the delivery area." }