FieldMetadata value object

The FieldMetadata value object has a list of metadata of all fields in each topic, topic template, or work team. The metadata includes the field identifier, display label, type, whether the field is required, and whether the field can be presented to the user as a filter.

class FieldMetadata extends TopicsServiceResult {
 List<Field> fields;
}
class Field {
 String id; 
 String label; 
 FieldType type;
 boolean filterable;
 boolean required;
}

The field types are defined in an enumeration as follows. FLOAT is reserved for future use.

enum FieldType {
 STRING, DATE, INTEGER, LONG, FLOAT, PROJECT, STATE
}