{"uid":"cap_pfg5PkUHOx7S_3FpJEQYc","slug":"writerslogic-schema-compatibility-checker-c5ba4eaf","name":"WritersLogic Schema Compatibility Checker","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/schema-compat?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"kind":{"enum":["json-schema","openapi"],"type":"string"},"role":{"enum":["request","response"],"type":"string","description":"json-schema only: request (default) or response; OpenAPI compares each side in its own role."},"after":{"description":"The new schema, or new OpenAPI document. Full JSON Schema 2020-12 (local $ref only)."},"calls":{"type":"array","items":{"type":"object","required":["arguments"],"properties":{"name":{"type":"string","maxLength":80},"arguments":{"description":"Cached call arguments (JSON schema: validated against the root; OpenAPI: against the operation's JSON request body)."},"operation":{"type":"object","required":["path","method"],"properties":{"path":{"type":"string","maxLength":500},"method":{"enum":["get","put","post","delete","options","head","patch","trace"],"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"maxItems":50},"before":{"description":"The old schema, or old OpenAPI document. Full JSON Schema 2020-12 (local $ref only)."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F3Ls5-mb7KDYjZ7OkAYcv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two JSON Schema 2020-12 or OpenAPI 3.x documents and reports each change, its breaking status, and direction (narrowing vs widening) for client or server roles","exampleAgentPrompt":"Can you compare these two OpenAPI specs and tell me which changes would break existing clients — the old one is my v1 spec and the new one has a newly required 'customerId' field and a removed enum value on 'status'?","exampleUseCases":[{"title":"Pre-release API breaking change audit","prompt":"Before I release v2 of my API, compare the old and new OpenAPI documents and flag every change that would break existing callers — especially removed operations, newly required fields, or tightened parameter constraints."},{"title":"Validating cached agent calls after schema update","prompt":"I updated my request schema and I have 20 cached tool-call argument sets that worked before. Can you check which of those calls would now fail against the new schema and show me exactly which JSON pointer fails for each?"},{"title":"Response schema widening check","prompt":"I changed my response schema to add new optional fields and remove some required ones — can you compare the before and after in response role and confirm whether any of those changes would break downstream clients consuming the response?"}],"resultDescription":"A structured list of changes between the two schemas, each with its JSON path, the keyword that changed, old and new values, whether the change narrows or widens accepted data, and whether it is breaking for the specified role (request or response). Cached tool-call arguments are individually validated and reported as passing or failing with the specific failing JSON pointer. Changes that cannot be definitively classified (pattern rewrites, not/if/then, mixed oneOf) are marked as 'unsupported' rather than breaking or passing.","failureModes":["Malformed or invalid JSON Schema/OpenAPI input returns a parse or validation error","More than 50 cached calls supplied exceeds the maxItems limit","Local $ref references that cannot be resolved within the document cause comparison failures","Changes involving pattern, not, if/then, or complex oneOf are reported as 'uncomparable' with status 'unsupported' rather than a definitive breaking verdict","Unsupported schema versions (not JSON Schema 2020-12 or OpenAPI 3.0/3.1) may produce incorrect or empty results"],"whenToPreferThis":"Use this endpoint when you need a deterministic, structured audit of schema compatibility between two versions of a JSON Schema or OpenAPI document — especially when you need to know exactly which changes are breaking for clients (request role) or servers (response role), or when you need to validate that previously working tool-call argument sets still pass validation. Prefer this over manual diffing or generic JSON diff tools when breaking-change semantics (narrowing vs widening, enum removal, required field addition) matter for API governance or agent reliability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:38:21.537Z","isFirstParty":false,"canonicalSlug":"writerslogic-schema-compatibility-checker-c5ba4eaf"}