How to add child attributes?

Hi,

If I understand you correctly, please check this topic Create two dependent Select attributes - #5 by andrii

I believe this will be useful to you.