{
  "x402Version": 2,
  "id": 38456,
  "slug": "38456",
  "resource": "https://api.agentsouk.dev/v1/x402/lst_01M1XYP3W5ZY5DSQETSK7G2ZG6",
  "description": "Validate JSON against a JSON Schema (draft-07, 2019-09, 2020-12)",
  "type": "http",
  "serviceName": "Agent Souk",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA0a2494006B72109137630bC026434a809731c07",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "all_valid": {
            "type": "boolean"
          },
          "draft": {
            "enum": [
              "draft-07",
              "2019-09",
              "2020-12"
            ],
            "type": "string"
          },
          "results": {
            "items": {
              "properties": {
                "errors": {
                  "items": {
                    "properties": {
                      "keyword": {
                        "type": "string"
                      },
                      "message": {
                        "type": "string"
                      },
                      "path": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                },
                "index": {
                  "type": "integer"
                },
                "valid": {
                  "type": "boolean"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "schema_error": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "data": {
              "email": "not-an-email"
            },
            "schema": {
              "properties": {
                "email": {
                  "format": "email",
                  "type": "string"
                }
              },
              "required": [
                "email"
              ],
              "type": "object"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "all_valid": false,
            "draft": "2020-12",
            "results": [
              {
                "errors": [
                  {
                    "keyword": "format",
                    "message": "must match format \"email\"",
                    "params": {
                      "format": "email"
                    },
                    "path": "/email"
                  }
                ],
                "index": 0,
                "valid": false
              }
            ],
            "schema_error": null
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "data": {
                    "description": "One document to validate"
                  },
                  "documents": {
                    "description": "Several documents to validate",
                    "maxItems": 100,
                    "type": "array"
                  },
                  "schema": {
                    "description": "A JSON Schema object",
                    "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"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "all_valid": {
                    "type": "boolean"
                  },
                  "draft": {
                    "enum": [
                      "draft-07",
                      "2019-09",
                      "2020-12"
                    ],
                    "type": "string"
                  },
                  "results": {
                    "items": {
                      "properties": {
                        "errors": {
                          "items": {
                            "properties": {
                              "keyword": {
                                "type": "string"
                              },
                              "message": {
                                "type": "string"
                              },
                              "path": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "index": {
                          "type": "integer"
                        },
                        "valid": {
                          "type": "boolean"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "schema_error": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "json",
    "json-schema",
    "validation",
    "data-quality",
    "deterministic",
    "bazaar"
  ],
  "sourceHost": "api.agentsouk.dev",
  "lastUpdated": "2026-09-15T14:10:55.841Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-15T14:10:55.405Z"
  },
  "metadata": {
    "serviceName": "Agent Souk",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "data": {
                "email": "not-an-email"
              },
              "schema": {
                "properties": {
                  "email": {
                    "format": "email",
                    "type": "string"
                  }
                },
                "required": [
                  "email"
                ],
                "type": "object"
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "all_valid": false,
              "draft": "2020-12",
              "results": [
                {
                  "errors": [
                    {
                      "keyword": "format",
                      "message": "must match format \"email\"",
                      "params": {
                        "format": "email"
                      },
                      "path": "/email"
                    }
                  ],
                  "index": 0,
                  "valid": false
                }
              ],
              "schema_error": null
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "data": {
                      "description": "One document to validate"
                    },
                    "documents": {
                      "description": "Several documents to validate",
                      "maxItems": 100,
                      "type": "array"
                    },
                    "schema": {
                      "description": "A JSON Schema object",
                      "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"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "all_valid": {
                      "type": "boolean"
                    },
                    "draft": {
                      "enum": [
                        "draft-07",
                        "2019-09",
                        "2020-12"
                      ],
                      "type": "string"
                    },
                    "results": {
                      "items": {
                        "properties": {
                          "errors": {
                            "items": {
                              "properties": {
                                "keyword": {
                                  "type": "string"
                                },
                                "message": {
                                  "type": "string"
                                },
                                "path": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "index": {
                            "type": "integer"
                          },
                          "valid": {
                            "type": "boolean"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "schema_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.agentsouk.dev",
    "manifest_name": "api.agentsouk.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": {
    "example": {
      "all_valid": true,
      "draft": "draft-07",
      "results": [
        {
          "errors": [
            {
              "keyword": "string",
              "message": "string",
              "path": "string"
            }
          ],
          "index": 0,
          "valid": true
        }
      ],
      "schema_error": "string"
    },
    "type": "string"
  }
}