This commit brings docs/research/extraction-output-schema.md to v1.0 final-pass specification, aligning with Phase 6.1 deliverables and plan requirements. **Key additions:** - page_number field documented with page_index relationship (1-based vs 0-based) - page_type enum expanded with all six values: text, scanned, mixed, broken_vector, blank, figure_only — with broken_vector cross-referenced to Phase 5.5 - Block kind enum fully documented: paragraph, heading, list, table, figure, caption, code, formula, watermark, header, footer - Attachments schema with base64 contentEncoding and 50MB truncation rule - Profile-based classification fields (document_type, document_type_confidence, document_type_reasons, profile_name, profile_version, profile_fields) - Schema Version Compatibility section with additive-evolution rules - JSON Schema cross-reference throughout **Format changes:** - Restructured with ATX headings (## for sections) - Added explicit field tables for each major schema section - Cross-linked to machine-readable JSON Schema at docs/schema/v1.0/pdftract.schema.json - Grew from 81 lines to 304 lines per acceptance criteria **Plan references:** - Lines 97, 2002-2030, 2017, 1836, 2640, 1709, 1752, 2989-3006, 3659 - INV-9 page_type taxonomy stability Co-Authored-By: Claude Code (GLM-4.7) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| adr | ||
| conformance | ||
| notes | ||
| plan | ||
| research | ||
| schema/v1.0 | ||
| security | ||
| user-docs | ||
| research-index.md | ||