have you tried the Windows based HID descriptor tool application? It contains some sample descriptors which can help you get started. I have not checked if it has a MIDI descriptor.

I found a thread which may help you

https://www.microchip.com/forums/m297214.aspx