{"openapi":"3.1.0","info":{"title":"Release Artifact Reconciliation","version":"1.0.0","description":"Compare supplied build and release manifests by artifact name, SHA-256 digest, and byte count before distribution.","contact":{"email":"jeremy@jeremycarter.ca"}},"servers":[{"url":"https://gptenv-x402-catalog.defcronyke.workers.dev"}],"paths":{"/release-artifact-reconciliation/v1/check":{"post":{"operationId":"release_artifact_reconciliation","summary":"Compare supplied build and release manifests by artifact name, SHA-256 digest, and byte count before distribution.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.04"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"build":{"minItems":1,"maxItems":180,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":160},"sha256":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"},"bytes":{"type":"integer","minimum":0,"maximum":1000000000000}},"required":["name","sha256","bytes"],"additionalProperties":false}},"release":{"maxItems":180,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":160},"sha256":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"},"bytes":{"type":"integer","minimum":0,"maximum":1000000000000}},"required":["name","sha256","bytes"],"additionalProperties":false}}},"required":["build","release"],"additionalProperties":false},"example":{"build":[{"name":"bundle.js","sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","bytes":9},{"name":"manifest.json","sha256":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","bytes":3}],"release":[{"name":"bundle.js","sha256":"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","bytes":9},{"name":"style.css","sha256":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","bytes":2}]}}}},"responses":{"200":{"description":"Service result","content":{"application/json":{"schema":{"type":"object"},"example":{"matched":[],"missing":["manifest.json"],"unexpected":["style.css"],"mismatched":[{"name":"bundle.js","fields":["sha256"]}]}}}},"400":{"description":"Invalid request"},"402":{"description":"x402 exact payment required on Base"},"503":{"description":"Payment unavailable"}}}}}}