An open file format for describing LEGO models, with a library of part files that goes with it.
LDraw is an open format for describing models in bricks. A model is a text file with the extension .ldr, or .mpd when several models are packed into one, and it lists each part with its colour and position. Design programs such as Studio, LeoCAD and MLCad read and write it.
On BrickDb you can import the parts of an LDraw model into the parts list of a MOC. Only the parts and their colours are read; positions, authors and comments are not stored. See how to import a parts list.