# computer.spaces.notereceipt

> The permanent result of handling one Pebble voice note. Stored in your home space. Key is the lowercase hexadecimal SHA-256 of the full source space-record URI, independent of record edits and parser versions. Keep this receipt when deleting or editing an output to prevent recreating it.

- Kind: record
- Record key: any
- Authority: spaces.computer
- Lexicon: 1
- Published by [spaces.computer](https://lexicon.garden/identity/did:plc:fcup7ltuhyvyayda32fru55z), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.notereceipt)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.notereceipt/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.notereceipt/analytics)

## Record (`computer.spaces.notereceipt`)

Type: record · key any

### Properties

- `capturedAt` (string · datetime): Valid capture timestamp from the original record, falling back to its TID.
- `createdAt` (string · datetime, required)
- `kind` (string, required)
  - Constraints: knownValues: note | task | event
- `parserVersion` (integer, required)
  - Constraints: minimum: 1
- `reason` (string)
  - Constraints: maxLength: 3000
- `source` (string · uri, required): Full original space-record URI, including source space, writer DID, collection and record key.
- `sourceCid` (string · cid): The source record version used for this decision, when known.
- `target` (ref): The created or previously existing task/event in this account's home space. Absent when kept as a note.
  - Reference: `#target`
- `timeZone` (string, required)
  - Constraints: maxLength: 100

## #target (`computer.spaces.notereceipt#target`)

Type: object

### Properties

- `collection` (string · nsid, required)
  - Constraints: knownValues: computer.spaces.task | computer.spaces.event
- `rkey` (string · record-key, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The permanent result of handling one Pebble voice note. Stored in your home space. Key is the lowercase hexadecimal SHA-256 of the full source space-record URI, independent of record edits and parser versions. Keep this receipt when deleting or editing an output to prevent recreating it.",
      "key": "any",
      "record": {
        "properties": {
          "capturedAt": {
            "description": "Valid capture timestamp from the original record, falling back to its TID.",
            "format": "datetime",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "kind": {
            "knownValues": [
              "note",
              "task",
              "event"
            ],
            "type": "string"
          },
          "parserVersion": {
            "minimum": 1,
            "type": "integer"
          },
          "reason": {
            "maxLength": 3000,
            "type": "string"
          },
          "source": {
            "description": "Full original space-record URI, including source space, writer DID, collection and record key.",
            "format": "uri",
            "type": "string"
          },
          "sourceCid": {
            "description": "The source record version used for this decision, when known.",
            "format": "cid",
            "type": "string"
          },
          "target": {
            "description": "The created or previously existing task/event in this account's home space. Absent when kept as a note.",
            "ref": "#target",
            "type": "ref"
          },
          "timeZone": {
            "maxLength": 100,
            "type": "string"
          }
        },
        "required": [
          "source",
          "timeZone",
          "kind",
          "parserVersion",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "target": {
      "properties": {
        "collection": {
          "format": "nsid",
          "knownValues": [
            "computer.spaces.task",
            "computer.spaces.event"
          ],
          "type": "string"
        },
        "rkey": {
          "format": "record-key",
          "type": "string"
        }
      },
      "required": [
        "collection",
        "rkey"
      ],
      "type": "object"
    }
  },
  "id": "computer.spaces.notereceipt",
  "lexicon": 1
}
```
