Otter · JSON Structure

Public Api Error Message Structure

The error response object.

Type: object Properties: 2
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

ErrorMessage is a JSON Structure definition published by Otter, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

message details

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-error-message-structure.json",
  "name": "ErrorMessage",
  "description": "The error response object.",
  "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"
      }
    }
  }
}