Gerador de JSON Schema
Gere JSON Schema a partir de dados JSON de amostra. Detecta automaticamente tipos, formatos (e-mail, data, UUID) e estrutura.
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 - Detalhes Técnicos
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.
Alternativa via Linha de Comando
# 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