---
title: "Metadata & Tags"
weight: 41
summary: "Attach additional information to your elements using Metadata and Tags."
---

# Metadata & Tags

Sruja allows you to attach additional information to your elements using Metadata and Tags.

## Tags

Tags are simple string labels that can be used for filtering, styling, or categorization.

### Syntax

```sruja
import { * } from 'sruja.ai/stdlib'


API = system "API" {
tags ["tag1", "tag2"]
}
```

## Metadata

Metadata allows you to attach key-value pairs to elements. This is useful for storing information like team ownership, cost centers, links to other docs, etc.

### Syntax

```sruja
import { * } from 'sruja.ai/stdlib'


API = system "API" {
metadata {
  owner "Team A"
  tier "1"
}
}
```

## Technology

Most elements (Container, Component, etc.) support a `technology` field to specify the tech stack.

### Syntax

```sruja
API = system "API" {
  metadata {
    key "value"
  }
}
```

## See Also

- [Validation](docs/concepts/validation.md)
