导出现有项目

获取 / 项目/{projectId}/export

导出现有项目

路径参数

  • projectId 字符串 必需

    项目 ID

    格式应符合以下模式:^[A-Za-z0-9\-]+$

响应

  • 200 application/json

    正常

    隐藏响应属性 显示响应属性 对象
    • 版本 字符串 必需
    • 项目 对象

      不允许使用其他属性。

      隐藏项目属性 显示项目属性 对象
      • 名称 字符串 必需

        最小长度为 1,最大长度为 50

      • 类型 字符串 必需

        数据库类型或自定义数据库类型。示例,MYSQLORACLEPOSTGRESQLSQL_SERVERCOCKROACHDBDB2SQLANYWHERESYBASESYBASEIQYUGABYTE

      • 最近修改 string(date-time)
      • codeId 字符串

        格式应符合以下模式:^[A-Za-z0-9\-]+$

      • schemasId 字符串 必需

        格式应符合以下模式:^[A-Za-z0-9\-]+$

      • jdbcId 字符串

        格式应符合以下模式:^[A-Za-z0-9\-]+$

      • mongodbId 字符串

        格式应符合以下模式:^[A-Za-z0-9\-]+$

      • 内容 对象 必需
        隐藏内容属性 显示内容属性 对象
        • 设置 对象 必需

          不允许使用其他属性。

          隐藏设置属性 显示设置属性 对象
          • viewMode 字符串

            取值为 HORIZONTALVERTICALRELATIONALMONGODB

          • shouldRecommendSchema 布尔
          • 大小写 字符串

            取值为 CAMEL_CASETITLE_CASEKEBAB_CASESNAKE_CASEUPPER_SNAKE_CASE

          • codegen 对象
            隐藏 codegen 属性 显示 codegen 属性 对象
            • 语言 字符串

              取值为 JAVACSHARPJAVASCRIPTJSONPYTHON

            • 框架 字符串

              取值为 POJOPOCOSPRING_DATAPERSISTENCE_LAYERMONGOOSE_SCHEMASNODEMONGODB_JSON_SCHEMASTANDARD_JSON_SCHEMAJSON_EXAMPLE_SCHEMAPYTHON_TYPED_DICT_CLASSES

            • withSupportingFiles 布尔
            • exclusiveCollections array[string]
          • keyHandling 字符串 必需

            值为 WRAPPEDSINGLEGENERATED

        • collections 对象 必需
          隐藏集合属性 显示集合属性 对象
          • * 对象 additionalProperties

            不允许使用其他属性。

            隐藏 * 属性 显示 * 属性 对象
            • 名称 字符串 必需
            • 类型 字符串

              值为 REGULARTIME_SERIES。默认值为 REGULAR

            • 时间序列选项 对象
              隐藏 timeSeriesOptions 属性 显示 timeSeriesOptions 属性 对象
              • timeField 字符串 必需
              • metaField 字符串
              • expireAfterSeconds 数字
              • 粒度 字符串 必需

                值为 SECONDSMINUTESHOURS

        • mappings 对象 必需
          隐藏映射属性 显示映射属性 对象
          • * 对象 additionalProperties

            不允许使用其他属性。

            隐藏 * 属性 显示 * 属性 对象
            • 设置 对象 必需

              不允许使用其他属性。

              隐藏设置属性 显示设置属性 对象
              • 类型 字符串 必需

                值为 NEW_DOCUMENTEMBEDDED_DOCUMENTEMBEDDED_DOCUMENT_ARRAY

              • 注意事项 字符串
              • embeddedPath 字符串
              • 原始 布尔
              • arrayConditions 对象

                不允许使用其他属性。

                隐藏 arrayConditions 属性 显示 arrayConditions 属性 对象
                • sortBy 字符串 必需
                • 来自一个购物车应用的order文档, 字符串 必需

                  值为 ASCDESC

                • limit integer(int32)
              • foreignKeyName 字符串
              • ruleFilter 字符串
            • 字段 对象 必需
              隐藏字段属性 显示字段属性 对象
              • * 对象 additionalProperties
                隐藏 * 属性 显示 * 属性 对象
                • 目标 对象 必需

                  不允许使用其他属性。

                  隐藏目标属性 显示目标属性 对象
                  • 名称 字符串 必需
                  • 包含 布尔 必需
                  • isNullExcluded 布尔

                    默认值为false

                  • 类型 字符串 必需

                    值为 AUTOSTRINGINTEGERBOOLDOUBLELONGDECIMALARRAYDATETIMESTAMPOBJECTOBJECT_IDBIN_DATAMIN_KEYMAX_KEYJAVASCRIPTREGEXNULL

                • 来源 对象 必需

                  不允许使用其他属性。

                  隐藏源属性 显示源属性 对象
                  • 名称 字符串 必需
                  • databaseSpecificType 字符串 必需
                  • isPrimaryKey 布尔

                    默认值为false

            • ComputedFields 对象 必需
              隐藏计算字段属性 显示计算字段属性 对象
              • * 对象 additionalProperties

                不允许使用其他属性。

                隐藏 * 属性 显示 * 属性 对象
                • 名称 字符串 必需
                • isNullExcluded 布尔

                  默认值为false

                • 类型 字符串

                  值为 AUTOSTRINGINTEGERBOOLDOUBLELONGDECIMALARRAYDATETIMESTAMPOBJECTOBJECT_IDBIN_DATAMIN_KEYMAX_KEYJAVASCRIPTREGEXNULL

                • 表达式(expression) 字符串 必需
            • collectionId 字符串 必需
            • 数据表(table) 字符串 必需
        • 关系 对象 必需

          不允许使用其他属性。

          隐藏关系属性 显示关系属性 对象
          • tables 对象 必需
            隐藏表属性 显示表属性 对象
            • * 对象 additionalProperties

              不允许使用其他属性。

              隐藏 * 属性 显示 * 属性 对象
              • mappings array[string] 必需

                每个的格式应符合以下模式:^[A-Za-z0-9\-]+$

          • collections 对象 必需
            隐藏集合属性 显示集合属性 对象
            • * 对象 additionalProperties

              不允许使用其他属性。

              隐藏 * 属性 显示 * 属性 对象
              • mappings array[string] 必需

                每个的格式应符合以下模式:^[A-Za-z0-9\-]+$

          • mappings 对象 必需
            隐藏映射属性 显示映射属性 对象
            • * 对象 additionalProperties

              不允许使用其他属性。

              隐藏 * 属性 显示 * 属性 对象
              • 子项 array[string] 必需

                每个的格式应符合以下模式:^[A-Za-z0-9\-]+$

        • 图表 对象 必需

          不允许使用其他属性。

          隐藏图表属性 显示图表属性 对象
          • ActiveTab 字符串 必需
          • tabs 大量[对象] 必需
            隐藏标签页属性 显示标签页属性 对象
            • id 字符串 必需
            • 名称 字符串 必需
            • 注意事项 字符串
            • 关系 对象 必需
              隐藏关系属性 显示关系属性 对象
              • 节点 大量[对象] 必需
                隐藏节点属性 显示节点属性 对象
                • id 字符串 必需
                • 类型 字符串 必需
                • Position 对象 必需
                  隐藏位置属性 显示职位属性 对象
                  • X 数字 必需
                  • y 数字 必需
                • 宽度 数字
                • 高度 数字
                • 隐藏 布尔 必需
              • 边缘 大量[对象] 必需
                隐藏边属性 显示边属性 对象
                • id 字符串 必需
                • 来源 字符串 必需
                • 目标 字符串 必需
                • markerStart 字符串

                  值为 START_ONESTART_ONE_OR_MANY

                • markerEnd 字符串

                  值为 END_ONEEND_MANYEND_ONE_OR_MANY

            • 集合 对象 必需
              隐藏集合属性 显示集合属性 对象
              • 节点 大量[对象] 必需
                隐藏节点属性 显示节点属性 对象
                • id 字符串 必需
                • 类型 字符串 必需
                • Position 对象 必需
                  隐藏位置属性 显示职位属性 对象
                  • X 数字 必需
                  • y 数字 必需
                • 宽度 数字
                • 高度 数字
                • 隐藏 布尔 必需
              • 边缘 大量[对象] 必需
                隐藏边属性 显示边属性 对象
                • id 字符串 必需
                • 来源 字符串 必需
                • 目标 字符串 必需
                • markerStart 字符串

                  值为 START_ONESTART_ONE_OR_MANY

                • markerEnd 字符串

                  值为 END_ONEEND_MANYEND_ONE_OR_MANY

        • tables 对象 必需
          隐藏表属性 显示表属性 对象
          • * 对象 additionalProperties

            不允许使用其他属性。

            隐藏 * 属性 显示 * 属性 对象
            • 路径 对象 必需

              不允许使用其他属性。

              隐藏路径属性 显示路径属性 对象
              • database 字符串 必需
              • 模式 字符串 必需
              • 数据表(table) 字符串 必需
      • connectionDetails 对象
        隐藏 connectionDetails 属性 显示 connectionDetails 属性 对象
        • ddl 对象

          不允许使用其他属性。

          隐藏 ddl 属性 显示 ddl 属性 对象
          • 类型 字符串 必需

            数据库类型或自定义数据库类型。示例,MYSQLORACLEPOSTGRESQLSQL_SERVERCOCKROACHDBDB2SQLANYWHERESYBASESYBASEIQYUGABYTE

      • isSampleProject 布尔
      • id 字符串 必需

        格式应符合以下模式:^[A-Za-z0-9\-]+$

    • 模式 对象 必需

      不允许使用其他属性。

      隐藏模式属性 显示模式属性 对象
      • id 字符串
      • full 对象 必需

        不允许使用其他属性。

        隐藏完整属性 显示完整属性 对象
        • databases 对象 必需
          隐藏数据库属性 显示数据库属性 对象
          • * 对象 additionalProperties

            不允许使用其他属性。

            隐藏 * 属性 显示 * 属性 对象
            • schemas 对象 必需
              隐藏模式属性 显示模式属性 对象
              • * 对象 additionalProperties

                不允许使用其他属性。

                隐藏 * 属性 显示 * 属性 对象
                • tables 对象 必需
                  隐藏表属性 显示表属性 对象
                  • * 对象 additionalProperties

                    不允许使用其他属性。

                    隐藏 * 属性 显示 * 属性 对象
                    • 类型 字符串 必需

                      值为 TABLEVIEW

                    • size integer(int64)
                    • 对象 必需
                      隐藏列属性 显示列属性 对象
                      • * 对象 additionalProperties

                        不允许使用其他属性。

                        隐藏 * 属性 显示 * 属性 对象
                        • 类型 对象 必需

                          不允许使用其他属性。

                          隐藏类型属性 显示类型属性 对象
                          • defaultMongoFieldType 字符串

                            值为 AUTOSTRINGINTEGERBOOLDOUBLELONGDECIMALARRAYDATETIMESTAMPOBJECTOBJECT_IDBIN_DATAMIN_KEYMAX_KEYJAVASCRIPTREGEXNULL

                          • databaseSpecificType 字符串 必需
                          • 精度 整型
                          • 扩展(Scale) 整型
                        • ordinalPosition 整型 必需

                          最小值为 1

                        • 主键 对象

                          不允许使用其他属性。

                          隐藏 PrimaryKey 属性 显示primaryKey 属性 对象
                          • 名称 字符串 必需
                        • foreignKey 对象

                          不允许使用其他属性。

                          隐藏外键属性 显示外键属性 对象
                          • 名称 字符串 必需
                          • 模式 字符串
                          • 数据表(table) 字符串
                          • 字符串
                          • 关联基数 字符串

                            取值为 UNKNOWNZERO_TO_ONEONE_TO_ONEZERO_TO_MANY

                          • 合成的 布尔
                        • 可空 布尔 必需
                        • autoIncremented 布尔 必需
                        • 生成 布尔 必需
                        • 隐藏 布尔 必需
                        • 已索引 布尔 必需
                        • uniqueIndexed 布尔 必需
                    • uniqueIndexes 对象
                      Hide uniqueIndexes attribute 显示 uniqueIndexes 属性 对象
                      • * array[string] additionalProperties
                    • nonUniqueIndexes 对象
                      Hide nonUniqueIndexes attribute 显示 nonUniqueIndexes 属性 对象
                      • * array[string] additionalProperties
                    • 筛选器 对象 additionalProperties

                      不允许使用其他属性。

                      隐藏过滤属性 显示过滤属性 对象
                      • whereClause 字符串

                        用于过滤指定源表的行的SQL WHERE 子句的内容。

                      • 行计数 integer(int64)

                        从源表返回的行数限制(可选)。

                • 查看次数 对象
                  隐藏视图属性 显示视图属性 对象
                  • * 对象 additionalProperties

                    不允许使用其他属性。

                    隐藏 * 属性 显示 * 属性 对象
                    • 包含 布尔 必需
                    • 名称 字符串 必需
                    • 定义 字符串 必需
                • 例程 对象
                  隐藏例程属性 显示例程属性 对象
                  • * 对象 additionalProperties

                    不允许使用其他属性。

                    隐藏 * 属性 显示 * 属性 对象
                    • 包含 布尔 必需
                    • 名称 字符串 必需
                    • 定义 字符串 必需
                • 触发器 对象
                  隐藏触发器属性 显示触发器属性 对象
                  • * 对象 additionalProperties

                    不允许使用其他属性。

                    隐藏 * 属性 显示 * 属性 对象
                    • 包含 布尔 必需
                    • 名称 字符串 必需
                    • 定义 字符串 必需
                • 安装包 对象
                  隐藏包属性 显示包属性 对象
                  • * 对象 additionalProperties

                    不允许使用其他属性。

                    隐藏 * 属性 显示 * 属性 对象
                    • 包含 布尔 必需
                    • 名称 字符串 必需
                    • 定义 字符串 必需
        • metadata 对象
          Hide metadata attributes 显示元数据属性 对象
          • databaseType 字符串

            数据库类型或自定义数据库类型。示例,MYSQLORACLEPOSTGRESQLSQL_SERVERCOCKROACHDBDB2SQLANYWHERESYBASESYBASEIQYUGABYTE

          • databaseVersion 字符串
      • 导入 对象 必需
        隐藏导入的属性 显示导入的属性 对象
        • * 对象 additionalProperties
          隐藏 * 属性 显示 * 属性 对象
          • * 对象 additionalProperties
            隐藏 * 属性 显示 * 属性 对象
            • * 对象 additionalProperties
      • 所有 对象
        隐藏所有属性 显示所有属性 对象
        • * 对象 additionalProperties
          隐藏 * 属性 显示 * 属性 对象
          • * 对象 additionalProperties
            隐藏 * 属性 显示 * 属性 对象
            • * 对象 additionalProperties
    • 查询 大量[对象]
      隐藏查询属性 显示查询属性 对象
      • id 字符串 必需
      • projectId 字符串 必需
      • 输入 对象 必需

        不允许使用其他属性。

        隐藏输入属性 显示输入属性 对象
        • database 字符串
        • 模式 字符串
        • 名称 字符串 必需
        • 查询 字符串 必需
        • createdAt string(date-time)
        • runScriptTemplate 字符串
        • queryType 字符串 必需

          取值为 STORED_PROCEDURETRIGGERVIEWUSER_QUERYPACKAGE

      • 输出 对象 必需

        不允许使用其他属性。

        隐藏输出属性 显示输出属性 对象
        • 查询 字符串 必需
        • 状态 字符串 必需

          取值为 NOT_STARTEDRUNNINGFAILEDCOMPLETEDPENDING

        • lastModifiedAt string(date-time)
        • 语言 字符串

          值为 JAVACSHARPJAVASCRIPT

        • expiredTypedEntities 布尔
        • usedTypedEntities 布尔

          默认值为false

        • 错误消息 字符串
        • 修改 布尔
        • runScriptTemplate 字符串
        • functionName 字符串
GET /项目/{projectId}/export
curl \
 --request GET 'http://127.0.0.1:8278/api/v1/project/{projectId}/export'
响应示例 (200)
{
  "version": "string",
  "project": {
    "name": "string",
    "type": "ORACLE",
    "lastModified": "2025-05-04T09:42:00Z",
    "codeId": "string",
    "schemasId": "string",
    "jdbcId": "string",
    "mongodbId": "string",
    "content": {
      "settings": {
        "viewMode": "HORIZONTAL",
        "shouldRecommendSchema": true,
        "casing": "CAMEL_CASE",
        "codegen": {
          "language": "JAVA",
          "framework": "POJO",
          "withSupportingFiles": true,
          "excludedCollections": [
            "string"
          ]
        },
        "keyHandling": "WRAPPED"
      },
      "collections": {
        "additionalProperty1": {
          "name": "string",
          "type": "REGULAR",
          "timeSeriesOptions": {
            "timeField": "string",
            "metaField": "string",
            "expireAfterSeconds": 42.0,
            "granularity": "SECONDS"
          }
        },
        "additionalProperty2": {
          "name": "string",
          "type": "REGULAR",
          "timeSeriesOptions": {
            "timeField": "string",
            "metaField": "string",
            "expireAfterSeconds": 42.0,
            "granularity": "SECONDS"
          }
        }
      },
      "mappings": {
        "additionalProperty1": {
          "settings": {
            "type": "NEW_DOCUMENT",
            "notes": "string",
            "embeddedPath": "string",
            "primitive": true,
            "arrayConditions": {
              "sortBy": "string",
              "order": "ASC",
              "limit": 42
            },
            "foreignKeyName": "string",
            "ruleFilter": "string"
          },
          "fields": {
            "additionalProperty1": {
              "target": {
                "name": "string",
                "included": true,
                "isNullExcluded": false,
                "type": "AUTO"
              },
              "source": {
                "name": "string",
                "databaseSpecificType": "string",
                "isPrimaryKey": false
              }
            },
            "additionalProperty2": {
              "target": {
                "name": "string",
                "included": true,
                "isNullExcluded": false,
                "type": "AUTO"
              },
              "source": {
                "name": "string",
                "databaseSpecificType": "string",
                "isPrimaryKey": false
              }
            }
          },
          "calculatedFields": {
            "additionalProperty1": {
              "name": "string",
              "isNullExcluded": false,
              "type": "AUTO",
              "expression": "string"
            },
            "additionalProperty2": {
              "name": "string",
              "isNullExcluded": false,
              "type": "AUTO",
              "expression": "string"
            }
          },
          "collectionId": "string",
          "table": "string"
        },
        "additionalProperty2": {
          "settings": {
            "type": "NEW_DOCUMENT",
            "notes": "string",
            "embeddedPath": "string",
            "primitive": true,
            "arrayConditions": {
              "sortBy": "string",
              "order": "ASC",
              "limit": 42
            },
            "foreignKeyName": "string",
            "ruleFilter": "string"
          },
          "fields": {
            "additionalProperty1": {
              "target": {
                "name": "string",
                "included": true,
                "isNullExcluded": false,
                "type": "AUTO"
              },
              "source": {
                "name": "string",
                "databaseSpecificType": "string",
                "isPrimaryKey": false
              }
            },
            "additionalProperty2": {
              "target": {
                "name": "string",
                "included": true,
                "isNullExcluded": false,
                "type": "AUTO"
              },
              "source": {
                "name": "string",
                "databaseSpecificType": "string",
                "isPrimaryKey": false
              }
            }
          },
          "calculatedFields": {
            "additionalProperty1": {
              "name": "string",
              "isNullExcluded": false,
              "type": "AUTO",
              "expression": "string"
            },
            "additionalProperty2": {
              "name": "string",
              "isNullExcluded": false,
              "type": "AUTO",
              "expression": "string"
            }
          },
          "collectionId": "string",
          "table": "string"
        }
      },
      "relationships": {
        "tables": {
          "additionalProperty1": {
            "mappings": [
              "string"
            ]
          },
          "additionalProperty2": {
            "mappings": [
              "string"
            ]
          }
        },
        "collections": {
          "additionalProperty1": {
            "mappings": [
              "string"
            ]
          },
          "additionalProperty2": {
            "mappings": [
              "string"
            ]
          }
        },
        "mappings": {
          "additionalProperty1": {
            "children": [
              "string"
            ]
          },
          "additionalProperty2": {
            "children": [
              "string"
            ]
          }
        }
      },
      "diagrams": {
        "activeTab": "string",
        "tabs": [
          {
            "id": "string",
            "name": "string",
            "notes": "string",
            "relational": {
              "nodes": [
                {
                  "id": "string",
                  "type": "string",
                  "position": {
                    "x": 42.0,
                    "y": 42.0
                  },
                  "width": 42.0,
                  "height": 42.0,
                  "hidden": true
                }
              ],
              "edges": [
                {
                  "id": "string",
                  "source": "string",
                  "target": "string",
                  "markerStart": "START_ONE",
                  "markerEnd": "END_ONE"
                }
              ]
            },
            "collection": {
              "nodes": [
                {
                  "id": "string",
                  "type": "string",
                  "position": {
                    "x": 42.0,
                    "y": 42.0
                  },
                  "width": 42.0,
                  "height": 42.0,
                  "hidden": true
                }
              ],
              "edges": [
                {
                  "id": "string",
                  "source": "string",
                  "target": "string",
                  "markerStart": "START_ONE",
                  "markerEnd": "END_ONE"
                }
              ]
            }
          }
        ]
      },
      "tables": {
        "additionalProperty1": {
          "path": {
            "database": "string",
            "schema": "string",
            "table": "string"
          }
        },
        "additionalProperty2": {
          "path": {
            "database": "string",
            "schema": "string",
            "table": "string"
          }
        }
      }
    },
    "connectionDetails": {
      "ddl": {
        "type": "ORACLE"
      }
    },
    "isSampleProject": true,
    "id": "string"
  },
  "schema": {
    "id": "string",
    "full": {
      "databases": {
        "additionalProperty1": {
          "schemas": {
            "additionalProperty1": {
              "tables": {
                "additionalProperty1": {
                  "type": "TABLE",
                  "size": 42,
                  "columns": {
                    "additionalProperty1": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    },
                    "additionalProperty2": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    }
                  },
                  "uniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "nonUniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "additionalProperty1": {
                    "whereClause": "string",
                    "rowCount": 42
                  },
                  "additionalProperty2": {
                    "whereClause": "string",
                    "rowCount": 42
                  }
                },
                "additionalProperty2": {
                  "type": "TABLE",
                  "size": 42,
                  "columns": {
                    "additionalProperty1": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    },
                    "additionalProperty2": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    }
                  },
                  "uniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "nonUniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "additionalProperty1": {
                    "whereClause": "string",
                    "rowCount": 42
                  },
                  "additionalProperty2": {
                    "whereClause": "string",
                    "rowCount": 42
                  }
                }
              },
              "views": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              },
              "routines": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              },
              "triggers": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              },
              "packages": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              }
            },
            "additionalProperty2": {
              "tables": {
                "additionalProperty1": {
                  "type": "TABLE",
                  "size": 42,
                  "columns": {
                    "additionalProperty1": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    },
                    "additionalProperty2": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    }
                  },
                  "uniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "nonUniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "additionalProperty1": {
                    "whereClause": "string",
                    "rowCount": 42
                  },
                  "additionalProperty2": {
                    "whereClause": "string",
                    "rowCount": 42
                  }
                },
                "additionalProperty2": {
                  "type": "TABLE",
                  "size": 42,
                  "columns": {
                    "additionalProperty1": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    },
                    "additionalProperty2": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    }
                  },
                  "uniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "nonUniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "additionalProperty1": {
                    "whereClause": "string",
                    "rowCount": 42
                  },
                  "additionalProperty2": {
                    "whereClause": "string",
                    "rowCount": 42
                  }
                }
              },
              "views": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              },
              "routines": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              },
              "triggers": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              },
              "packages": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              }
            }
          }
        },
        "additionalProperty2": {
          "schemas": {
            "additionalProperty1": {
              "tables": {
                "additionalProperty1": {
                  "type": "TABLE",
                  "size": 42,
                  "columns": {
                    "additionalProperty1": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    },
                    "additionalProperty2": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    }
                  },
                  "uniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "nonUniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "additionalProperty1": {
                    "whereClause": "string",
                    "rowCount": 42
                  },
                  "additionalProperty2": {
                    "whereClause": "string",
                    "rowCount": 42
                  }
                },
                "additionalProperty2": {
                  "type": "TABLE",
                  "size": 42,
                  "columns": {
                    "additionalProperty1": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    },
                    "additionalProperty2": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    }
                  },
                  "uniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "nonUniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "additionalProperty1": {
                    "whereClause": "string",
                    "rowCount": 42
                  },
                  "additionalProperty2": {
                    "whereClause": "string",
                    "rowCount": 42
                  }
                }
              },
              "views": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              },
              "routines": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              },
              "triggers": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              },
              "packages": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              }
            },
            "additionalProperty2": {
              "tables": {
                "additionalProperty1": {
                  "type": "TABLE",
                  "size": 42,
                  "columns": {
                    "additionalProperty1": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    },
                    "additionalProperty2": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    }
                  },
                  "uniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "nonUniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "additionalProperty1": {
                    "whereClause": "string",
                    "rowCount": 42
                  },
                  "additionalProperty2": {
                    "whereClause": "string",
                    "rowCount": 42
                  }
                },
                "additionalProperty2": {
                  "type": "TABLE",
                  "size": 42,
                  "columns": {
                    "additionalProperty1": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    },
                    "additionalProperty2": {
                      "type": {
                        "defaultMongoFieldType": "AUTO",
                        "databaseSpecificType": "string",
                        "precision": 42,
                        "scale": 42
                      },
                      "ordinalPosition": 42,
                      "primaryKey": {
                        "name": "string"
                      },
                      "foreignKey": {
                        "name": "string",
                        "schema": "string",
                        "table": "string",
                        "column": "string",
                        "cardinality": "UNKNOWN",
                        "synthetic": true
                      },
                      "nullable": true,
                      "autoIncremented": true,
                      "generated": true,
                      "hidden": true,
                      "indexed": true,
                      "uniqueIndexed": true
                    }
                  },
                  "uniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "nonUniqueIndexes": {
                    "additionalProperty1": [
                      "string"
                    ],
                    "additionalProperty2": [
                      "string"
                    ]
                  },
                  "additionalProperty1": {
                    "whereClause": "string",
                    "rowCount": 42
                  },
                  "additionalProperty2": {
                    "whereClause": "string",
                    "rowCount": 42
                  }
                }
              },
              "views": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              },
              "routines": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              },
              "triggers": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              },
              "packages": {
                "additionalProperty1": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                },
                "additionalProperty2": {
                  "included": true,
                  "name": "string",
                  "definition": "string"
                }
              }
            }
          }
        }
      },
      "metadata": {
        "databaseType": "ORACLE",
        "databaseVersion": "string"
      }
    },
    "imported": {
      "additionalProperty1": {
        "additionalProperty1": {
          "additionalProperty1": {},
          "additionalProperty2": {}
        },
        "additionalProperty2": {
          "additionalProperty1": {},
          "additionalProperty2": {}
        }
      },
      "additionalProperty2": {
        "additionalProperty1": {
          "additionalProperty1": {},
          "additionalProperty2": {}
        },
        "additionalProperty2": {
          "additionalProperty1": {},
          "additionalProperty2": {}
        }
      }
    },
    "all": {
      "additionalProperty1": {
        "additionalProperty1": {
          "additionalProperty1": {},
          "additionalProperty2": {}
        },
        "additionalProperty2": {
          "additionalProperty1": {},
          "additionalProperty2": {}
        }
      },
      "additionalProperty2": {
        "additionalProperty1": {
          "additionalProperty1": {},
          "additionalProperty2": {}
        },
        "additionalProperty2": {
          "additionalProperty1": {},
          "additionalProperty2": {}
        }
      }
    }
  },
  "queries": [
    {
      "id": "string",
      "projectId": "string",
      "input": {
        "database": "string",
        "schema": "string",
        "name": "string",
        "query": "string",
        "createdAt": "2025-05-04T09:42:00Z",
        "runScriptTemplate": "string",
        "queryType": "STORED_PROCEDURE"
      },
      "output": {
        "query": "string",
        "status": "NOT_STARTED",
        "lastModifiedAt": "2025-05-04T09:42:00Z",
        "language": "JAVA",
        "attemptedTypedEntities": true,
        "usedTypedEntities": false,
        "errorMessage": "string",
        "modified": true,
        "runScriptTemplate": "string",
        "functionName": "string"
      }
    }
  ]
}