{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commareports-com/json-schema/commareports-com-connector-schema.json",
  "title": "Connector",
  "description": "Secret material is never included in any response.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/commareports-com-connectors-api-openapi.yml#/components/schemas/Connector",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "kind": {
      "type": "string",
      "description": "One of the catalog kinds, e.g. posthog, databricks, supabase, gdrive, stripe, slack."
    },
    "label": {
      "type": "string"
    },
    "config": {
      "type": "object",
      "description": "Non-secret configuration (hosts, urls, labels)."
    },
    "last_verified_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "last_verified_status": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "ok",
        "failed",
        null
      ]
    },
    "last_verified_error": {
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "kind",
    "label",
    "created_at",
    "updated_at"
  ]
}