Files
kamidso-back/kamidso/native_connectors/providers/didar/calibration_schema.json
T
javadandCursor edbaa2acec Add native Didar connectors so chats can query CRM data reliably.
Connector calls, semantic rules, and DuckDB memory keep long runs stable, and stream retry stops chats from stalling.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 19:26:47 +03:30

94 lines
2.0 KiB
JSON

{
"schema_version": "1.0",
"provider": "didar",
"storage_target": "connector_instance.config_json.semantic_calibration",
"schema": {
"type": "object",
"properties": {
"timezone": {
"type": "string",
"default": "Asia/Tehran"
},
"calendar": {
"type": "string",
"enum": [
"jalali",
"gregorian"
],
"default": "jalali"
},
"base_currency_id": {
"type": [
"integer",
"string",
"null"
]
},
"base_currency_code": {
"type": [
"string",
"null"
]
},
"base_currency_name": {
"type": [
"string",
"null"
]
},
"display_unit": {
"type": [
"string",
"null"
]
},
"currency_map": {
"type": "object"
},
"verified_reports": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"verified": {
"type": "boolean"
},
"verified_at": {
"type": [
"string",
"null"
]
},
"panel_sample_id": {
"type": [
"string",
"null"
]
},
"notes": {
"type": [
"string",
"null"
]
}
},
"required": [
"verified"
]
}
}
},
"additionalProperties": false
},
"default": {
"timezone": "Asia/Tehran",
"calendar": "jalali",
"base_currency_id": null,
"base_currency_code": null,
"base_currency_name": null,
"display_unit": null,
"currency_map": {},
"verified_reports": {}
},
"rule": "Calibration is connection-specific. Do not put account-specific currency mappings or verification flags in the global provider files."
}