AIRE and autoimmune polyendocrinopathy: APS is classified into three major subtypes based on genetic patterns and clinical features: APS-1 (associated with AIRE gene mutations), APS-2, and X-linked immune dysregulation syndrome.