{
  "$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
}
