# com.guineeeeeeeeeeeeeeeeeeeeeeeerm.tag

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

- Kind: record
- Record key: tid
- Authority: guineeeeeeeeeeeeeeeeeeeeeeeerm.com
- Lexicon: 1
- Published by [guineeeeeeeeeeeeeeeeeeeeeeeerm.com](https://lexicon.garden/identity/did:plc:hikovhnehcqnmiyczrm5ww43), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:hikovhnehcqnmiyczrm5ww43/com.guineeeeeeeeeeeeeeeeeeeeeeeerm.tag)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:hikovhnehcqnmiyczrm5ww43/com.guineeeeeeeeeeeeeeeeeeeeeeeerm.tag/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:hikovhnehcqnmiyczrm5ww43/com.guineeeeeeeeeeeeeeeeeeeeeeeerm.tag/analytics)

## Record (`com.guineeeeeeeeeeeeeeeeeeeeeeeerm.tag`)

Type: record · key tid

### Properties

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

## 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
}
```
