{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zoho/main/json-schema/zoho-get-datasources-response-schema.json",
  "title": "GetDatasourcesResponse",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zoho-metadata-apis-api-openapi.yml#/components/schemas/GetDatasourcesResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "properties": {
        "dataSources": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "datasourceName": {
                "type": "string"
              },
              "datasourceId": {
                "type": "string"
              },
              "source": {
                "type": "string"
              },
              "fileType": {
                "type": "string"
              },
              "lastDataSyncStatus": {
                "type": "string"
              },
              "lastDataSyncTime": {
                "type": "string"
              },
              "schedule": {
                "type": "string"
              },
              "nextScheduleTime": {
                "type": "string"
              },
              "syncUsed": {
                "type": "string"
              },
              "totalSyncAllowed": {
                "type": "string"
              },
              "syncIntervalId": {
                "type": "string"
              },
              "syncIntervals": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "syncIntervalId": {
                      "type": "string"
                    },
                    "lastDataSyncStatus": {
                      "type": "string"
                    },
                    "lastDataSyncTime": {
                      "type": "string"
                    },
                    "schedule": {
                      "type": "string"
                    },
                    "nextScheduleTime": {
                      "type": "string"
                    },
                    "syncUsed": {
                      "type": "string"
                    },
                    "tableDetails": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "viewName": {
                            "type": "string"
                          },
                          "viewId": {
                            "type": "string"
                          },
                          "sourceName": {
                            "type": "string"
                          },
                          "lastSyncTime": {
                            "type": "string"
                          },
                          "syncStatus": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "tableDetails": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "viewName": {
                      "type": "string"
                    },
                    "viewId": {
                      "type": "string"
                    },
                    "sourceName": {
                      "type": "string"
                    },
                    "lastSyncTime": {
                      "type": "string"
                    },
                    "syncStatus": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}