{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "What a manager had withdrawn when a list removed them. Every manager and the photographer should keep a copy. The record key is `<generation>:<manager DID>`.",
      "key": "any",
      "record": {
        "properties": {
          "generation": {
            "maximum": 4294967295,
            "minimum": 0,
            "type": "integer"
          },
          "managerId": {
            "format": "did",
            "type": "string"
          },
          "profileId": {
            "description": "The profile's id: the SHA-256 of its generation-0 manager list.",
            "maxLength": 32,
            "minLength": 32,
            "type": "bytes"
          },
          "withdrawals": {
            "items": {
              "ref": "app.brightblur.face.defs#withdrawal",
              "type": "ref"
            },
            "maxLength": 10000,
            "type": "array"
          }
        },
        "required": [
          "profileId",
          "generation",
          "managerId",
          "withdrawals"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.brightblur.profile.departure",
  "lexicon": 1
}
