{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ErrorResponse",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "A stable error code describing the type and nature of the error"
    },
    "message": {
      "type": "string",
      "description": "A readable description of the error and cause"
    },
    "target": {
      "type": "string",
      "description": "Information about what part of the request caused the error"
    },
    "extensionData": {
      "type": "object",
      "description": "Additional key/value information about the error"
    },
    "clientError": {
      "type": "array",
      "description": "Nested list of error objects with more details"
    }
  }
}