Function: validateSiteData()
validateSiteData(
data:unknown):ValidationResult
Defined in: shared/validation/siteSchemas.ts:53
Validates site data using the shared Zod schema.
Parametersโ
dataโ
unknown
The site data to validate.
Returnsโ
The validation result object for the site.
Remarksโ
Validates the complete site structure, including every monitor. Metadata in the ValidationResult mirrors key site attributes such as monitor count and identifier.