{"uid":"cap_qt9rzHypEwG7KKd6zkxwe","slug":"phion-schema-normalize-repair-e0a6a9d2","name":"PHION Schema Normalize & Repair","description":"Normalize an agent payload to a PHION service schema without changing payment-critical values; return a signed repair receipt","url":"https://phion.systems/v1/paid/schema-normalize","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema"},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PAKXgFEpZM-NgdMd7-ypZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes an agent payload to a PHION service schema without altering payment-critical values, returning a signed repair receipt","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Pre-flight payload fix before API call","prompt":"Before I send this agent request out, normalize it to match the target service schema and hand me a signed receipt proving what was changed — but leave all the USDC amounts and wallet addresses exactly as they are."},{"title":"Auditable schema repair in multi-agent pipeline","prompt":"My orchestrator agent produced a payload that doesn't conform to the downstream service schema — can you repair it, keep all payment fields untouched, and return a signed receipt I can attach to the audit trail?"},{"title":"Schema alignment for third-party agent integration","prompt":"I'm integrating with a PHION service and my agent's payload has a bunch of field mismatches — normalize it to their schema without changing any payment-critical data, and give me the signed repair receipt so I can verify what was fixed."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:31:03.472Z","isFirstParty":false}