{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tno/json-schema/tno-smart-connector-schema.json",
  "title": "SmartConnector",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tno-knowledge-engine-smart-connector-openapi.yml#/components/schemas/SmartConnector",
  "type": "object",
  "required": [
    "knowledgeBaseId",
    "knowledgeBaseName",
    "knowledgeBaseDescription"
  ],
  "properties": {
    "knowledgeBaseId": {
      "type": "string"
    },
    "knowledgeBaseName": {
      "type": "string"
    },
    "knowledgeBaseDescription": {
      "type": "string"
    },
    "leaseRenewalTime": {
      "type": "integer",
      "minimum": 30,
      "maximum": 3600,
      "description": "Include this property if you want to have your knowledge base automatically unregistered when you don't renew your lease. Expiry is checked periodically, so your knowledge base may actually be valid for longer than the given time."
    },
    "reasonerLevel": {
      "type": "integer",
      "description": "Include this optional property if you want to specify which reasoner level (1-5) this smart connector should use to infer new data and orchestrate data exchange. In general a higher reasoner level increases the flexibility and power, but decreases the performance. A lower reasoner level decreases the flexibility and power, but increases the performance. The default reasoner level is 2 and can be configured via the configuration options."
    }
  }
}