{
"components": { "schemas": { "response": { "type": "object", "xml": { "name": "/", "wrapped": true }, "properties": { "id": { "$ref": "../../components.json#/components/response/schemas/id" }, "name": { "type": "string", "example": "Risk name" }, "severity": { "type": "string", "example": "Medium" }, "category": { "type": "string", "example": "Inventory" }, "discarded": { "type": "boolean", "example": false }, "resolved": { "type": "boolean", "example": false }, "affected_assets": { "type": "object", "properties": { "id": { "$ref": "../../components.json#/components/response/schemas/id" }, "name": { "type": "string", "example": "Computer name" }, "type": { "type": "string", "example": "Hardware" } } }, "created_at": { "type": "string", "example": "2025-01-01T00:00:00.000+01:00" }, "updated at": { "type": "string", "example": "2025-01-01T00:00:00.000+01:00" } } } } }
}