{

"components": {
  "schemas": {
    "response": {
      "type": "object",
      "xml": { "name": "/", "wrapped": true },
      "properties": {
        "audit": {
          "type": "object",
          "properties": {
            "id": { "$ref": "../../components.json#/components/response/schemas/id" },
            "message": { "type": "string", "example": "State changed from New to On Hold" },
            "action": { "type": "string", "example": "Update" },
            "created_at": { "type": "string", "example": "2025-01-01T00:00:00.000+01:00" },
            "source_type": { "type": "string", "example": "Incident" },
            "source_id": { "$ref": "../../components.json#/components/response/schemas/id" },
            "user_id": { "$ref": "../../components.json#/components/response/schemas/id" },
            "user": { "$ref": "../../components.json#/components/response/schemas/user_details" },
            "site": { "$ref": "../../components.json#/components/response/schemas/site_response" },
            "department": { "$ref": "../../components.json#/components/response/schemas/department_response" },
            "note": { "type": "string", "example": "Audit note" }
          }
        }
      }
    }
  }
}

}