{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Create Integration",
  "description": "Create and activate an integration for your organization. The config and auth payloads must conform to the integration type's configSchema and authSchema respectively.",
  "type": "object",
  "required": ["config", "auth"],
  "properties": {
    "config": {
      "type": "object",
      "x-gql-type": "map",
      "title": "Configuration",
      "description": "Integration-specific configuration. Must conform to the integration type's configSchema."
    },
    "auth": {
      "type": "object",
      "x-gql-type": "map",
      "title": "Authentication",
      "description": "Authentication credentials. Must conform to the integration type's authSchema. Write-only — not returned in queries."
    }
  }
}
