{
  "x402Version": 2,
  "id": 29575,
  "slug": "29575",
  "resource": "https://netintel.dev/schema/validate",
  "description": "Validate data against a supplied schema — checks required fields, nested objects, arrays, enums, string formats, numeric ranges, lengths, and additional-property rules deterministically, with optional type coercion and repair, returning precise errors with JSON paths so agents can verify structured data before acting on it.",
  "type": "http",
  "serviceName": "NetIntel",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784214098/bazaar-icons/7d2bf437631b2e4e.png",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "coerced": {
            "type": "boolean"
          },
          "error_count": {
            "type": "number"
          },
          "errors": {
            "type": "array"
          },
          "findings": {
            "type": "array"
          },
          "grade": {
            "type": "string"
          },
          "is_repaired_valid": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "repaired": {
            "type": [
              "object",
              "array",
              "null"
            ]
          },
          "score": {
            "type": "number"
          },
          "valid": {
            "type": "boolean"
          },
          "warnings": {
            "type": "array"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "data": {
              "age": "42",
              "name": "Acme"
            },
            "schema": {
              "age": "number",
              "email": "email",
              "name": "string"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "coerced": false,
            "error_count": 2,
            "errors": [
              {
                "expected": "required",
                "message": "required field is missing",
                "path": "$.email",
                "received": "undefined"
              },
              {
                "expected": "number",
                "message": "expected number, received string",
                "path": "$.age",
                "received": "string"
              }
            ],
            "findings": [
              {
                "deduction": 0,
                "detail": "Data does not satisfy the schema (2 errors)",
                "rule": "data_invalid"
              }
            ],
            "grade": "A",
            "is_repaired_valid": null,
            "repaired": null,
            "score": 100,
            "valid": false,
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "allow_llm": {
                    "description": "Default true. Gates the LLM repair fallback only — validation itself is always deterministic.",
                    "type": "boolean"
                  },
                  "coerce": {
                    "description": "Default false. Coerce values to the declared types where lossless (\"5\" → 5, \"yes\" → true).",
                    "type": "boolean"
                  },
                  "data": {
                    "description": "The data to validate: an object, an array, or a JSON string (malformed strings are repaired first). Max 64KB.",
                    "type": [
                      "object",
                      "array",
                      "string"
                    ]
                  },
                  "repair": {
                    "description": "Default false. When invalid, also return a repaired copy of the data plus is_repaired_valid. Deterministic first (coercion, declared defaults, enum casing, strict extra-key removal).",
                    "type": "boolean"
                  },
                  "schema": {
                    "description": "JSON Schema ({\"type\":\"object\",\"properties\":{...},\"required\":[...]}) or a simplified field→type map ({\"age\":\"number\",\"email\":\"email\",\"tags\":\"string[]\",\"bio\":\"string?\"}). In the map form a field is required unless suffixed with '?'. Formats: email, url, date, date-time, uuid, ipv4, ipv6, hostname.",
                    "type": "object"
                  }
                },
                "required": [
                  "data",
                  "schema"
                ],
                "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": {
                "properties": {
                  "coerced": {
                    "type": "boolean"
                  },
                  "error_count": {
                    "type": "number"
                  },
                  "errors": {
                    "type": "array"
                  },
                  "findings": {
                    "type": "array"
                  },
                  "grade": {
                    "type": "string"
                  },
                  "is_repaired_valid": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "repaired": {
                    "type": [
                      "object",
                      "array",
                      "null"
                    ]
                  },
                  "score": {
                    "type": "number"
                  },
                  "valid": {
                    "type": "boolean"
                  },
                  "warnings": {
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "json schema",
    "validation",
    "data quality",
    "json parser",
    "schema check",
    "bazaar"
  ],
  "sourceHost": "netintel.dev",
  "lastUpdated": "2026-10-08T06:08:34.777Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:08:34.577Z"
  },
  "metadata": {
    "serviceName": "NetIntel",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784214098/bazaar-icons/7d2bf437631b2e4e.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "data": {
                "age": "42",
                "name": "Acme"
              },
              "schema": {
                "age": "number",
                "email": "email",
                "name": "string"
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "coerced": false,
              "error_count": 2,
              "errors": [
                {
                  "expected": "required",
                  "message": "required field is missing",
                  "path": "$.email",
                  "received": "undefined"
                },
                {
                  "expected": "number",
                  "message": "expected number, received string",
                  "path": "$.age",
                  "received": "string"
                }
              ],
              "findings": [
                {
                  "deduction": 0,
                  "detail": "Data does not satisfy the schema (2 errors)",
                  "rule": "data_invalid"
                }
              ],
              "grade": "A",
              "is_repaired_valid": null,
              "repaired": null,
              "score": 100,
              "valid": false,
              "warnings": []
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "allow_llm": {
                      "description": "Default true. Gates the LLM repair fallback only — validation itself is always deterministic.",
                      "type": "boolean"
                    },
                    "coerce": {
                      "description": "Default false. Coerce values to the declared types where lossless (\"5\" → 5, \"yes\" → true).",
                      "type": "boolean"
                    },
                    "data": {
                      "description": "The data to validate: an object, an array, or a JSON string (malformed strings are repaired first). Max 64KB.",
                      "type": [
                        "object",
                        "array",
                        "string"
                      ]
                    },
                    "repair": {
                      "description": "Default false. When invalid, also return a repaired copy of the data plus is_repaired_valid. Deterministic first (coercion, declared defaults, enum casing, strict extra-key removal).",
                      "type": "boolean"
                    },
                    "schema": {
                      "description": "JSON Schema ({\"type\":\"object\",\"properties\":{...},\"required\":[...]}) or a simplified field→type map ({\"age\":\"number\",\"email\":\"email\",\"tags\":\"string[]\",\"bio\":\"string?\"}). In the map form a field is required unless suffixed with '?'. Formats: email, url, date, date-time, uuid, ipv4, ipv6, hostname.",
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "schema"
                  ],
                  "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": {
                  "properties": {
                    "coerced": {
                      "type": "boolean"
                    },
                    "error_count": {
                      "type": "number"
                    },
                    "errors": {
                      "type": "array"
                    },
                    "findings": {
                      "type": "array"
                    },
                    "grade": {
                      "type": "string"
                    },
                    "is_repaired_valid": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "repaired": {
                      "type": [
                        "object",
                        "array",
                        "null"
                      ]
                    },
                    "score": {
                      "type": "number"
                    },
                    "valid": {
                      "type": "boolean"
                    },
                    "warnings": {
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "netintel.dev",
    "manifest_name": "netintel.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "coerced": false,
    "error_count": 2,
    "errors": [
      {
        "expected": "required",
        "message": "required field is missing",
        "path": "$.email",
        "received": "undefined"
      },
      {
        "expected": "number",
        "message": "expected number, received string",
        "path": "$.age",
        "received": "string"
      }
    ],
    "findings": [
      {
        "deduction": 0,
        "detail": "Data does not satisfy the schema (2 errors)",
        "rule": "data_invalid"
      }
    ],
    "grade": "A",
    "is_repaired_valid": null,
    "repaired": null,
    "score": 100,
    "valid": false,
    "warnings": []
  }
}