# Interface SafetyCategory

Complete definition of a safety category.

interface SafetyCategory {
id: SafetyCategoryIdType;
name: string;
description: string;
defaultRiskLevel: RiskLevelType;
parentId?: SafetyCategoryIdType;
criteria: readonly EvaluationCriterion[];
exampleTestCases: readonly SafetyTestCase[];
failureModes: readonly string[];
mitigationStrategies: readonly string[];
}

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:109

##### Index

### Properties

id
name
description
defaultRiskLevel
parentId?
criteria
exampleTestCases
failureModes
mitigationStrategies

## Properties

### `Readonly` id

id: SafetyCategoryIdType

Unique category identifier.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:111

### `Readonly` name

name: string

Human-readable category name.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:113

### `Readonly` description

description: string

Detailed description of the category.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:115

### `Readonly` defaultRiskLevel

defaultRiskLevel: RiskLevelType

Default risk level for violations in this category.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:117

### `Optional` `Readonly` parentId

parentId?: SafetyCategoryIdType

Parent category ID (for subcategories).

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:119

### `Readonly` criteria

criteria: readonly EvaluationCriterion[]

Evaluation criteria for this category.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:121

### `Readonly` exampleTestCases

exampleTestCases: readonly SafetyTestCase[]

Example test cases demonstrating the category.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:123

### `Readonly` failureModes

failureModes: readonly string[]

Failure modes commonly seen in this category.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:125

### `Readonly` mitigationStrategies

mitigationStrategies: readonly string[]

Mitigation strategies for this category.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:127