🏠 Home
Prestatietests
📊 Alle benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List applicaties 🎨 Creatieve vrije pagina's 🎯 FSACB - Ultieme showcase 🌍 Vertaalbenchmark
Modellen
🏆 Top 10 modellen 🆓 Gratis modellen 📋 Alle modellen ⚙️ Kilo Code
Bronnen
💬 Promptbibliotheek 📖 AI-woordenlijst 🔗 Nuttige links
advanced

JSON Schema for Void Values

#json #schema-validation #api-design #specification

Design a JSON schema enforcing empty string rules over null.

Draft a JSON Schema definition for a configuration object where a specific field 'message' must explicitly accept an empty string "" as a valid value to indicate a cleared state, but must reject null or undefined values. Include validation rules for minimum and maximum length when the string is not empty.