# xyz.2877686.obsidian-pds-sync.note

> Published by [2877686.xyz](https://lexicon.garden/identity/did:plc:mjextnzcbq7fog7yomsnbf4d)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mjextnzcbq7fog7yomsnbf4d/xyz.2877686.obsidian-pds-sync.note)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mjextnzcbq7fog7yomsnbf4d/xyz.2877686.obsidian-pds-sync.note/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mjextnzcbq7fog7yomsnbf4d/xyz.2877686.obsidian-pds-sync.note/examples)

## Definitions

### `xyz.2877686.obsidian-pds-sync.note`

**Type**: `record`

An end-to-end encrypted note. The ciphertext body is readable only with the user's passphrase-derived key.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `enc` | `string` | Yes | Symmetric cipher used for `data`. |
| `kdf` | `string` | Yes | Key-derivation function for the encryption key. |
| `data` | `bytes` | Yes | Ciphertext: a 12-byte IV followed by the AES-256-GCM output. |

## Raw Schema

```json
{
  "id": "xyz.2877686.obsidian-pds-sync.note",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "enc",
          "kdf",
          "data"
        ],
        "properties": {
          "enc": {
            "type": "string",
            "description": "Symmetric cipher used for `data`.",
            "knownValues": [
              "AES-256-GCM"
            ]
          },
          "kdf": {
            "type": "string",
            "description": "Key-derivation function for the encryption key.",
            "knownValues": [
              "Argon2id"
            ]
          },
          "data": {
            "type": "bytes",
            "description": "Ciphertext: a 12-byte IV followed by the AES-256-GCM output."
          }
        }
      },
      "description": "An end-to-end encrypted note. The ciphertext body is readable only with the user's passphrase-derived key."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
