{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A device asking for the account's seed. The new device writes its public key; an existing device, once the user has compared the code both show, seals the seed to it and adds `sealedSeed`.",
      "key": "tid",
      "record": {
        "properties": {
          "approvedAt": {
            "format": "datetime",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "publicKey": {
            "description": "The new device's ephemeral X-Wing public key.",
            "maxLength": 1216,
            "minLength": 1216,
            "type": "bytes"
          },
          "sealedSeed": {
            "description": "The seed, sealed to publicKey.",
            "maxLength": 2048,
            "minLength": 1,
            "type": "bytes"
          }
        },
        "required": [
          "publicKey",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.brightblur.vault.deviceLink",
  "lexicon": 1
}
