Grubhub · Schema

ResponseWrapperServiceAreaResponse

Food DeliveryRestaurantMarketplaceOnline OrderingPoint-of-SaleLogisticsLast Mile DeliveryMenu ManagementHospitalityLocal CommerceDelivery

Properties

Name Type Description
response object
errors array A list of errors returned.
View JSON Schema on GitHub

JSON Schema

grubhub-responsewrapperservicearearesponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-responsewrapperservicearearesponse-schema.json",
  "title": "ResponseWrapperServiceAreaResponse",
  "x-generated": "2026-09-17",
  "x-method": "derived",
  "x-source": "openapi/grubhub-connect-endpoints-openapi.yml#/components/schemas/ResponseWrapperServiceAreaResponse",
  "type": "object",
  "properties": {
    "response": {
      "$ref": "#/$defs/ServiceAreaResponse"
    },
    "errors": {
      "type": "array",
      "description": "A list of errors returned.",
      "items": {
        "$ref": "#/$defs/PublicApiError"
      }
    }
  },
  "$defs": {
    "DeliveryArea": {
      "required": [
        "features",
        "type"
      ],
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "The type of delivery area.",
          "example": "FeatureCollection"
        },
        "features": {
          "type": "array",
          "description": "The list of features that make up the delivery area.",
          "items": {
            "$ref": "#/$defs/Feature"
          }
        }
      },
      "description": "The delivery area information."
    },
    "Feature": {
      "required": [
        "geometry",
        "properties",
        "type"
      ],
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "The type of feature.",
          "example": "Feature"
        },
        "properties": {
          "$ref": "#/$defs/Properties"
        },
        "geometry": {
          "$ref": "#/$defs/Geometry"
        }
      },
      "description": "The feature information of the delivery area."
    },
    "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."
    },
    "Properties": {
      "required": [
        "name"
      ],
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the delivery area.",
          "example": "CHICAGO-IL"
        }
      },
      "description": "The properties of the delivery area."
    },
    "PublicApiError": {
      "required": [
        "code",
        "message"
      ],
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "A code representing the type of error that occurred."
        },
        "message": {
          "type": "string",
          "description": "A detailed description of the error that occurred."
        }
      },
      "description": "An error returned by the delivery API."
    },
    "ServiceAreaResponse": {
      "required": [
        "delivery_areas"
      ],
      "type": "object",
      "properties": {
        "delivery_areas": {
          "type": "array",
          "description": "The list of delivery areas that are currently active.",
          "items": {
            "$ref": "#/$defs/DeliveryArea"
          }
        }
      },
      "description": "The response information for delivery service areas."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/grubhub-responsewrapperservicearearesponse"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.