feat: add unified JSON export with standardized schema

- Create JSON Schema definition for UnifiedDocument format
- Implement UnifiedDocumentExporter service with multiple export formats
- Include comprehensive processing metadata and statistics
- Update OCR service to use new exporter for dual-track outputs
- Support JSON, Markdown, Text, and legacy format exports

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
egg
2025-11-19 08:36:24 +08:00
parent 5bcf3dfd42
commit ab89a40e8d
5 changed files with 999 additions and 21 deletions

View File

@@ -1,3 +1,17 @@
"""
Tool_OCR - Services Package
"""
from .unified_document_exporter import (
UnifiedDocumentExporter,
ExportFormat,
JSONSchemaValidator,
save_unified_document
)
__all__ = [
'UnifiedDocumentExporter',
'ExportFormat',
'JSONSchemaValidator',
'save_unified_document'
]