{"name": "Date",
"namespace": "com.example.avro",
"type": "record",
"fields": [ { "name":"year", "type":"int" },
{ "name":"month", "type":"int" },
{ "name":"day", "type":"int" } ] }
We might want to use this Date type in other schemas. Reusing enum types are also another example. This is managed with IDL and the maven plugin by specifying a directory for the schema files. It would be nice if you could import a schema in JSON by specifying a URI.
So are we missing something? Should we just embed types in all the schemas with some pre-processing step?
Any help would be great appreciated!
Jonathan