{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rwth-aachen-university/json-schema/rwth-aachen-university-notification-dto-response-schema.json",
  "title": "NotificationDtoResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rwth-aachen-university-notification-api-openapi.yml#/components/schemas/NotificationDtoResponse",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/NotificationDto"
    },
    "isSuccess": {
      "type": "boolean",
      "readOnly": true
    },
    "statusCode": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "traceId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "NotificationDto": {
      "required": [
        "category",
        "id",
        "isOptional"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the project notification.",
          "format": "uuid"
        },
        "category": {
          "type": "string",
          "description": "Category of the notification."
        },
        "isOptional": {
          "type": "boolean",
          "description": "Field which clarifies if the notification is optional or not."
        }
      },
      "additionalProperties": false,
      "description": "Represents a minimal data transfer object (DTO) for a notification."
    }
  }
}