{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rwth-aachen-university/json-schema/rwth-aachen-university-gitlab-branch-dto-ienumerable-response-schema.json",
  "title": "GitlabBranchDtoIEnumerableResponse",
  "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/GitlabBranchDtoIEnumerableResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/GitlabBranchDto"
      }
    },
    "isSuccess": {
      "type": "boolean",
      "readOnly": true
    },
    "statusCode": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "traceId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "GitlabBranchDto": {
      "required": [
        "canPush",
        "default",
        "developersCanMerge",
        "developersCanPush",
        "merged",
        "name",
        "protected"
      ],
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the GitLab branch."
        },
        "merged": {
          "type": "boolean",
          "description": "Indicates if the branch is merged."
        },
        "protected": {
          "type": "boolean",
          "description": "Indicates if the branch is protected."
        },
        "default": {
          "type": "boolean",
          "description": "Indicates if the branch is set as default."
        },
        "developersCanPush": {
          "type": "boolean",
          "description": "Indicates if developers can push changes to the branch."
        },
        "developersCanMerge": {
          "type": "boolean",
          "description": "Indicates if developers can merge changes into the branch."
        },
        "canPush": {
          "type": "boolean",
          "description": "Indicates if the user can push changes to the branch."
        }
      },
      "additionalProperties": false,
      "description": "Represents a GitLab branch data transfer object (DTO)."
    }
  }
}