{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "delegation": {
            "description": "AT-URI of the social.agent.delegation.grant being revoked",
            "format": "at-uri",
            "type": "string"
          },
          "reason": {
            "maxLength": 1000,
            "type": "string"
          },
          "revokedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "delegation",
          "revokedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Explicit revocation of a delegation grant. Lives on the grantor's (human's) PDS. Separate record to preserve provenance chain.",
  "id": "social.agent.delegation.revocation",
  "lexicon": 1
}
