# HumanMirror Schema Compatibility Verifier

> HumanMirror Schema Compatibility Verifier is a paid API for AI agents from humanmirror.fr, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-03).

Verifies and validates that an HTTP request body schema is compatible with expected deterministic acceptance criteria for AI-agent tool calls.

## Facts

- Endpoint: POST https://humanmirror.fr/api/x402/schema-compatibility?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/humanmirror-schema-compatibility-verifier-7e1995c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eFgq8YsxcbLzKhMwq7_c6

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability humanmirror-schema-compatibility-verifier-7e1995c2 -d '<json body>'
```

Example prompt: Before I execute this tool call, can you verify that my POST request body with JSON content is schema-compatible — the input is a JSON object with fields 'query' and 'limit', and I want to confirm it passes deterministic acceptance criteria?

## When to prefer this

Use this endpoint when you need to verify schema compatibility of an AI agent's tool call before execution — especially in autonomous pipelines where a malformed request could trigger irreversible side effects. Prefer this over generic JSON validators when you need deterministic, trustworthy verification tied to the HumanMirror trust infrastructure for autonomous systems.

## Known failure modes

- Schema mismatch returns ok:false with a descriptive status string
- Missing required fields (type, method, bodyType, body) result in a 400-level error
- Invalid method enum value (not POST/PUT/PATCH) causes validation rejection
- Malformed JSON body or wrong bodyType declaration leads to parsing failure
- Network timeout or service unavailability returns a non-200 response

## How this service works

HumanMirror — infrastructure de confiance, gouvernance, découverte et échange pour systèmes autonomes.

## Output

Returns a JSON object indicating whether the schema is compatible, with an 'ok' boolean, a 'status' string (e.g. 'verified_success'), and a 'product' identifier confirming which HumanMirror service processed the check.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "description": "JSON-serializable input for this deterministic outcome."
      },
      "options": {
       "type": "object",
       "description": "Optional tool-specific options."
      },
      "criteria": {
       "type": "object",
       "description": "Optional deterministic acceptance criteria."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "status": "verified_success",
  "product": "HumanMirror Schema Compatibility"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/humanmirror-schema-compatibility-verifier-7e1995c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from humanmirror.fr](https://www.zero.xyz/host/humanmirror.fr/llms.txt)
