ToolAssay

Audit a mixed batch of events, each against the schema for its own type

Audit a mixed batch of events, each against the schema for its own type. Reports the failing event index, type and pointer for every breach, events carrying no usable type, and event types with no schema supplied - because silently not validating a new type is how it reaches a consumer unchecked. Declared types nothing in the batch used are listed too.

Not answeringour last check, 2026-10-04
0 of 1checks answered this week
n/amedian answer time
$0.12listed price per call
n/aprice it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://api.zfinia.com/x402/v1/event-batch-contract-audit

CategoryCode and developer
Provider hostapi.zfinia.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-04 no answer

Example input (from the provider)

{
  "body": {
    "events": [
      {
        "event_id": "evt-1",
        "offset": 101,
        "order_id": "o-1",
        "schema_version": "2",
        "stream": "orders-0",
        "total": 42.5,
        "type": "order.created"
      },
      {
        "event_id": "evt-2",
        "offset": 102,
        "order_id": "o-2",
        "schema_version": "2",
        "stream": "orders-0",
        "total": 19.99,
        "type": "order.created"
      },
      {
        "event_id": "evt-4",
        "offset": 104,
        "order_id": "o-4",
        "schema_version": "2",
        "stream": "orders-0",
        "total": 7,
        "type": "order.created"
      },
      {
        "event_id": "evt-4",
        "offset": 105,
        "order_id": "o-4",
        "schema_version": "2",
        "stream": "orders-0",
        "total": 7.5,
        "type": "order.created"
      },
      {
        "event_id": "evt-5",
        "offset": 106,
        "order_id": "o-5",
        "schema_version": "1",
        "stream": "orders-0",
        "total": "12.00",
        "type": "order.created"
      },
      {
        "event_id": "evt-6",
        "offset": 1,
        "order_id": "o-1",
        "reason": "customer",
        "schema_version": "2",
        "stream": "orders-1",
        "type": "order.cancelled"
      },
      {
        "offset": 2,
        "order_id": "o-2",
        "reason": "fraud",
        "schema_version": "2",
        "stream": "orders-1",
        "type": "order.cancelled"
      }
    ],
    "schemas": {
      "order.cancelled": {
        "properties": {
          "event_id": {
            "type": "string"
          },
          "offset": {
            "type": "integer"
          },
          "order_id": {
            "type": "string"
          },
          "reason": {
            "enum": [
              "customer",
              "fraud"
            ],
            "type": "string"
          },
          "schema_version": {
            "type": "string"
          },
          "stream": {
            "type": "string"
          },
          "type": {
            "const": "order.cancelled",
            "type": "string"
          }
        },
        "required": [
          "order_id",
          "reason"
        ],
        "type": "object"
      },
      "order.created": {
        "properties": {
          "event_id": {
            "type": "string"
          },
          "offset": {
            "type": "integer"
          },
          "order_id": {
            "type": "string"
          },
          "schema_version": {
            "type": "string"
          },
          "stream": {
            "type": "string"
          },
          "total": {
            "minimum": 0,
            "type": "number"
          },
          "type": {
            "const": "order.created",
            "type": "string"
          }
        },
        "required": [
          "event_id",
          "order_id",
          "total"
        ],
        "type": "object"
      },
      "order.refunded": {
        "type": "object"
      }
    },
    "type_field": "type"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "allow_unknown_types": {
              "type": "boolean"
            },
            "events": {
              "items": {
                "type": "object"
              },
              "maxItems": 2000,
              "minItems": 1,
              "type": "array"
            },
            "schemas": {
              "type": "object"
            },
            "type_field": {
              "maxLength": 256,
              "type": "string"
            }
          },
          "required": [
            "events",
            "schemas"
          ],
          "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"
}

This page as JSON