{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/softsync-ai/json-schema/softsync-ai-integration-dto-schema.json",
  "title": "IntegrationDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/softsync-ai-integrations-api-openapi.yml#/components/schemas/IntegrationDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Integration identifier"
    },
    "type": {
      "type": "string",
      "description": "Integration type (e.g. notes, private_notes)"
    },
    "visibility": {
      "type": "string",
      "description": "Integration visibility (private or shared)"
    },
    "ownerId": {
      "type": "string",
      "description": "Owner user ID for private integrations"
    },
    "canManage": {
      "type": "boolean",
      "description": "Whether the caller connected it and may change or disconnect it; false for a mailbox a teammate shared with them"
    },
    "metadata": {
      "type": "object"
    },
    "config": {
      "type": "object"
    }
  },
  "required": [
    "id",
    "type",
    "visibility",
    "canManage"
  ]
}