{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rwth-aachen-university/json-schema/rwth-aachen-university-gitlab-project-dto-response-schema.json",
  "title": "GitlabProjectDtoResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rwth-aachen-university-resourcetypegitlab-api-openapi.yml#/components/schemas/GitlabProjectDtoResponse",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/GitlabProjectDto"
    },
    "isSuccess": {
      "type": "boolean",
      "readOnly": true
    },
    "statusCode": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "traceId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "GitlabProjectDto": {
      "required": [
        "archived",
        "createdAt",
        "defaultBranch",
        "description",
        "httpUrlToRepo",
        "id",
        "lastActivityAt",
        "name",
        "nameWithNamespace",
        "path",
        "pathWithNamespace",
        "sshUrlToRepo",
        "webUrl"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "The unique identifier for the GitLab project.",
          "format": "int32"
        },
        "archived": {
          "type": "boolean",
          "description": "Indicates if the GitLab project is archived."
        },
        "name": {
          "type": "string",
          "description": "The name of the GitLab project."
        },
        "nameWithNamespace": {
          "type": "string",
          "description": "The full name of the GitLab project including namespace."
        },
        "description": {
          "type": "string",
          "description": "A brief description of the GitLab project."
        },
        "defaultBranch": {
          "type": "string",
          "description": "The default branch of the GitLab project."
        },
        "path": {
          "type": "string",
          "description": "The path of the GitLab project."
        },
        "pathWithNamespace": {
          "type": "string",
          "description": "The path of the GitLab project including namespace."
        },
        "lastActivityAt": {
          "type": "string",
          "description": "The timestamp of the last activity related to the GitLab project."
        },
        "createdAt": {
          "type": "string",
          "description": "The creation timestamp of the GitLab project."
        },
        "webUrl": {
          "type": "string",
          "description": "The URL to view the GitLab project in a web browser."
        },
        "httpUrlToRepo": {
          "type": "string",
          "description": "The HTTP URL to access the GitLab project repository."
        },
        "sshUrlToRepo": {
          "type": "string",
          "description": "The SSH URL to access the GitLab project repository."
        }
      },
      "additionalProperties": false,
      "description": "Represents a GitLab project data transfer object (DTO)."
    }
  }
}