{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/revyl/json-schema/revyl-gitlab-connection-summary-schema.json",
  "title": "GitlabConnectionSummary",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revyl-integrations-gitlab-api-openapi.yml#/components/schemas/GitlabConnectionSummary",
  "properties": {
    "configured": {
      "title": "Configured",
      "type": "boolean"
    },
    "connected": {
      "title": "Connected",
      "type": "boolean"
    },
    "connected_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "When this organization first created its GitLab connection.",
      "title": "Connected At"
    },
    "connected_by": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Connected By"
    },
    "enabled": {
      "default": false,
      "title": "Enabled",
      "type": "boolean"
    },
    "instance_url": {
      "default": "https://gitlab.com",
      "title": "Instance Url",
      "type": "string"
    },
    "needs_reconnect": {
      "default": false,
      "title": "Needs Reconnect",
      "type": "boolean"
    },
    "token_expires_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Token Expires At"
    },
    "username": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Username"
    }
  },
  "required": [
    "configured",
    "connected"
  ],
  "type": "object"
}