# com.guineeeeeeeeeeeeeeeeeeeeeeeerm.tag

> Published by [guineeeeeeeeeeeeeeeeeeeeeeeerm.com](https://lexicon.garden/identity/did:plc:hikovhnehcqnmiyczrm5ww43)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:hikovhnehcqnmiyczrm5ww43/com.guineeeeeeeeeeeeeeeeeeeeeeeerm.tag)
- [Documentation](https://lexicon.garden/lexicon/did:plc:hikovhnehcqnmiyczrm5ww43/com.guineeeeeeeeeeeeeeeeeeeeeeeerm.tag/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:hikovhnehcqnmiyczrm5ww43/com.guineeeeeeeeeeeeeeeeeeeeeeeerm.tag/examples)

## Definitions

### `com.guineeeeeeeeeeeeeeeeeeeeeeeerm.tag`

**Type**: `record`

A tag added to or removed from a post. The tags a post has now are worked out from these events.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `action` | `string` | Yes | added or removed. For one post and tag, the first event is added and the two then alternate. |
| `createdAt` | `string` (datetime) | Yes | When this record was written (UTC). |
| `post` | `string` | Yes | Id of the post this record belongs to (the rkey of its com.guineeeeeeeeeeeeeeeeeeeeeeeerm.post record, YYYYMMDD-HHMMSS). |
| `tag` | `string` | Yes | Tag name: at most 40 characters, no leading or trailing spaces, no / or \. |
| `why` | `string` | Yes | Why the author made this change, in their own words. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A tag added to or removed from a post. The tags a post has now are worked out from these events.",
      "key": "tid",
      "record": {
        "properties": {
          "action": {
            "description": "added or removed. For one post and tag, the first event is added and the two then alternate.",
            "knownValues": [
              "added",
              "removed"
            ],
            "type": "string"
          },
          "createdAt": {
            "description": "When this record was written (UTC).",
            "format": "datetime",
            "type": "string"
          },
          "post": {
            "description": "Id of the post this record belongs to (the rkey of its com.guineeeeeeeeeeeeeeeeeeeeeeeerm.post record, YYYYMMDD-HHMMSS).",
            "type": "string"
          },
          "tag": {
            "description": "Tag name: at most 40 characters, no leading or trailing spaces, no / or \\.",
            "type": "string"
          },
          "why": {
            "description": "Why the author made this change, in their own words.",
            "type": "string"
          }
        },
        "required": [
          "post",
          "tag",
          "action",
          "why",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.guineeeeeeeeeeeeeeeeeeeeeeeerm.tag",
  "lexicon": 1
}
```
