This directory contains concrete JSON payloads for the validator HTTP surface.
validate-request.single.jsonSingle-capsule request envelope.validate-request.batch.jsonBatch request envelope with mixed validity inputs.validate-response.pass.jsonPositive single-capsule response.validate-response.fail.jsonNegative single-capsule response that isolatesG16.validate-response.batch.jsonMixed batch response sample.validate-request.fix.jsonFix-route request envelope using the public negativeG16example.validate-response.fix.sample.jsonIllustrative fix-route response showing the corrected capsule payload.gates-response.sample.jsonSmall response example for the gate-definition route.stats-response.sample.jsonSmall response example for validator statistics.stats-error-response.sample.jsonSmall bounded failure example for the documentedGET /api/validate/stats500status.error-response.sample.jsonShared generic error envelope.unauthorized-response.sample.jsonSmall unauthorized example for a bounded access rejection.forbidden-response.sample.jsonSmall owner-role rejection example for the documented403route status.conflict-response.sample.jsonSmall conflict example for a bounded state rejection.rate-limit-response.sample.jsonShared rate-limit envelope.
Use these files to:
- understand validator request and response envelopes quickly
- prototype integrations without opening the full private runtime repo
- test serializers and API clients against public-safe payloads
- compare direct validation, batch validation, and fix-route shapes side by side
The example set is schema-covered by ../../schemas/validator-api-envelopes.schema.json.
Intentionally schema-invalid validator-envelope fixtures live in the sibling directory ../api-invalid/. Those files are for raw-schema rejection tests, not for structurally valid route examples.
The bounded map of how these payloads relate to capsule examples and public review surfaces lives in ../../PUBLIC_EXAMPLE_COVERAGE.json.