# so.indx.entry

> One item in an index. An entry should carry at least one of title, description, url, image, location or linkedIndex; apps may ignore entries that carry none.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:62qaw3tjtuox2zt7aqtshs7p/so.indx.entry)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:62qaw3tjtuox2zt7aqtshs7p/so.indx.entry/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:62qaw3tjtuox2zt7aqtshs7p/so.indx.entry/analytics)

## Record (`so.indx.entry`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `description` (string): Notes on the entry.
  - Constraints: maxLength: 30000, maxGraphemes: 3000
- `image` (ref)
  - Reference: `so.indx.defs#image`
- `index` (string · at-uri, required): The so.indx.index record this entry belongs to. It must be in the same account as the entry; apps ignore entries that point into another account.
- `linkedIndex` (string · at-uri): Another so.indx.index record, in any account, that this entry stands for: an index inside an index. Not pinned to a version, so it follows the linked index as it changes.
- `location` (ref)
  - Reference: `so.indx.defs#location`
- `position` (string, required): Sort key within the index. Entries are shown in ascending order of position, compared byte by byte; ties are broken by record key. A new key can always be made between two neighbours by making it longer, so reordering changes one record.
  - Constraints: minLength: 1, maxLength: 256
- `remixedFrom` (ref): The so.indx.entry record this one was remixed from, pinned to the exact version that was copied.
  - Reference: `com.atproto.repo.strongRef`
- `title` (string)
  - Constraints: maxLength: 3000, maxGraphemes: 300
- `url` (string · uri): A link the entry is about.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One item in an index. An entry should carry at least one of title, description, url, image, location or linkedIndex; apps may ignore entries that carry none.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Notes on the entry.",
            "maxGraphemes": 3000,
            "maxLength": 30000,
            "type": "string"
          },
          "image": {
            "ref": "so.indx.defs#image",
            "type": "ref"
          },
          "index": {
            "description": "The so.indx.index record this entry belongs to. It must be in the same account as the entry; apps ignore entries that point into another account.",
            "format": "at-uri",
            "type": "string"
          },
          "linkedIndex": {
            "description": "Another so.indx.index record, in any account, that this entry stands for: an index inside an index. Not pinned to a version, so it follows the linked index as it changes.",
            "format": "at-uri",
            "type": "string"
          },
          "location": {
            "ref": "so.indx.defs#location",
            "type": "ref"
          },
          "position": {
            "description": "Sort key within the index. Entries are shown in ascending order of position, compared byte by byte; ties are broken by record key. A new key can always be made between two neighbours by making it longer, so reordering changes one record.",
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "remixedFrom": {
            "description": "The so.indx.entry record this one was remixed from, pinned to the exact version that was copied.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "title": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "url": {
            "description": "A link the entry is about.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "index",
          "position",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "so.indx.entry",
  "lexicon": 1
}
```
