Service for managing risk schema registry.
Uses ToolRegistry from functools-kit for type-safe schema storage. Risk profiles are registered via addRisk() and retrieved by name.
constructor();
loggerService: LoggerService
_registry: any
register: (key: string, value: IRiskSchema) => void
Registers a new risk schema.
validateShallow: any
Validates risk schema structure for required properties.
Performs shallow validation to ensure all required properties exist and have correct types before registration in the registry.
override: (key: string, value: Partial<IRiskSchema>) => IRiskSchema
Overrides an existing risk schema with partial updates.
get: (key: string) => IRiskSchema
Retrieves a risk schema by name.