{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rwth-aachen-university/json-schema/rwth-aachen-university-user-project-role-count-dto-response-schema.json",
  "title": "UserProjectRoleCountDtoResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rwth-aachen-university-self-api-openapi.yml#/components/schemas/UserProjectRoleCountDtoResponse",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/UserProjectRoleCountDto"
    },
    "isSuccess": {
      "type": "boolean",
      "readOnly": true
    },
    "statusCode": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "traceId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "UserProjectRoleCountDto": {
      "type": "object",
      "properties": {
        "activeProjectRolesTotal": {
          "type": "integer",
          "description": "Gets the total number of active project roles associated with the current authenticated user.",
          "format": "int32"
        }
      },
      "additionalProperties": false,
      "description": "Represents a Data Transfer Object containing the number of active project roles for a user."
    }
  }
}