custom attributes

2016-01-06 Thread John Smith
Hello,

Im wondering if its allowed to define custom attributes as part of the AVRO
schema, e.g.


{
"type" :"record",
"name": "Test",
"fields": [
{
"name": "ROW_ID",
"title": "row identifier ",
"type": "integer",


*"description": "something",,"ValidityDate":
"2015-01-01","ValidityOption": "Delete",*
},
...


Can I define those three new attributes *description, **ValidityDate,
**ValidityOption
*that extends description of the record "ROW_ID"?


Thank you


add new attributes into avro schema

2015-12-17 Thread John Smith
Hi,

is it possible to extend avro schema with custom attributes, for example

{
 "type":"record",
  "name":"X",
   "fields":[
  {"name":"b3","type":"int","doc":"blabla",*"newField1"*:"test",
*"newField2"*:"test2"}
]}');



Thank you!