# pub.chive.eprint.userTag

> Published by [chive.pub](https://lexicon.garden/identity/did:plc:7natp5xae72bddaqlkef2t4e)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.eprint.userTag)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.eprint.userTag/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.eprint.userTag/examples)

## Definitions

### `pub.chive.eprint.userTag`

**Type**: `record`

User-generated tag on eprint (TaxoFolk) with optional knowledge graph linking

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `tag` | `string` | Yes | Tag label (user-provided text) |
| `nodeUri` | `string` (at-uri) | No | Optional AT-URI to linked knowledge graph node (subkind=topic, concept, field, etc.) |
| `nodeSlug` | `string` | No | Node slug for display fallback when nodeUri is present |
| `createdAt` | `string` (datetime) | Yes |  |
| `eprintUri` | `string` (at-uri) | Yes | AT-URI of the tagged eprint |
| `nodeSubkind` | `string` | No | Subkind of the linked node for styling (e.g., 'topic', 'concept', 'field') |
| `schemaRevision` | `integer` | No | Schema revision this record was created with. Absent means revision 1. |

## Raw Schema

```json
{
  "id": "pub.chive.eprint.userTag",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "eprintUri",
          "tag",
          "createdAt"
        ],
        "properties": {
          "tag": {
            "type": "string",
            "maxLength": 100,
            "description": "Tag label (user-provided text)"
          },
          "nodeUri": {
            "type": "string",
            "format": "at-uri",
            "description": "Optional AT-URI to linked knowledge graph node (subkind=topic, concept, field, etc.)"
          },
          "nodeSlug": {
            "type": "string",
            "maxLength": 100,
            "description": "Node slug for display fallback when nodeUri is present"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "eprintUri": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the tagged eprint"
          },
          "nodeSubkind": {
            "type": "string",
            "maxLength": 50,
            "description": "Subkind of the linked node for styling (e.g., 'topic', 'concept', 'field')"
          },
          "schemaRevision": {
            "type": "integer",
            "minimum": 1,
            "description": "Schema revision this record was created with. Absent means revision 1."
          }
        }
      },
      "description": "User-generated tag on eprint (TaxoFolk) with optional knowledge graph linking"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
