for field types, use 'fieldType' instead of 'type'