{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://pdf2zh/scanned/parsed_document.schema.json", "title": "ParsedDocument", "description": "Stage A output - intermediate JSON representation of a scanned PDF.", "type": "object", "required": [ "pdf_path", "pages", "chapters", "glossary" ], "additionalProperties": false, "properties": { "pdf_path": { "type": "string", "minLength": 1 }, "pages": { "type": "array", "items": { "$ref": "#/$defs/PageData" } }, "chapters": { "type": "array", "items": { "$ref": "#/$defs/ChapterInfo" } }, "glossary": { "type": "object", "additionalProperties": { "type": "string" } } }, "$defs": { "BboxPdf": { "type": "array", "description": "(x0, y0, x1, y1) in PDF points, top-left origin. x0