# SheetBase

> SheetBase groups a tenant's sheets as the tables of one database.

Source: https://docs.go-lumen.ai/de/reference/resources/sheetbase

## At a glance

| Eigenschaft | Wert |
| --- | --- |
| **apiVersion** | `lumen.ai/v1alpha1` |
| **kind** | `SheetBase` |
| **Resource name** | `sheetbases` |
| **Scope** | Namespaced (lives in a workspace's namespace) |

## Spec

Fields under `spec:`. Nested fields are indented under their parent.

| Feld | Typ | Standardwert | Beschreibung |
| --- | --- | --- | --- |
| `color` | string |  | Color is the base bar's colour: an antd preset name or #rrggbb. Unset is the theme's primary colour. (pattern \`^(#\[0-9a-fA-F\]{6}|\[a-z\]{3,12})$\`) |
| `description` | string |  | (maxLength 1000) |
| `displayName` (erforderlich) | string |  | DisplayName is the base's title. (minLength 1; maxLength 200) |
| `icon` | string |  | Icon is the name of one of the UI's base icons (database, bank, team, shop, ...); the UI falls back to a default for a name it does not know. (maxLength 40; pattern \`^\[a-z\]\[a-z0-9-\]\*$\`) |

## kubectl columns

| Column | Type | JSONPath |
| --- | --- | --- |
| Title | string | `.spec.displayName` |
| Age | date | `.metadata.creationTimestamp` |

## Example

```yaml title="sheetbase.yaml"
apiVersion: lumen.ai/v1alpha1
kind: SheetBase
metadata:
  name: finance
  namespace: tenant-acme
spec:
  displayName: Finance
  icon: bank
  color: blue
```
