{
 "asyncapi": "3.0.0",
 "id": "urn:lucela:apis:events",
 "info": {
  "title": "루첼라 API 이벤트",
  "version": "2026-10-21",
  "description": "이벤트 이름 <제품>.<것>.<일어난일> · payload 는 ID · 사유 코드"
 },
 "defaultContentType": "application/json",
 "channels": {},
 "components": {
  "messages": {
   "databridge.credential.revoked": {
    "name": "databridge.credential.revoked",
    "title": "databridge.credential.revoked",
    "contentType": "application/json",
    "payload": {
     "oneOf": [
      {
       "type": "object",
       "required": [
        "credential_id",
        "reason_code"
       ],
       "additionalProperties": false,
       "properties": {
        "credential_id": {
         "type": "string",
         "format": "uuid"
        },
        "reason_code": {
         "type": "string"
        }
       }
      },
      {
       "type": "object",
       "required": [
        "reason_code",
        "tenant_id"
       ],
       "additionalProperties": false,
       "properties": {
        "reason_code": {
         "type": "string"
        },
        "tenant_id": {
         "type": "string",
         "format": "uuid"
        }
       }
      }
     ]
    }
   }
  }
 }
}
