Optional ReadonlymaxNesting-depth limit (spec D-9): see DocumentLimits.maxDepth. Default 200.
Optional ReadonlymaxThe largest input, in UTF-8 bytes, that is read at all (spec D-23,
Sec2.4.2): a larger input is refused with document.limit.input-size at
$ before it is parsed; one of exactly this size is accepted. A leading
byte-order mark counts. Default 64 MiB; an integer of at least 1, else a
RangeError.
Optional ReadonlymaxInteger-digit limit (spec D-9, D-28): see DocumentLimits.maxIntDigits. Default 4300.
Optional ReadonlymaxNode-count limit (spec D-9): see DocumentLimits.maxNodes. Default 1 000 000.
Optional ReadonlyschemaIf given, the parsed document is run through materialize (issue #7,
src/deserialize.ts) against this schema: leaf values are upgraded
(e.g. an ISO date string to a Date) and the shape is checked
(cardinality, closedness), guaranteeing the result conforms -- or
raising ParseError with the full structured issue list otherwise.
Options for parsing OML source text into a Document node (spec §4).