Source Code Api Validation Result Structure
Result of file validation
ValidationResult 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
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$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-result-structure.json",
"name": "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": "int32",
"description": "Line number where the error occurred",
"example": 42
},
"column": {
"type": "int32",
"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": "int32",
"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 Structure 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 json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure 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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-structures/source-code-api-validation-result-structure"
curl "https://apis.io/api/v1/json-structures?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.