Генератор JSON Schema
Генерация JSON Schema из образцов данных JSON. Автоматическое определение типов, форматов (email, date, UUID) и структуры.
About JSON Schema
- JSON Schema is a vocabulary for annotating and validating JSON documents
- Formats detected: date, date-time, email, uri, uuid
- Numbers are typed as "integer" or "number" based on value
- Array items are inferred from the first element
JSON Schema - Технические детали
JSON Schema is a vocabulary for annotating and validating JSON documents. It's used for API validation, configuration validation, and documentation. This tool generates Draft-07 compatible schemas.
Альтернатива командной строки
# Validate JSON against schema\nnpx ajv validate -s schema.json -d data.json\n\n# Generate schema with quicktype\nnpx quicktype --lang schema data.json