{
  "x402Version": 2,
  "id": 2587,
  "slug": "2587",
  "resource": "https://apiacre.com/v1/data/schema-validate",
  "description": "Validate JSON data against a bounded JSON Schema Draft 2020-12 contract for nested objects, arrays, required properties, types, enums, formats, lengths, patterns, and numeric bounds; return deterministic instance and schema JSON Pointers, explicit error truncation, input hashes, and no remote reference resolution.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xa0BFa4f07281c9b248DC3AED2217836BcA24869B",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "check_formats": true,
            "instance": {
              "name": "Ada",
              "score": "98"
            },
            "max_errors": 25,
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "score": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "required": [
                "name",
                "score"
              ],
              "type": "object"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "errorCount": 1,
              "errorCountExact": true,
              "errors": [
                {
                  "instancePath": "/score",
                  "keyword": "type",
                  "kind": "instance",
                  "message": "'98' is not of type 'integer'",
                  "schemaPath": "/properties/score/type"
                }
              ],
              "errorsReturned": 1,
              "errorsTruncated": false,
              "instance": {
                "sha256": "43d117eb76b608a0d05820c70320889a6577ff85446e00412b6e6487c1559149",
                "utf8Bytes": 27
              },
              "instanceValid": false,
              "schema": {
                "declaredDialect": "https://json-schema.org/draft/2020-12/schema",
                "dialect": "https://json-schema.org/draft/2020-12/schema",
                "remoteReferencesAllowed": false,
                "sha256": "9565a3dfc9aaadfaf2b3163f433b954d7d91246b6c225c11a8c16fe42ae841e4",
                "utf8Bytes": 224
              },
              "schemaValid": true,
              "valid": false,
              "validation": {
                "draft": "2020-12",
                "engine": "python-jsonschema",
                "engineVersion": "4.26.0",
                "formatChecking": true,
                "maxErrors": 25
              }
            },
            "meta": {
              "cached": false,
              "duration_ms": 42,
              "next_actions": [
                {
                  "method": "POST",
                  "path": "/v1/data/schema",
                  "reason": "Infer the rejected instance's observed Draft 2020-12 shape for comparison wit...",
                  "service": "data.schema",
                  "title": "JSON Schema generator"
                }
              ],
              "sources": [],
              "warnings": []
            },
            "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
            "service": "data.schema-validate",
            "version": "1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "check_formats": {
                    "type": "boolean"
                  },
                  "instance": {},
                  "max_errors": {
                    "type": "integer"
                  },
                  "schema": {
                    "type": "object"
                  }
                },
                "required": [
                  "schema",
                  "instance"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "properties": {
                      "errorCount": {
                        "type": "integer"
                      },
                      "errorCountExact": {
                        "type": "boolean"
                      },
                      "errors": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "errorsReturned": {
                        "type": "integer"
                      },
                      "errorsTruncated": {
                        "type": "boolean"
                      },
                      "instance": {
                        "type": "object"
                      },
                      "instanceValid": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "schema": {
                        "type": "object"
                      },
                      "schemaValid": {
                        "type": "boolean"
                      },
                      "valid": {
                        "type": "boolean"
                      },
                      "validation": {
                        "type": "object"
                      }
                    },
                    "type": "object"
                  },
                  "meta": {
                    "properties": {
                      "cached": {
                        "type": "boolean"
                      },
                      "duration_ms": {
                        "type": "integer"
                      },
                      "next_actions": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "sources": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "warnings": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "duration_ms",
                      "cached",
                      "sources",
                      "warnings",
                      "next_actions"
                    ],
                    "type": "object"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "service": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "required": [
                  "request_id",
                  "service",
                  "version",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "apiacre.com",
  "lastUpdated": "2026-08-31T16:18:06.092Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-31T16:18:05.604Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "apiacre.com",
    "manifest_name": "apiacre.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}