Both isotherms belong to your sample. The red one is for gas adsorption on surface and the blue one is for gas desorption. Please search about BET measurement and read it carefully, these are the basic concepts of the technique.
This is a Type-1 isotherm with the majority of pores in the micropore region. But, you will get a small amount of pores in the mesopore region as well (2 to 3 nm). The desorption branch is not closed due to swelling effect, which is commonly observed in the high surface area covalent polymeric framework (due to flexible covalent bonds, all the N2 adsorbed in the framework is not desorbed at same relative pressure). Moreover, if you give the micropore points while performing the analysis, you will observe the complete isotherm.