# so.indx.index

> An index: a curated, public collection. Its entries are separate so.indx.entry records that point at it.

- 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.index)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:62qaw3tjtuox2zt7aqtshs7p/so.indx.index/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:62qaw3tjtuox2zt7aqtshs7p/so.indx.index/analytics)

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

Type: record · key tid

### Properties

- `cover` (ref): Cover image.
  - Reference: `so.indx.defs#image`
- `createdAt` (string · datetime, required)
- `defaultView` (string): How the author suggests the index is shown. Apps may ignore it.
  - Constraints: maxLength: 64, knownValues: list | grid | map
- `description` (string)
  - Constraints: maxLength: 30000, maxGraphemes: 3000
- `remixedFrom` (ref): The so.indx.index record this one was remixed from, pinned to the exact version that was copied.
  - Reference: `com.atproto.repo.strongRef`
- `title` (string, required)
  - Constraints: minLength: 1, maxLength: 3000, maxGraphemes: 300

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An index: a curated, public collection. Its entries are separate so.indx.entry records that point at it.",
      "key": "tid",
      "record": {
        "properties": {
          "cover": {
            "description": "Cover image.",
            "ref": "so.indx.defs#image",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "defaultView": {
            "description": "How the author suggests the index is shown. Apps may ignore it.",
            "knownValues": [
              "list",
              "grid",
              "map"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "description": {
            "maxGraphemes": 3000,
            "maxLength": 30000,
            "type": "string"
          },
          "remixedFrom": {
            "description": "The so.indx.index 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,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "title",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "so.indx.index",
  "lexicon": 1
}
```
