HubSpot · JSON Structure

Source Code Api Validation Warning Structure

A validation warning

Type: object Properties: 3 Required: 1
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

ValidationWarning is a JSON Structure definition published by HubSpot, describing 3 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

message line suggestion

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/source-code-api-validation-warning-structure.json",
  "name": "ValidationWarning",
  "description": "A validation warning",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "Warning description",
      "example": "Deprecated function 'blog_recent_posts' used"
    },
    "line": {
      "type": "int32",
      "description": "Line number where the warning occurred",
      "example": 28
    },
    "suggestion": {
      "type": "string",
      "description": "Suggested fix",
      "example": "Use 'blog_posts' function instead"
    }
  },
  "required": [
    "message"
  ]
}