{
  "$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-warning-schema.json",
  "title": "ValidationWarning",
  "description": "A validation warning",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "Warning description",
      "example": "Deprecated function 'blog_recent_posts' used"
    },
    "line": {
      "type": "integer",
      "description": "Line number where the warning occurred",
      "example": 28
    },
    "suggestion": {
      "type": "string",
      "description": "Suggested fix",
      "example": "Use 'blog_posts' function instead"
    }
  },
  "required": [
    "message"
  ]
}