Skip to content

Schemas

The v0 wire format is normative as JSON Schema (draft 2020-12). The prose in the spec is descriptive; when the two disagree, the schema wins.

Validates the body of a POST /v1/reports request. See spec §4.

Tools that resolve $ref against the canonical $id URL get the same file served verbatim from this site.

Terminal window
npx ajv-cli@5 validate \
-s https://docsfeedback.org/schema/v0/report.schema.json \
--spec=draft2020 --strict=false --all-errors \
-d ./my-report.json

Validates the body of a /.well-known/docs-feedback.json discovery document. See spec §5.

A minimal opt-in document:

{
"protocol_version": "0",
"opt_in": true,
"endpoint": "https://hub.fixyourdocs.io/v1/reports/example-org"
}

A minimal opt-out:

{
"protocol_version": "0",
"opt_in": false
}

The schemas are licensed under Apache 2.0.