# dev.knotless.star

> Published by [lexicons.knotless.dev](https://lexicon.garden/identity/did:plc:yqsg7znbbhfmj3a2nrpnaerk)

✓ This is the authoritative definition for this NSID.

## Description

A repository an account stars, to keep track of it and say it likes it.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.star)
- [Documentation](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.star/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.star/examples)

## Definitions

### `dev.knotless.star`

**Type**: `record`

Kept in the starring account, keyed by a TID. Only public repositories are starred: the record is public, and would name a private one. Readers count one star per account and repository, however many records name it.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `subject` | `ref` → `dev.knotless.defs#repoRef` | Yes | The repository starred. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Kept in the starring account, keyed by a TID. Only public repositories are starred: the record is public, and would name a private one. Readers count one star per account and repository, however many records name it.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "description": "The repository starred.",
            "ref": "dev.knotless.defs#repoRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A repository an account stars, to keep track of it and say it likes it.",
  "id": "dev.knotless.star",
  "lexicon": 1
}
```
