{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/manticore/main/json-schema/responseErrorDetails.json",
  "title": "responseErrorDetails",
  "description": "Detailed error information returned in case of an error response",
  "type": "object",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "Type or category of the error"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ],
      "description": "Detailed explanation of why the error occurred"
    },
    "table": {
      "type": [
        "string",
        "null"
      ],
      "description": "The table related to the error, if applicable"
    }
  }
}