# am.noz.twopassword.item

> Published by [noz.am](https://lexicon.garden/identity/did:plc:lmkzmvv6sdxntwtyxpg7fqqq)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:lmkzmvv6sdxntwtyxpg7fqqq/am.noz.twopassword.item)
- [Documentation](https://lexicon.garden/lexicon/did:plc:lmkzmvv6sdxntwtyxpg7fqqq/am.noz.twopassword.item/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:lmkzmvv6sdxntwtyxpg7fqqq/am.noz.twopassword.item/examples)

## Definitions

### `am.noz.twopassword.item`

**Type**: `record`

Encrypted item (login, secure note, card, identity) stored in a 2password ATProto Space.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `ciphertext` | `string` | Yes | AES-256-GCM encrypted JSON payload (base64) |
| `createdAt` | `string` (datetime) | Yes |  |
| `favorite` | `boolean` | No | Optional flag for favorites |
| `folderId` | `string` | No | Optional encrypted folder reference |
| `iv` | `string` | Yes | 12-byte initialization vector (base64) |
| `schemaVersion` | `integer` | Yes | Item payload schema version |
| `tag` | `string` | Yes | 16-byte AES-GCM authentication tag (base64) |
| `updatedAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Encrypted item (login, secure note, card, identity) stored in a 2password ATProto Space.",
      "key": "tid",
      "record": {
        "properties": {
          "ciphertext": {
            "description": "AES-256-GCM encrypted JSON payload (base64)",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "favorite": {
            "description": "Optional flag for favorites",
            "type": "boolean"
          },
          "folderId": {
            "description": "Optional encrypted folder reference",
            "type": "string"
          },
          "iv": {
            "description": "12-byte initialization vector (base64)",
            "type": "string"
          },
          "schemaVersion": {
            "description": "Item payload schema version",
            "type": "integer"
          },
          "tag": {
            "description": "16-byte AES-GCM authentication tag (base64)",
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "iv",
          "ciphertext",
          "tag",
          "schemaVersion",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "am.noz.twopassword.item",
  "lexicon": 1
}
```
