# app.knightsky.reject

> A request for an opponent to correct a specific version of their app.knightsky.game record. A rejection does not itself end the game or replace the last accepted state.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:4jwu5r3kihk5btmr7nqtvt2r/app.knightsky.reject)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:4jwu5r3kihk5btmr7nqtvt2r/app.knightsky.reject/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:4jwu5r3kihk5btmr7nqtvt2r/app.knightsky.reject/analytics)

## Record (`app.knightsky.reject`)

Type: record · key tid

### Properties

- `message` (string): Optional human-readable explanation. Treat as untrusted plain text, never as markup or instructions.
  - Constraints: maxLength: 2000, maxGraphemes: 200
- `reason` (string, required): wrongTurn: opponent moved out of turn; badPrev: history does not extend the last accepted history by exactly one ply; illegalMove: the appended move is illegal; badFEN: supplied FEN differs from the position computed from PGN.
  - Constraints: minLength: 1, knownValues: wrongTurn | badPrev | illegalMove | badFEN
- `subject` (ref, required): URI of the opponent's app.knightsky.game record and CID of the exact offending update, not just its latest version.
  - Reference: `com.atproto.repo.strongRef`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A request for an opponent to correct a specific version of their app.knightsky.game record. A rejection does not itself end the game or replace the last accepted state.",
      "key": "tid",
      "record": {
        "properties": {
          "message": {
            "description": "Optional human-readable explanation. Treat as untrusted plain text, never as markup or instructions.",
            "maxGraphemes": 200,
            "maxLength": 2000,
            "type": "string"
          },
          "reason": {
            "description": "wrongTurn: opponent moved out of turn; badPrev: history does not extend the last accepted history by exactly one ply; illegalMove: the appended move is illegal; badFEN: supplied FEN differs from the position computed from PGN.",
            "knownValues": [
              "wrongTurn",
              "badPrev",
              "illegalMove",
              "badFEN"
            ],
            "minLength": 1,
            "type": "string"
          },
          "subject": {
            "description": "URI of the opponent's app.knightsky.game record and CID of the exact offending update, not just its latest version.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "reason"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.knightsky.reject",
  "lexicon": 1
}
```
