HubSpot · Schema

ValidationWarning

A validation warning

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

Properties

Name Type Description
message string Warning description
line integer Line number where the warning occurred
suggestion string Suggested fix
View JSON Schema on GitHub

JSON Schema

hubspot-source-code-validation-warning-schema.json Raw ↑
{
  "type": "object",
  "description": "A validation warning",
  "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"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ValidationWarning"
}