{
  "x402Version": 2,
  "id": 12443,
  "slug": "12443",
  "resource": "https://toolbelt402.tpoborne.workers.dev/json/validate",
  "description": "Validate JSON data against a JSON Schema (draft-07, 2019-09, 2020-12) — returns exact error locations, keywords, and messages for programmatic handling. Deterministic schema validation.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x06b40bf8Dfdc45049ea7f600c84301E227a2Ca15",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "data": {
              "age": 3
            },
            "schema": {
              "properties": {
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "name"
              ],
              "type": "object"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "errors": [
              {
                "error": "Instance does not have required property \"name\".",
                "keyword": "required",
                "location": "#"
              }
            ],
            "valid": false
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "data": {
                    "description": "Instance to validate"
                  },
                  "draft": {
                    "description": "Optional: 7, 2019-09 or 2020-12 (default)",
                    "type": "string"
                  },
                  "schema": {
                    "description": "JSON Schema to validate against",
                    "type": "object"
                  }
                },
                "required": [
                  "schema",
                  "data"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "toolbelt402.tpoborne.workers.dev",
  "lastUpdated": "2026-08-31T16:16:46.055Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-31T16:16:45.486Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "toolbelt402.tpoborne.workers.dev",
    "manifest_name": "toolbelt402.tpoborne.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}