Examples and validator
Format 1.14. Every file here is synthetic: it was generated by scripts/gen-examples.mjs and holds no real project data. Each one passes the public validator at the conformance level it declares.
| File | Conformance | What it shows |
|---|---|---|
| core-minimal.bim.pdf | core | One blank page, the XMP label, /Extensions, and four attachments (elements.json, levels.json, marks.json, README-agent.md). |
| drawing-sheet.bim.pdf | drawing, archival: pdfa-3b | Two sheets with page labels, outlines, a scaled viewport (/VP with /Measure), annotation /NM ids, and the sidecars they must agree with. Passes veraPDF as PDF/A-3b. |
A re-export of the landing-page sample at 1.14 will be added here when a producer writes one.
Validate a file
The validator is Node 20 or newer with no install step. Get the repository and run it on a file:
node validator/bimpdf-validate.mjs your-file.bim.pdf
It checks the base file (section 1), PDF-native constructs and their agreement with the sidecars (section 2), sidecars as Associated Files (section 3), the declaration (section 4) and the conformance level (section 5). The sidecar schemas are core's built validator, vendored byte for byte. Exit code 0 means valid at the declared level, 1 means errors, and --json prints a machine-readable report. Details are in section 5 of the specification.