{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://goodgo.vn/schemas/events/kyc.verified.schema.json", "title": "kyc.verified", "description": "Emitted when a user's KYC review transitions to VERIFIED.", "type": "object", "additionalProperties": false, "required": ["userId", "verifiedByUserId", "level", "verifiedAt", "documentRefs"], "properties": { "userId": { "type": "string", "minLength": 1 }, "verifiedByUserId": { "type": "string", "minLength": 1 }, "level": { "type": "string", "enum": ["basic", "enhanced"] }, "verifiedAt": { "type": "string", "format": "date-time" }, "documentRefs": { "type": "array", "items": { "type": "string", "minLength": 1 }, "description": "Opaque references (e.g. S3 keys) to the documents used for verification." } } }