> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# v1.Fact

- Package: [@gooddata/sdk-code-schemas](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/index.md)
- Kind: interface
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-code-schemas/src/v1/metadata.ts

**Signature:**

```typescript
export interface Fact 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [data\_type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.fact/index.md#v1factdata_type) |  | "INT" \| "STRING" \| "DATE" \| "NUMERIC" \| "TIMESTAMP" \| "TIMESTAMP\_TZ" \| "BOOLEAN" \| "HLL" | A column data type in the physical database. |
| [description?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.fact/index.md#v1factdescription) |  | string | _(Optional)_ An optional description of the field. |
| [is\_hidden?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.fact/index.md#v1factis_hidden) |  | boolean | _(Optional)_ |
| [is\_nullable?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.fact/index.md#v1factis_nullable) |  | boolean | _(Optional)_ Optional flag to indicate if the fact can contain null values. |
| [null\_value\_join\_replacement?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.fact/index.md#v1factnull_value_join_replacement) |  | string | _(Optional)_ Optional value which can be used as replacement for NULL in join conditions. |
| [show\_in\_ai\_results?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.fact/index.md#v1factshow_in_ai_results) |  | boolean | _(Optional)_ Optional flag to indicate if the fact should be shown in AI results. When omitted, the fact is visible. |
| [source\_column?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.fact/index.md#v1factsource_column) |  | string | _(Optional)_ A column name in the physical database. Optional, equals to id by default. |
| [tags?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.fact/index.md#v1facttags) |  | [Tags3](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.tags3/index.md) | _(Optional)_ |
| [title?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.fact/index.md#v1facttitle) |  | string | _(Optional)_ A human readable title of the field. Optional, derived from id if not provided explicitly. |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.fact/index.md#v1facttype) |  | "fact" |  |

## Property details

### v1.Fact.data_type

A column data type in the physical database.

**Signature:**

```typescript
data_type: "INT" | "STRING" | "DATE" | "NUMERIC" | "TIMESTAMP" | "TIMESTAMP_TZ" | "BOOLEAN" | "HLL";
```

### v1.Fact.description

An optional description of the field.

**Signature:**

```typescript
description?: string;
```

### v1.Fact.is_hidden

> Warning: This API is now obsolete.
> 
> Deprecated. Use 'show\_in\_ai\_results' instead.
> 

**Signature:**

```typescript
is_hidden?: boolean;
```

### v1.Fact.is_nullable

Optional flag to indicate if the fact can contain null values.

**Signature:**

```typescript
is_nullable?: boolean;
```

### v1.Fact.null_value_join_replacement

Optional value which can be used as replacement for NULL in join conditions.

**Signature:**

```typescript
null_value_join_replacement?: string;
```

### v1.Fact.show_in_ai_results

Optional flag to indicate if the fact should be shown in AI results. When omitted, the fact is visible.

**Signature:**

```typescript
show_in_ai_results?: boolean;
```

### v1.Fact.source_column

A column name in the physical database. Optional, equals to id by default.

**Signature:**

```typescript
source_column?: string;
```

### v1.Fact.tags

**Signature:**

```typescript
tags?: Tags3;
```

### v1.Fact.title

A human readable title of the field. Optional, derived from id if not provided explicitly.

**Signature:**

```typescript
title?: string;
```

### v1.Fact.type

**Signature:**

```typescript
type: "fact";
```
