TopLevelDoc
Import from @varavel/vdl-plugin-sdk.
TopLevelDoc: object;
TopLevelDoc exposes the generated runtime helpers for TopLevelDoc.
Type Declaration
| Name | Type | Description |
|---|---|---|
hydrate() | (input) => TopLevelDoc | Hydrates a validated TopLevelDoc value into its runtime representation. |
parse() | (json) => TopLevelDoc | Parses a JSON string into a validated and hydrated TopLevelDoc value. |
validate() | (input, path?) => string | null | Performs structural validation for TopLevelDoc (required field presence and basic type shape only); it does not enforce business rules. |