Otter · Schema

ErrorMessage

The error response object.

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
message string The error description.
details array The error details.
View JSON Schema on GitHub

JSON Schema

public-api-error-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ErrorMessage",
  "description": "The error response object.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-error-message-schema.json",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "The error description.",
      "example": "The request body is invalid."
    },
    "details": {
      "type": "array",
      "description": "The error details.",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-error-detail-schema.json"
      }
    }
  }
}