HubSpot · JSON Structure

Hubspot Source Code 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/draft/2020-12/schema meta-schema.

Properties

message line suggestion

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "A validation warning",
  "name": "ValidationWarning",
  "properties": {
    "message": {
      "type": "string",
      "description": "Warning description"
    },
    "line": {
      "type": "integer",
      "description": "Line number where the warning occurred"
    },
    "suggestion": {
      "type": "string",
      "description": "Suggested fix"
    }
  },
  "required": [
    "message"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}