{"version":"0.1.0","status":"Community Draft","operations":[{"name":"search","endpoint":"/api/search","method":"POST","description":"Search the registry for versioned W3BS resources.","authentication":"none","input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"default":"","type":"string","maxLength":200},"type":{"type":"string","enum":["prompt","behavior","agent","tool","mcp","schema","eval","identity","service","device","stream","swarm"]}},"required":["query"],"additionalProperties":false}},{"name":"resolve","endpoint":"/api/resolve","method":"POST","description":"Resolve a W3BS URI to its canonical manifest and verification state.","authentication":"none","input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"uri":{"type":"string","minLength":1,"maxLength":512}},"required":["uri"],"additionalProperties":false}},{"name":"inspect","endpoint":"/api/inspect","method":"POST","description":"Inspect identity, provenance, permissions and the canonical artifact.","authentication":"none","input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"uri":{"type":"string","minLength":1,"maxLength":512}},"required":["uri"],"additionalProperties":false}},{"name":"verify","endpoint":"/api/verify","method":"POST","description":"Verify the manifest signature against pinned publisher keys and current revocation state. This does not authorize execution.","authentication":"none","input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"uri":{"type":"string","minLength":1,"maxLength":512}},"required":["uri"],"additionalProperties":false}},{"name":"publish","endpoint":"/api/publish","method":"POST","description":"Publish an immutable, signed manifest. Requires an authenticated registry publisher.","authentication":"Bearer publisher token","input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"manifest":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["manifest"],"additionalProperties":false}},{"name":"run","endpoint":"/api/run","method":"POST","description":"Run the deterministic template runtime with explicit consent. Produces rendered instructions; never calls a model or tool.","authentication":"none","input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"uri":{"type":"string","minLength":1,"maxLength":512},"inputs":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","maxLength":50000}},"consent":{"default":false,"type":"boolean"}},"required":["uri","inputs","consent"],"additionalProperties":false}},{"name":"revoke","endpoint":"/api/revoke","method":"POST","description":"Revoke an exact resource version, retaining its artifact for inspection. Requires registry publisher authorization.","authentication":"Bearer publisher token","input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"uri":{"type":"string","minLength":1,"maxLength":512},"reason":{"type":"string","minLength":3,"maxLength":1000}},"required":["uri","reason"],"additionalProperties":false}},{"name":"conformance","endpoint":"/api/conformance","method":"POST","description":"Fetch protocol fixture checks for a resource. Cross-surface interoperability is tested by the separate conformance suite.","authentication":"none","input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"uri":{"type":"string","minLength":1,"maxLength":512}},"required":["uri"],"additionalProperties":false}}]}