{
    "type":"record",
    "name":"LogItem",
    "namespace":"com.autodesk.ws.avro",
    "fields":[
        {
            "name":"true_as_of_secs",
            "type":"string"
        },
        {
            "name":"user_id",
            "type":"string"
        },
        {
            "name":"session_id",
            "type":"string"
        },
        {
            "name":"instance_type",
            "type":{
                "type":"enum",
                "name":"InstanceType",
                "symbols":[
                    "SESSION_START",
                    "SESSION_ATTRIBUTES",
                    "SESSION_END",
                    "CALL",
                    "SESSION_MAP",
                    "USER_MAP"
                ]
            }
        },
        {
            "name":"instance",
            "type":[
                {
                    "type":"record",
                    "name":"SessionAux",
                    "fields":[
                        {
                            "name":"session_start_time",
                            "type":"string"
                        }
                    ]
                },
                {
                    "type":"record",
                    "name":"Call",
                    "fields":[
                        {
                            "name":"responding_product_id",
                            "type":"string"
                        },
                        {
                            "name":"requesting_product_id",
                            "type":"string"
                        },
                        {
                            "name":"module",
                            "type":"string"
                        },
                        {
                            "name":"operation",
                            "type":[
                                "null",
                                "string"
                            ]
                        },
                        {
                            "name":"suboperation",
                            "type":[
                                "null",
                                "string"
                            ]
                        },
                        {
                            "name":"target_object_uri",
                            "type":[
                                "null",
                                "string"
                            ]
                        },
                        {
                            "name":"object_size",
                            "type":[
                                "null",
                                "long"
                            ]
                        },
                        {
                            "name":"execution_time",
                            "type":[
                                "null",
                                "int"
                            ]
                        },
                        {
                            "name":"status",
                            "type":[
                                "null",
                                "string"
                            ]
                        }
                    ]
                },
                {
                    "type":"record",
                    "name":"Session",
                    "fields":[
                        {
                            "name":"originating_product_id",
                            "type":"string"
                        },
                        {
                            "name":"session_type",
                            "type":{
                                "type":"enum",
                                "name":"SessionType",
                                "symbols":[
                                    "SESSION_DESKTOP",
                                    "SESSION_OXYGEN",
                                    "SESSION_MOBILE",
                                    "SESSION_WEB"
                                ]
                            }
                        },
                        {
                            "name":"user_id_type",
                            "type":{
                                "type":"enum",
                                "name":"UserIdType",
                                "symbols":[
                                    "USER_DESKTOP",
                                    "USER_OXYGEN",
                                    "USER_EIDM",
                                    "USER_MOBILE",
                                    "USER_WEB"
                                ]
                            }
                        },
                        {
                            "name":"originating_ip_address",
                            "type":[
                                "null",
                                "string"
                            ]
                        }
                    ]
                },
                {
                    "type":"record",
                    "name":"SessionMap",
                    "fields":[
                        {
                            "name":"equiv_session_id",
                            "type":"string"
                        },
                        {
                            "name":"equiv_session_type",
                            "type":"SessionType"
                        },
                        {
                            "name":"base_session_type",
                            "type":"SessionType"
                        }
                    ]
                },
                {
                    "type":"record",
                    "name":"UserMap",
                    "fields":[
                        {
                            "name":"equiv_user_id",
                            "type":"string"
                        },
                        {
                            "name":"equiv_user_id_type",
                            "type":"UserIdType"
                        },
                        {
                            "name":"base_user_id_type",
                            "type":"UserIdType"
                        }
                    ]
                }
            ]
        },
        {
            "name":"properties",
            "type":[
                "null",
                {
                    "type":"array",
                    "items":{
                        "type":"record",
                        "name":"NameValuePair",
                        "fields":[
                            {
                                "name":"name",
                                "type":"string"
                            },
                            {
                                "name":"value",
                                "type":"string"
                            }
                        ]
                    }
                }
            ]
        },
        {
            "name":"nonce",
            "type":"string"
        }
    ]
}
