What problem does it solve?
This Skill addresses the challenge of ensuring data integrity and consistency by providing a robust system for defining, validating, and transforming data structures using Malli schemas in Clojure.
Core Features & Use Cases
- Data Validation: Define schemas to ensure data conforms to expected types, formats, and constraints.
- Data Coercion: Automatically transform data from one format to another (e.g., strings to integers, booleans).
- Schema Definition: Create reusable and composable schemas for complex data models, including maps, collections, and unions.
- Use Case: Validating incoming API request data to ensure it matches the expected structure before processing, or coercing form input strings into appropriate data types for database storage.
Quick Start
Use the clojure-malli skill to validate the provided data against the map schema with required string and integer keys.