Repository navigation
Validation Model
Five levels, one rule:
not_testedis neverpassed.
| Level | Name | Question | Autonomous |
|---|---|---|---|
| V1 | Structural | Is the IR well-formed and within limits? Is the OOXML package valid? | Yes |
| V2 | Semantic | Does every binding point at a real, scalar, type-compatible field? | Yes |
| V3 | Logical | Are repeats and conditions coherent and type-correct? | Yes |
| V4 | Visual | Does the layout fit the page? | Needs sample data + renderer |
| V5 | Compatibility | Does Docentric AX recognise and execute the output? | Needs a licensed environment |
V1–V3 gate compilation. A plan that fails any of them is never compiled.
| Status | Meaning |
|---|---|
passed |
All checks in the level succeeded |
failed |
At least one error finding |
warning |
No errors, at least one warning |
skipped |
Not applicable in this run (for example V4 without sample data) |
not_tested |
Cannot be evaluated in this environment (V5) |
The report keeps these separate; there is no aggregated “green” that hides a not_tested.
Block count and depth limits, duplicate section names, empty section bodies, text length, required OOXML package entries, macro payloads, embedded OLE/ActiveX objects, external relationships.
Every field and image binding resolves through the alias scope; collection-scoped fields require an
enclosing repeat; format compatibility (number/currency need numeric fields, date formats need dates,
images need image fields).
Repeat paths must be collections, aliases must be unique, condition fields must exist, boolean comparisons
must target boolean fields, ordering comparisons need comparable types, contains needs a string.
Table column widths against page width, when sample data is present. Deliberately shallow: the preview is not a Word renderer.
Always not_tested in this build. See Docentric AX Compatibility.
{
"schema_id": "sales_quotation",
"target": "generic-docx",
"ir_digest": "9f8d8ad173de…",
"checks": [
{ "id": "V2-001", "level": "semantic", "name": "Binding paths exist", "status": "passed", "findings": [] }
]
}And the summary contract used by the API:
{
"structural": "passed",
"semantic": "passed",
"logical": "passed",
"visual": "passed",
"docentric_compatibility": "not_tested"
}Reports are produced as JSON and as a self-contained HTML document with a compatibility banner. Both are published as artifacts next to the DOCX.
Most document generators stop at “the file opened”. This model separates three very different claims:
- the document is structurally valid,
- the document is semantically bound to real data,
- the document executes in the target product.
Only the first two are proven here, and the report says so.
Docentric Copilot · Apache-2.0 · independent open-source project, not affiliated with Docentric.
Docentric AX compatibility is unverified — output is a generic DOCX; every validation report records not_tested.
Docentric Copilot
Understand the product
Use it
How it works
- Architecture
- Template IR
- Validation Model
- DDSP Compatibility
- Reference Templates, Diff & Eval
- Safe IR Import & Visual Diff
- Docentric AX Compatibility
Quality
Project