You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Rita <rm...@gmail.com> on 2017/09/01 00:49:54 UTC

generating schema

are there tools to automatically generate schemas? I typically use XML and
JSON and would like to automatically create a schema for it.

Most of my files looks like this:

[
{"ZIP":"00601","LAT":18.180555,"LNG":-66.749961},{"ZIP":"00602","LAT":18.361945,"LNG":-67.175597},{"ZIP":"00603","LAT":18.455183,"LNG":-67.119887},{"ZIP":"00606","LAT":18.158345,"LNG":-66.932911},{"ZIP":"00610","LAT":18.295366,"LNG":-67.125135},{"ZIP":"00612","LAT":18.402253,"LNG":-66.711397},{"ZIP":"00616","LAT":18.420412,"LNG":-66.671979},{"ZIP":"00617","LAT":18.445147,"LNG":-66.559696},{"ZIP":"00622","LAT":17.991245,"LNG":-67.153993},{"ZIP":"00623","LAT":18.083361,"LNG":-67.153897}
]

is there a quick way to generate a schema file for it?


-- 
--- Get your facts first, then you can distort them as you please.--