{
  "type":"record",
  "name":"AvroHttpRequest",
  "namespace":"com.baeldung.avro.model",
  "fields":[
    {
      "name":"requestTime",
      "type":"long"
    },
    {
      "name":"clientIdentifier",
      "type":{
        "type":"record",
        "name":"ClientIdentifier",
        "fields":[
          {
            "name":"hostName",
            "type":"string"
          },
          {
            "name":"ipAddress",
            "type":"string"
          }
        ]
      }
    },
    {
      "name":"employeeNames",
      "type":{
        "type":"array",
        "items":"string"
      },
      "default":null
    },
    {
      "name":"active",
      "type":{
        "type":"enum",
        "name":"Active",
        "symbols":[
          "YES",
          "NO"
        ]
      }
    }
  ]
}