Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (25 sloc) 737 Bytes
{
"type": "record",
"namespace": "no.sysco.middleware.poc.kafkaschemaregistry.avro",
"name": "Business",
"version": "1",
"doc":"Business record contains name of company and list of customers",
"fields": [
{ "name": "company_name", "type": "string", "doc": "Name of company" },
{
"name": "customers",
"doc": "List of customers",
"type": {
"type": "array",
"items": {
"type": "record",
"name":"Customer",
"fields":[
{ "name": "first_name", "type": "string", "doc":"Customer name" },
{ "name": "last_name", "type": "string", "doc": "Customer last name" }
]
}
}
}
]
}
You can’t perform that action at this time.