{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-publicapierror-schema.json",
  "title": "PublicApiError",
  "x-generated": "2026-09-17",
  "x-method": "derived",
  "x-source": "openapi/grubhub-connect-endpoints-openapi.yml#/components/schemas/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."
}