About this page

This page is the documentation for the zcap-zod library, not a specification. It checks zcaps in your browser, and smoke-tests the build it serves.

⏳ Running smoke tests…

The sections after the README are smoke tests and walkthroughs. Each snippet is the exact code that ran in your browser. Paste it into any HTML file to try it.

Build info unavailable.

Check zcaps from a URL

If the URL returns HTML, such as a zcap-spec, its examples are extracted with zcap-spec-examples and each JSON example is checked. If it returns JSON (a zcap, or an array of zcaps), that is checked. Each result says which zcap-zod schema it matches, or why it doesn't.

You can also drop a zcap JSON file on this page to check it. Click here to download example-zcap.json.

Or paste HTML or JSON (for URLs that don't allow cross-origin fetches)