| {"namespace": "org.apache.avro.test.namespace", |
| "protocol": "TestNamespace", |
| |
| "types": [ |
| {"name": "org.apache.avro.test.util.MD5", "type": "fixed", "size": 16}, |
| {"name": "TestRecord", "type": "record", |
| "fields": [ {"name": "hash", "type": "org.apache.avro.test.util.MD5"} ] |
| }, |
| {"name": "TestError", "namespace": "org.apache.avro.test.errors", |
| "type": "error", "fields": [ {"name": "message", "type": "string"} ] |
| } |
| ], |
| |
| "messages": { |
| "echo": { |
| "request": [{"name": "record", "type": "TestRecord"}], |
| "response": "TestRecord" |
| }, |
| |
| "error": { |
| "request": [], |
| "response": "null", |
| "errors": ["org.apache.avro.test.errors.TestError"] |
| } |
| |
| } |
| |
| } |