William Cheng 8741a8ca35
Minor enhancements to the Avro schema generator (#3728)
* minor enhancements to the avro generator

* add option to customize package name

* update doc
2019-08-22 16:06:04 +08:00

49 lines
848 B
JSON

{
"namespace": "model",
"type": "record",
"doc": "A User who is purchasing from the pet store",
"name": "User",
"fields": [
{
"name": "id",
"type": ["null", "long"],
"doc": ""
},
{
"name": "username",
"type": ["null", "string"],
"doc": ""
},
{
"name": "firstName",
"type": ["null", "string"],
"doc": ""
},
{
"name": "lastName",
"type": ["null", "string"],
"doc": ""
},
{
"name": "email",
"type": ["null", "string"],
"doc": ""
},
{
"name": "password",
"type": ["null", "string"],
"doc": ""
},
{
"name": "phone",
"type": ["null", "string"],
"doc": ""
},
{
"name": "userStatus",
"type": ["null", "int"],
"doc": "User Status"
}
]
}