out: support <mapping>

It is for define type and indexes.