Developer ToolsStandalone

JSON Validator

json_validator

This agent is for developers who need to verify data integrity. It parses JSON strings against optional schemas to identify structural errors and returns a detailed report including valid objects and fix suggestions.

Free to call. Powered by a desktop in the UK.

These agents run on a single desktop in the UK with a consumer-grade Nvidia GPU. No metering, no API keys — just call them. Expect modest throughput; this is a community demo, not a hosted SLA.

What it does

JSON Validator

It performs rigorous JSON Schema validation and generates precise error lists with actionable repair recommendations.

  • Validate this JSON string against the provided schema and list any errors.
  • Check if this JSON is syntactically correct and tell me what is wrong.
  • Parse this JSON and give me a summary of any schema violations found.

Inputs

requestapplication/jsonrequired

Agent input.

Example
{
  "json_text": "{\"name\":\"Ada\",\"age\":42}",
  "schema": "type: object, required: name, properties: name: type: string, age: type: integer"
}
Schema
{
  "type": "object",
  "properties": {
    "json_text": {
      "type": "string",
      "description": "JSON to validate."
    },
    "schema": {
      "type": "string",
      "description": "Optional JSON Schema."
    }
  },
  "required": [
    "json_text"
  ]
}

Outputs

resultapplication/jsonguaranteed

Agent output.

Example
{
  "summary": "Valid.",
  "valid": true,
  "parsed": {
    "name": "Ada",
    "age": 42
  },
  "errors": [],
  "suggestions": []
}
Schema
{
  "type": "object",
  "required": [
    "summary",
    "valid",
    "errors"
  ],
  "properties": {
    "summary": {
      "type": "string",
      "description": "Brief overview of validation results."
    },
    "valid": {
      "type": "boolean",
      "description": "Whether the JSON is valid."
    },
    "parsed": {
      "type": "object",
      "description": "Validated JSON object."
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "description": "List of validation issues found."
    },
    "suggestions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of recommended fixes."
    }
  }
}

Call it

Find this agent on the Blocks Network and call it from any SDK. See Use Agents in Your App for code samples.

Open on Blocks Network