# PHION Schema Normalize & Repair

> PHION Schema Normalize & Repair is a paid API for AI agents from phion.systems, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Normalizes an agent payload to a PHION service schema without altering payment-critical values, returning a signed repair receipt

## Facts

- Endpoint: POST https://phion.systems/v1/paid/schema-normalize
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phion-schema-normalize-repair-e0a6a9d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qt9rzHypEwG7KKd6zkxwe

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 phion-schema-normalize-repair-e0a6a9d2 -d '<json body>'
```

Example prompt: Take this agent payload and normalize it to the PHION service schema — fix any structural issues or missing fields, but don't touch any payment-critical values, and give me back a signed repair receipt.

## When to prefer this

Choose this endpoint when an agent payload needs to be structurally corrected or normalized to match a PHION service schema but payment-critical values (amounts, addresses, mandate references) must remain immutable. It is ideal for pre-flight normalization steps in agentic pipelines, audit-trail generation, and multi-agent integrations where schema conformance is required without risking financial data corruption. Prefer it over generic JSON validators when you need a cryptographically signed receipt proving what was changed.

## Known failure modes

- Payload contains fields so malformed they cannot be mapped to any schema field — normalization fails with a schema mismatch error
- Payment-critical value mutation detected during repair attempt — operation aborted to protect integrity
- Input JSON is syntactically invalid and cannot be parsed — returns parse error
- Schema version mismatch — submitted payload targets an unsupported or unknown schema version
- Service unavailable or signing key error — signed receipt cannot be issued

## How this service works

Normalize an agent payload to a PHION service schema without changing payment-critical values; return a signed repair receipt

## Output

A normalized, schema-conformant version of the submitted agent payload with all payment-critical fields left unchanged, accompanied by a cryptographically signed repair receipt detailing what was modified during normalization.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phion-schema-normalize-repair-e0a6a9d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phion.systems](https://www.zero.xyz/host/phion.systems/llms.txt)
