🏠 Strona Główna
Benchmarki
📊 Wszystkie benchmarki 🦖 Dinozaur v1 🦖 Dinozaur v2 ✅ Aplikacje To-Do List 🎨 Kreatywne wolne strony 🎯 FSACB - Ostateczny pokaz 🌍 Benchmark tłumaczeń
Modele
🏆 Top 10 modeli 🆓 Darmowe modele 📋 Wszystkie modele ⚙️ Kilo Code
Zasoby
💬 Biblioteka promptów 📖 Słownik AI 🔗 Przydatne linki
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.