The BDML specification is defined by the combination of the bdml.xsd and the BDML reference pages.
The golden source for the BDML XSD is the public BDML Git repository:
BDML Git repository XSD
The BDML reference pages are available in the BoraDoc documentation:
BDML manual