{ "$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" } } } }