MIFARE Application Directory (MAD structure):
The location of each AID points to a specific sector on the card.
The location of an AID within sector 0 specifies the sector in use for the corresponding application.
Schematic of sector 0:

Table 9. Schematic of sector 0                        
byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
m a n u f a c t u r e r c 0 d e
AID for AID for AID for AID for AID for AID for AID for info CR
sector sector sector sector sector sector sector   C
0×07 0×06 0×05 0×04 0×03 0×02 0×01    
AID for AID for AID for AID for AID for AID for AID for AID for
sector sector sector sector sector sector sector sector
0x$F 0x$E 0x$D 0x$C 0x$B 0x$A 0×09 0×08
s e c t o r t r a i l e r 0x 0 0

 

Table 10. Schematic of sector 0×10 of MIFARE 4k card (MAD version 2)                
byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte byte
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AID for AID for AID for AID for AID for AID for AID for info CR
sector sector sector sector sector sector sector   C
0×17 0×16 0×15 0×14 0×13 0×12 0×11    
AID for AID for AID for AID for AID for AID for AID for AID for
sector sector sector sector sector sector sector sector
0x1F 0x1E 0x1D 0x1C 0x1B 0x1A 0×19 0×18
AID for AID for AID for AID for AID for AID for AID for AID for
sector sector sector sector sector sector sector sector
0×27 0×26 0×25 0×24 0×23 0×22 0×21 0×20
s e c t o r t r a i l e r 0x 0 0
The info byte structure is same as in info byte structure of MAD1. If one more sector is            
required for information, then lowest 6 bits can be used to code the new sector number,            
otherwise info byte of sector 0×00 = info byte of sector 0×10.