{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/source-code-api-validation-error-schema.json",
  "title": "ValidationError",
  "description": "A validation error",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "Error description",
      "example": "Syntax error: unexpected end of template"
    },
    "line": {
      "type": "integer",
      "description": "Line number where the error occurred",
      "example": 42
    },
    "column": {
      "type": "integer",
      "description": "Column number where the error occurred",
      "example": 15
    },
    "category": {
      "type": "string",
      "description": "Error category",
      "example": "HUBL_SYNTAX"
    }
  },
  "required": [
    "message",
    "line"
  ]
}