{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Investigation", "title": "Investigation", "type": "object", "properties": { "id": { "type": "string", "description": "Investigation ID" }, "type": { "type": "string", "enum": [ "investigations" ] }, "attributes": { "type": "object", "properties": { "name": { "type": "string", "description": "Investigation name" }, "description": { "type": "string", "description": "Investigation description" }, "status": { "type": "string", "enum": [ "open", "in_progress", "closed" ], "description": "Investigation status" }, "priority": { "type": "string", "enum": [ "low", "medium", "high", "critical" ], "description": "Investigation priority" }, "createdAt": { "type": "string", "format": "date-time", "description": "Creation timestamp" }, "updatedAt": { "type": "string", "format": "date-time", "description": "Last update timestamp" } } } } }