# com.lognship.log.entry

> 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.entry)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ln7l376244zkvhwu4wgr3rzz/com.lognship.log.entry/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ln7l376244zkvhwu4wgr3rzz/com.lognship.log.entry/examples)

## Definitions

### `com.lognship.log.entry`

**Type**: `record`

Record containing a lognship log entry.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `text` | `string` | Yes | The primary log entry content. |
| `facets` | `array` | No | Annotations of byte ranges within the entry's text. |
| `project` | `string` (at-uri) | Yes | AT URI of the lognship project this log entry belongs to. |
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when this log entry was originally created. |

## Raw Schema

```json
{
  "id": "com.lognship.log.entry",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "project",
          "text",
          "createdAt"
        ],
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 20480,
            "description": "The primary log entry content.",
            "maxGraphemes": 2048
          },
          "facets": {
            "type": "array",
            "items": {
              "ref": "com.lognship.richtext.facet",
              "type": "ref"
            },
            "description": "Annotations of byte ranges within the entry's text."
          },
          "project": {
            "type": "string",
            "format": "at-uri",
            "description": "AT URI of the lognship project this log entry belongs to."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp when this log entry was originally created."
          }
        }
      },
      "description": "Record containing a lognship log entry."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
