# dev.knotless.block

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

✓ This is the authoritative definition for this NSID.

## Description

An account a repository's owner keeps out, as app.bsky.graph.block blocks one.

## Links

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

## Definitions

### `dev.knotless.block`

**Type**: `record`

Kept in the owner's account, keyed by a TID; one naming a private repository is in their repo inside its space. Readers honor it only from the owner, and leave out what the subject writes about the owner's repositories, or about `repo` alone.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `repo` | `ref` → `dev.knotless.defs#repoRef` | No | The one repository it is kept out of; all the owner's when left out. |
| `subject` | `string` (did) | Yes | The account kept out. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Kept in the owner's account, keyed by a TID; one naming a private repository is in their repo inside its space. Readers honor it only from the owner, and leave out what the subject writes about the owner's repositories, or about `repo` alone.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "repo": {
            "description": "The one repository it is kept out of; all the owner's when left out.",
            "ref": "dev.knotless.defs#repoRef",
            "type": "ref"
          },
          "subject": {
            "description": "The account kept out.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "An account a repository's owner keeps out, as app.bsky.graph.block blocks one.",
  "id": "dev.knotless.block",
  "lexicon": 1
}
```
