# computer.spaces.contact

> Someone you know, saved in your home space at spaces.computer. Private to you. Record key: the contact's DID, so there is one record per person.

- 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.contact)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.contact/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.contact/analytics)

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

Type: record · key any

### Properties

- `createdAt` (string · datetime, required): When you added them.
- `nickname` (string): What you call them. Shown instead of their handle when set.
  - Constraints: maxLength: 640, maxGraphemes: 64
- `note` (string): Anything you want to remember about them.
  - Constraints: maxLength: 5000, maxGraphemes: 500
- `subject` (string · did, required): The contact's account.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Someone you know, saved in your home space at spaces.computer. Private to you. Record key: the contact's DID, so there is one record per person.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When you added them.",
            "format": "datetime",
            "type": "string"
          },
          "nickname": {
            "description": "What you call them. Shown instead of their handle when set.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "note": {
            "description": "Anything you want to remember about them.",
            "maxGraphemes": 500,
            "maxLength": 5000,
            "type": "string"
          },
          "subject": {
            "description": "The contact's account.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "computer.spaces.contact",
  "lexicon": 1
}
```
