/

Contributing Verified Provider Fixtures (docs/CONTRIBUTING-FIXTURES.md)

dz-sandbox refuses to fabricate API specifications. Whenever an endpoint or error code lacks a real source, it stays tagged unverified in SPEC_STATUS.md. Contributing sanitized captures from real sandbox/test accounts is the single highest-impact way to help upgrade dz-sandbox fidelity.

1. Fixture Types & Directory Layout

fixtures/
  chargily/captured/   # Contributed HTTP request/response JSON captures (verified: true)
  satim/captured/
  yalidine/captured/
  zrexpress/captured/
  maystro/captured/
  openapi-demo/        # Experimental handwritten OpenAPI 3.x samples

Every contributed capture JSON must validate against CapturedExchangeSchema and include:

2. Capture Safely Using dz-sandbox record

  1. Start the local recording proxy with mandatory default redaction:

``bash npx dz-sandbox record --provider chargily --upstream https://pay.chargily.net/test/api/v2 --out ./fixtures/chargily/captured ``

  1. Point your integration script at http://127.0.0.1:4100 instead of the live URL, execute the flow (success + validation/failure cases), then press Ctrl+C.
  2. Never pass --no-redact for PR submissions — dz-sandbox refuses to write unredacted captures inside fixtures/.

3. Mandatory Privacy & Secret Hygiene Checklist

Before opening your PR, verify all items below and run the automated validator:

npx dz-sandbox fixtures validate ./fixtures
box.style.display = "block"; if (!hits.length) { box.innerHTML = "
" + noResultsText + "
"; return; } box.innerHTML = hits.map(function (hit) { return "" + hit.title.replace(/" + hit.path + " — " + hit.excerpt.replace(/"; }).join(""); }); })();