OptionalincludeWhether to include passing entities in results (default: true)
OptionalmaxMaximum entities to validate (for preview/sampling)
OptionalonProgress callback
OptionalpreviewIDS 1.1 PREVIEW: required to validate a document that uses 1.1 candidate features.
OptionaltranslatorTranslation service for human-readable output
OptionalyieldHow often (ms of CPU work) the validator yields to the event loop so a host UI can repaint and progress callbacks become visible (default: 40). Validation is otherwise pure CPU work whose awaits resolve through microtasks only — without these yields a browser cannot paint a single frame for the whole run.
Options for the validation process