{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/algenta-ai/json-schema/algenta-ai-connector-list-response-schema.json",
  "title": "ConnectorListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/algenta-ai-data-connectors-api-openapi.yml#/components/schemas/ConnectorListResponse",
  "properties": {
    "connectors": {
      "items": {
        "$ref": "#/$defs/ConnectorResponse"
      },
      "type": "array",
      "title": "Connectors"
    },
    "total": {
      "type": "integer",
      "title": "Total"
    },
    "page": {
      "type": "integer",
      "title": "Page"
    },
    "limit": {
      "type": "integer",
      "title": "Limit"
    },
    "pages": {
      "type": "integer",
      "title": "Pages"
    }
  },
  "type": "object",
  "required": [
    "connectors",
    "total",
    "page",
    "limit",
    "pages"
  ],
  "$defs": {
    "ConnectorResponse": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        },
        "connector_type": {
          "type": "string",
          "title": "Connector Type"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "visibility": {
          "type": "string",
          "title": "Visibility"
        },
        "last_tested_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Tested At"
        },
        "error_message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error Message"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        }
      },
      "type": "object",
      "required": [
        "id",
        "name",
        "connector_type",
        "status",
        "visibility",
        "last_tested_at",
        "error_message",
        "created_at"
      ],
      "title": "ConnectorResponse"
    }
  }
}