{
  "x402Version": 2,
  "id": 8670,
  "slug": "8670",
  "resource": "https://workbot1.oddsys.org/validate",
  "description": "Validate JSON against a JSON Schema (draft-07, 2019-09, 2020-12, with string formats): every violation with path, keyword and message. One instance, a JSON string, or up to 100 instances against one schema.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x15459498e1191d8787c83177809bd54022fA18c4",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "data": {
              "age": 36,
              "email": "ada@example.com"
            },
            "schema": {
              "properties": {
                "age": {
                  "minimum": 0,
                  "type": "integer"
                },
                "email": {
                  "format": "email",
                  "type": "string"
                }
              },
              "required": [
                "email"
              ],
              "type": "object"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "body": {
            "draft": "string",
            "errors": "array — { path, keyword, message, params, schemaPath }",
            "results": "array (items mode) — { index, valid, errors }",
            "valid": "boolean"
          },
          "bodyType": "json",
          "example": {
            "draft": "draft-07",
            "errors": [],
            "valid": true
          }
        }
      },
      "routeTemplate": "/validate",
      "schema": {
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "description": "The instance to validate (any JSON value)."
                  },
                  "dataText": {
                    "description": "The instance as a JSON string (parsed first; parse errors are reported as a violation).",
                    "type": "string"
                  },
                  "items": {
                    "description": "Validate many instances against the one schema.",
                    "maxItems": 100,
                    "type": "array"
                  },
                  "schema": {
                    "description": "JSON Schema (draft-07 default; $schema may select 2019-09 or 2020-12). Remote $ref is rejected.",
                    "type": "object"
                  }
                },
                "required": [
                  "schema"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          }
        }
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "workbot1.oddsys.org",
  "lastUpdated": "2026-09-17T09:03:35.419Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-17T09:03:35.236Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "workbot1.oddsys.org",
    "manifest_name": "workbot1.oddsys.org",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}