function transformArrayBranch(itemChilds, schema) {
	return itemChilds.map((data, index) => ({
		dataKey: index,
		value: {
			schema: getNextSchemaItems(schema),
			data,
		},
	}));
}
/**
 * We are associating the schema with the array of items.
 * Return an array of items transformed.
 * @param {array} itemChilds
 * @param {object} schema
 */
We are associating the schema with the array of items.
Return an array of items transformed.
@param {array} itemChilds
@param {object} schema
We are associating the schema with the array of items . Return an array of items transformed . @param { array } itemChilds @param { object } schema
function transformArrayBranch(itemChilds, schema) {
	return itemChilds.map((data, index) => ({
		dataKey: index,
		value: {
			schema: getNextSchemaItems(schema),
			data,
		},
	}));
}
function transformArrayBranch ( itemChilds , schema ) { return itemChilds . map ( ( data , index ) => ( { dataKey : index , value : { schema : getNextSchemaItems ( schema ) , data , } , } ) ) ; }
We are associating the schema with the array of items.
We are associating the schema with the array of items .