{ "metadata": { "document_type": "book_chapter", "document_type_confidence": 0.82, "document_type_reasons": [ "page count 3 in range [5, 1000]", "text matches '^Chapter \\d+' pattern", "heading matches '^(Chapter|Part|Section) \\d+' pattern", "structural.heading_depth in range [1, 5]", "no exclusion patterns matched" ], "profile_name": "book_chapter", "profile_version": "1.0.0", "profile_fields": { "title": "The Mysterious Letter", "chapter_number": "1", "author": "Jane Austen", "sections": [ "The Arrival", "The Discovery", "The Revelation" ] } } }