Biçimlendiriciler ve Kod
Apache Avro Şema Araçları
Validate, format and explore .avsc schemas.
Validation · 0 errors
- ✓ Top-level type: record
- ✓ Record name: User
- ✓ 5 field(s) declared.
{
"type": "record",
"name": "User",
"namespace": "com.anytimeconvert",
"fields": [
{
"name": "id",
"type": "long"
},
{
"name": "email",
"type": "string"
},
{
"name": "name",
"type": [
"null",
"string"
],
"default": null
},
{
"name": "active",
"type": "boolean",
"default": true
},
{
"name": "tags",
"type": {
"type": "array",
"items": "string"
},
"default": []
}
]
}Editörün notu
Understanding · Schema with the data — the Kafka format.
Bu ayrıntılı bölüm şu anda yalnızca İngilizce olarak sunulmaktadır. Yukarıdaki dönüştürme aracı sizin dilinizde çalışır; uzun açıklayıcı yazı henüz çevrilmemiştir.
Sıkça sorulan sorular
Quick answers.
›What is an .avsc file?
An `.avsc` file is a JSON document that defines the schema for Avro data, including the record name, namespace, and fields with their respective types.
›Is my schema sent to a server for validation?
No. The validation and formatting logic runs entirely in your browser using JavaScript, so your schema remains local to your machine.
›Does this tool support complex Avro types?
Yes. It validates primitive types as well as complex types including records, enums, arrays, maps, unions, and fixed types.
›Why is my schema failing validation?
Common issues include missing required fields like `name` or `type`, syntax errors in the JSON structure, or using reserved keywords incorrectly.
İnsanlar ayrıca şunları arar
İlgili araçlar
More in this room.
- JSON'dan XML'e DönüştürücüJSON'u temiz, iyi biçimlendirilmiş XML'e dönüştürün.
- CSV'den JSON'a DönüştürücüElektronik tabloları anında JSON dizilerine dönüştürün.
- YAML'dan JSON'a DönüştürücüYAML'ı JSON'a dönüştürün — anında, sadece tarayıcıda.
- JSON'dan Excel'e DönüştürücüJSON dizilerini Excel elektronik tablolarına dönüştürün.
- TOML ⇄ JSON DönüştürücüTOML ve JSON arasında dönüştürme — her iki yönde.
- INI ⇄ JSON DönüştürücüINI konfigürasyon dosyalarını JSON'a ve geri dönüştürün.