A PolyGlot opening book is a collection of triples (Key, Move, Weight).
Castle
Enpassant
Extensions for other forms of Chess
File Format
Key
Learn
Move
Piece
Tests
Turn
Weight
http://hgm.nubati.net/book_format.html