# tech.manos.twmirror.post

> Published by [manos.lol](https://lexicon.garden/identity/did:plc:ffhsvgvnjwkbbhoi62pezi4x)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ffhsvgvnjwkbbhoi62pezi4x/tech.manos.twmirror.post)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ffhsvgvnjwkbbhoi62pezi4x/tech.manos.twmirror.post/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ffhsvgvnjwkbbhoi62pezi4x/tech.manos.twmirror.post/examples)

## Definitions

### `tech.manos.twmirror.post`

**Type**: `record`

Sidecar record for mirrored Twitter posts. The rkey should match the bskyPost ref.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `tweetId` | `ref` → `#TwitterId` | Yes | ID of mirrored tweet. |
| `bskyPost` | `ref` → `com.atproto.repo.strongRef#strongRef` | Yes | strongRef to mirrored post on Bluesky. |
| `twUserId` | `ref` → `#TwitterId` | Yes | ID of the mirrored Twitter user. |
| `createdAt` | `string` (datetime) | Yes | Tweet timestamp (regardless of backdating setting). |

### `tech.manos.twmirror.post#TwitterId`

**Type**: `string`

**Constraints**: minLength: 1, maxLength: 20

## Raw Schema

```json
{
  "id": "tech.manos.twmirror.post",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "tweetId",
          "twUserId",
          "bskyPost",
          "createdAt"
        ],
        "properties": {
          "tweetId": {
            "ref": "#TwitterId",
            "type": "ref",
            "description": "ID of mirrored tweet."
          },
          "bskyPost": {
            "ref": "com.atproto.repo.strongRef#strongRef",
            "type": "ref",
            "description": "strongRef to mirrored post on Bluesky."
          },
          "twUserId": {
            "ref": "#TwitterId",
            "type": "ref",
            "description": "ID of the mirrored Twitter user."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Tweet timestamp (regardless of backdating setting)."
          }
        }
      },
      "description": "Sidecar record for mirrored Twitter posts. The rkey should match the bskyPost ref."
    },
    "TwitterId": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
