Optionaldocument: DesignDocumentOptionaldocuments: DesignDocument[]Optionalconfiguration: stringOptionalparameters: Record<string, number | string | boolean>Optionalassets: Record<string, string | Uint8Array | ArrayBuffer>Optionalclearance: numberThe document: an assembly document with its components, or a part document whose parts are
checked where they were built.
OptionaldocumentsThe documents an assembly's components place, each with the id they name it by.
OptionalconfigurationThe id of one of the document's configurations, whose values replace the parameters' own;
left out or empty, none is used.
OptionalparametersValues that replace the parameters of the same names after the configuration's, each read as
the parameter's own value is, such as { width: 40 }.
OptionalassetsThe contents of the document's assets by asset id, as text or bytes, for the features that
import them.
OptionalclearanceHow close two placed parts may come before they clash; 0 reports only parts that touch or overlap.
A design document with the configuration, parameter values, asset contents and the documents an assembly places, and the clearance to keep, for
design.clashes, which finds the placed parts that overlap or come too close.