{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commareports-com/json-schema/commareports-com-connector-create-request-schema.json",
  "title": "ConnectorCreateRequest",
  "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/ConnectorCreateRequest",
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "description": "Must be a catalog kind (see GET /connectors → definitions)."
    },
    "label": {
      "type": "string",
      "maxLength": 200
    },
    "config": {
      "type": "object",
      "description": "Fields per the kind's configSchema."
    },
    "secret": {
      "type": "object",
      "description": "Fields per the kind's secretSchema, e.g. { \"token\": \"…\" }. Encrypted at rest; never returned."
    }
  },
  "required": [
    "kind",
    "label"
  ]
}