How are investors categorized in the Indian Stock markets?

I am trying to research on what basis the investors are categorized into

  1. Retailers
  2. HNIs
  3. FIIs
  4. FPIs
  5. DII’s

Are there some more categories that investors be segregated into?
Is it based on the margin amount they have got in their trading account?
Where can I get the list of all registered HNI’s, FII’s, FPI’s and DII’s?
Is it SEBI who decides to what category an investor falls into or the NSE?
Is the Whitepaper where I can derive some info on this?