Mapping problem for dinamic array

Hi, i need to create a mapping for one field that is an array of array.


i want to save into ES 2.0 this array:

fruit : { yellow : { name:{},state:{} }, green : { name{},state() } }

but this array is dinamically created; so i don't know what i save into fruit (i don't know the color).

How i can set the mapping for this array?