11ty Type Validation Schema

Adding a data schema for type validation to eleventy using zod. Zod is a TypeScript-first validation library. Using Zod, you can define schemas you can use to validate data, from a simple string to a complex nested object. intro - Zod Eleventy DataSchema # Eleventy has the ability to add validation using eleventyDataSchema. Use the special eleventyDataSchema data property to validate data in your…