{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-ignite/refs/heads/main/json-schema/rest-api-problem-schema.json",
  "title": "Problem",
  "description": "Extended description of the problem with the request.",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Short summary of the issue."
    },
    "status": {
      "type": "integer",
      "description": "Returned HTTP status code.",
      "format": "int32"
    },
    "code": {
      "type": "string",
      "description": "Ignite 3 error code."
    },
    "type": {
      "type": "string",
      "description": "URI to documentation regarding the issue."
    },
    "detail": {
      "type": "string",
      "description": "Extended explanation of the issue."
    },
    "node": {
      "type": "string",
      "description": "Name of the node the issue happened on."
    },
    "traceId": {
      "type": "string",
      "description": "Unique issue identifier. This identifier can be used to find logs related to the issue.",
      "format": "uuid"
    },
    "invalidParams": {
      "type": "array",
      "description": "A list of parameters that did not pass validation and the reason for it.",
      "items": {
        "$ref": "#/components/schemas/InvalidParam"
      }
    }
  }
}