Validate PDF/UA structure
validate_pdfCheck PDF/UA-1 (ISO 14289-1) structural conformance: marked content, structure tree, metadata, language, per-page MCID uniqueness. Returns verdict with errors, warnings, and summary.
Instructions
Read-only PDF/UA-1 (ISO 14289-1) structural gate for Tagged PDF: /MarkInfo /Marked, /StructTreeRoot (+ /ParentTree), XMP /Metadata, /Lang, per-page MCID uniqueness. Result { standard:'pdf-ua-1', valid, errors[], warnings[], summary }. Fast and structural only — NOT a reference validator (veraPDF): fonts, colour and rendering are not checked. Unparsable input → PDF_PARSE_FAILED. Generate tagged input with pdfA (e.g. 'pdfa2u') first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional dot-path projection applied to the structured result (e.g. ['valid']). Composes after verbosity. Unknown paths are omitted. | |
| pdfBase64 | Yes | Base64-encoded PDF bytes to validate for PDF/UA (ISO 14289-1) structural conformance. | |
| verbosity | No | Response verbosity. 'full' (default) returns errors[] and warnings[]; 'summary' returns a token-frugal verdict { standard, valid, errorCount, warningCount, summary } and drops the message arrays. | full |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | No | True when no blocking structural violations were found. | |
| errors | No | Blocking PDF/UA conformance violations. Empty when valid is true. | |
| summary | No | Human-readable one-line summary of the result. | |
| standard | No | Conformance standard checked (ISO 14289-1). | |
| warnings | No | Non-blocking best-practice recommendations. | |
| errorCount | No | summary only: number of errors. | |
| warningCount | No | summary only: number of warnings. |