Dokümanı doğrula
validate_documentValidates editor documents or section definitions without saving. Provide either sections or a full document; returns errors with paths or a normalized document ready for saving.
Instructions
Kaydetmeden doğrular. Ya sections (yazarlık biçimi: type/props/variant/slots) ya da document (tam {root,content,zones}) verin. Hatalar yol + açıklama ile döner; ok=true ise normalizedDocument kaydedilebilir haldedir.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | Tam editör dokümanı {root, content, zones} | |
| sections | No |