{
final ContextAwareDataSchemaModel model = reportContext.getReportDataSchemaModel();
final String[] columnNames = model.getColumnNames();
final ArrayList<FieldDefinition> fields = new ArrayList<FieldDefinition>(columnNames.length + extraFields.length);
final DataSchema dataSchema = model.getDataSchema();
final DefaultDataAttributeContext dataAttributeContext = new DefaultDataAttributeContext();
for (int i = 0; i < extraFields.length; i++)
{
final String extraField = extraFields[i];
fields.add(new DataSchemaFieldDefinition(extraField, new EmptyDataAttributes(), dataAttributeContext));