Avro Schema From JSON Generator

Generate an Avro schema from any JSON document or file: the records, fields and types it would take to hold that JSON.
Input
Output

Settings

How the input is converted. Each is explained below.

Tags

History

JavaScript Object Notation (JSON), pronounced as Jason, is the most common data interchange format on the web. Douglas Crockford first released the JSON specification in the early 2000s. It is a simple format that is easier to comprehend than XML. It is also smaller in size because it does not have closing tags. A wide variety of programming languages can parse JSON files. They also support the serialization of data structures to JSON. You can copy JSON text to JavaScript and start using them without any modifications.

Avro is a compact and efficient binary file format used for serializing data during transmission. The schema of Avro files are specified in JSON.

Settings explained

Space replacement
What takes the place of a space in a field name, since Avro names can't have spaces.
Emit date logical type
On, a field holding dates is given the date logical type.