# com.lognship.log.label

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

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ln7l376244zkvhwu4wgr3rzz/com.lognship.log.label)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ln7l376244zkvhwu4wgr3rzz/com.lognship.log.label/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ln7l376244zkvhwu4wgr3rzz/com.lognship.log.label/examples)

## Definitions

### `com.lognship.log.label`

**Type**: `record`

A label applied to a log entry.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `text` | `string` | Yes | The label text. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | The entry being labeled. |
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when this label was originally applied. |

## Raw Schema

```json
{
  "id": "com.lognship.log.label",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "text",
          "createdAt"
        ],
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 320,
            "description": "The label text.",
            "maxGraphemes": 32
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "The entry being labeled."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp when this label was originally applied."
          }
        }
      },
      "description": "A label applied to a log entry."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
