# codes.tcm.yank

> Its author's word that a release shouldn't be used, by its namespace hash, and why. Counted only from the release's author.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:vh4czvu5aijkaqge5huayq53/codes.tcm.yank)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:vh4czvu5aijkaqge5huayq53/codes.tcm.yank/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:vh4czvu5aijkaqge5huayq53/codes.tcm.yank/analytics)

## Record (`codes.tcm.yank`)

Type: record · key tid

### Properties

- `body` (string, required): Why it shouldn't be used, as markdown.
  - Constraints: maxLength: 30000
- `createdAt` (string · datetime, required): When it was written.
- `subject` (ref, required)
  - Reference: `#subject`

## #subject (`codes.tcm.yank#subject`)

Type: object

The code it's about, by its namespace's whole hash; the release it is, and its author, for showing.

### Properties

- `author` (string · did): The release's author, if it was announced.
- `namespace` (string, required): The namespace's whole hash.
  - Constraints: maxLength: 128
- `release` (string): The release it is: package@version.
  - Constraints: maxLength: 300

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Its author's word that a release shouldn't be used, by its namespace hash, and why. Counted only from the release's author.",
      "key": "tid",
      "record": {
        "properties": {
          "body": {
            "description": "Why it shouldn't be used, as markdown.",
            "maxLength": 30000,
            "type": "string"
          },
          "createdAt": {
            "description": "When it was written.",
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "ref": "#subject",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "body",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "subject": {
      "description": "The code it's about, by its namespace's whole hash; the release it is, and its author, for showing.",
      "properties": {
        "author": {
          "description": "The release's author, if it was announced.",
          "format": "did",
          "type": "string"
        },
        "namespace": {
          "description": "The namespace's whole hash.",
          "maxLength": 128,
          "type": "string"
        },
        "release": {
          "description": "The release it is: package@version.",
          "maxLength": 300,
          "type": "string"
        }
      },
      "required": [
        "namespace"
      ],
      "type": "object"
    }
  },
  "description": "A release's author's word that it shouldn't be used.",
  "id": "codes.tcm.yank",
  "lexicon": 1
}
```
