DMX512 doesn't have a schema, in the traditional database way of thinking, it is simply a series of byte values sent along a serial line.
If you need code to receive DMX512 for a non-commercial project, in the first instance I suggest you look at Kelly Kohl's homepage (
link), there is some PIC code there.