IDS data structure and formats
The document is also available
here