{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zoho/main/json-schema/zoho-get-query-table-details-response-schema.json",
  "title": "GetQueryTableDetailsResponse",
  "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/GetQueryTableDetailsResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "properties": {
        "viewId": {
          "type": "string"
        },
        "viewName": {
          "type": "string"
        },
        "viewDesc": {
          "type": "string"
        },
        "sqlQuery": {
          "type": "string"
        },
        "workspaceId": {
          "type": "string"
        },
        "orgId": {
          "type": "string"
        },
        "createdTime": {
          "type": "string",
          "format": "date-time"
        },
        "createdBy": {
          "type": "string"
        },
        "createdByName": {
          "type": "string"
        },
        "createdByZuId": {
          "type": "string"
        },
        "lastDesignModifiedTime": {
          "type": "string",
          "format": "date-time"
        },
        "lastDesignModifiedBy": {
          "type": "string"
        },
        "lastDesignModifiedByName": {
          "type": "string"
        },
        "lastDesignModifiedByZuId": {
          "type": "string"
        },
        "involvedViews": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "viewId": {
                "type": "string"
              },
              "viewName": {
                "type": "string"
              },
              "viewType": {
                "type": "string"
              }
            }
          }
        },
        "columns": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "columnId": {
                "type": "string"
              },
              "columnName": {
                "type": "string"
              },
              "dataType": {
                "type": "string"
              },
              "dataTypeId": {
                "type": "integer"
              },
              "dataTypeName": {
                "type": "string"
              },
              "columnIndex": {
                "type": "integer"
              },
              "columnDesc": {
                "type": "string"
              },
              "columnMaxSize": {
                "type": "integer"
              },
              "isNullable": {
                "type": "boolean"
              },
              "defaultValue": {
                "type": "string"
              },
              "pkTableName": {
                "type": "string"
              },
              "pkColumnName": {
                "type": "string"
              },
              "formulaDisplayName": {
                "type": "string"
              },
              "currencyFormat": {
                "type": "string"
              },
              "thousandSeparator": {
                "type": "string"
              },
              "decimalSeparator": {
                "type": "string"
              },
              "decimalPlaces": {
                "type": "integer"
              },
              "dateFormat": {
                "type": "string"
              },
              "isHidden": {
                "type": "boolean"
              },
              "sortedOrder": {
                "type": "integer"
              },
              "sortedIndex": {
                "type": "integer"
              }
            }
          }
        }
      }
    }
  }
}