| { |
| "protocol" : "MyProtocol", |
| "namespace" : "org.apache.avro", |
| "doc" : "Testing UUID fields", |
| "types" : [ { |
| "type" : "record", |
| "name" : "APlaygroundEvent", |
| "fields" : [ { |
| "name" : "identifier", |
| "type" : { |
| "type" : "string", |
| "logicalType" : "uuid" |
| }, |
| "doc" : "Documentation must be provided for each attribute" |
| }, { |
| "name" : "uuid", |
| "type" : "string", |
| "doc" : "A string field with a special name" |
| }, { |
| "name" : "optionalString", |
| "type" : [ "null", { |
| "type" : "string", |
| "logicalType" : "uuid" |
| } ], |
| "doc" : "a nullable uuid field" |
| } ] |
| } ], |
| "messages" : { } |
| } |