# org.cairnsproto.draft.compromise

> Marks the window when this account's key was stolen. Records first seen inside it lose weight.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:np7ezqujtsry4bkogisaabul/org.cairnsproto.draft.compromise)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:np7ezqujtsry4bkogisaabul/org.cairnsproto.draft.compromise/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:np7ezqujtsry4bkogisaabul/org.cairnsproto.draft.compromise/analytics)

## Record (`org.cairnsproto.draft.compromise`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `fromSeen` (ref, required): First seen record inside the window.
  - Reference: `com.atproto.repo.strongRef`
- `toSeen` (ref): Last seen record inside the window. Absent while still open.
  - Reference: `com.atproto.repo.strongRef`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Marks the window when this account's key was stolen. Records first seen inside it lose weight.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "fromSeen": {
            "description": "First seen record inside the window.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "toSeen": {
            "description": "Last seen record inside the window. Absent while still open.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "fromSeen",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "org.cairnsproto.draft.compromise",
  "lexicon": 1
}
```
