HubSpot · Schema

ValidationResult

Result of file validation

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

Properties

Name Type Description
valid boolean Whether the file passed validation
errors array List of validation errors (if any)
warnings array List of validation warnings (if any)
View JSON Schema on GitHub

JSON Schema

source-code-api-validation-result-schema.json Raw ↑
{
  "$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-result-schema.json",
  "title": "ValidationResult",
  "description": "Result of file validation",
  "type": "object",
  "properties": {
    "valid": {
      "type": "boolean",
      "description": "Whether the file passed validation",
      "example": true
    },
    "errors": {
      "type": "array",
      "description": "List of validation errors (if any)",
      "items": {
        "type": "object",
        "description": "A validation error",
        "required": [
          "message",
          "line"
        ],
        "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"
          }
        }
      },
      "example": [
        {
          "message": "Syntax error: unexpected end of template",
          "line": 42,
          "column": 15,
          "category": "HUBL_SYNTAX"
        }
      ]
    },
    "warnings": {
      "type": "array",
      "description": "List of validation warnings (if any)",
      "items": {
        "type": "object",
        "description": "A validation warning",
        "required": [
          "message"
        ],
        "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"
          }
        }
      },
      "example": [
        {
          "message": "Deprecated function 'blog_recent_posts' used",
          "line": 28,
          "suggestion": "Use 'blog_posts' function instead"
        }
      ]
    }
  },
  "required": [
    "valid"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/source-code-api-validation-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.