{
  "openapi" : "3.1.0",
  "info" : {
    "title" : "API",
    "description" : "Uploading and managing various types of business documents are crucial for conducting insurance business operations. Through our Document Management System (DMS) API, users can effortlessly upload and retrieve documents. Because each document can associate the documents with specific business entities, it is mostly suitable for business document management while it's recommended to use CloudDiskSdk to manage technical files.",
    "version" : "1.0/platform-pub",
    "x-mo-original-description" : "API Documentation",
    "x-mo-overwrite-description" : "Uploading and managing various types of business documents are crucial for conducting insurance business operations. Through our Document Management System (DMS) API, users can effortlessly upload and retrieve documents. Because each document can associate the documents with specific business entities, it is mostly suitable for business document management while it's recommended to use CloudDiskSdk to manage technical files."
  },
  "servers" : [ {
    "url" : "http://platform-pub.platform"
  } ],
  "paths" : {
    "/dms/v1/copyFile" : {
      "post" : {
        "tags" : [ "Document" ],
        "summary" : "Copy File",
        "description" : "Copy File",
        "operationId" : "copyFile",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "type" : "array",
                "items" : {
                  "$ref" : "#/components/schemas/CopyFileDto"
                }
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/DmsDocument"
                  }
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        }
      }
    },
    "/dms/v1/deleteDocument" : {
      "post" : {
        "tags" : [ "Document" ],
        "summary" : "Delete document",
        "description" : "Delete Document By Doc Id",
        "operationId" : "deleteDocument",
        "parameters" : [ {
          "name" : "dmsDocId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        },
        "x-mo-original-summary" : "Delete Document",
        "x-mo-overwrite-summary" : "Delete document"
      }
    },
    "/dms/v1/downloadDocument" : {
      "post" : {
        "tags" : [ "Document" ],
        "summary" : "Download document",
        "description" : "Download Document By Doc Id",
        "operationId" : "downloadDocument",
        "parameters" : [ {
          "name" : "dmsDocId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "customApp",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/octet-stream" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        },
        "x-mo-original-summary" : "Download Document",
        "x-mo-overwrite-summary" : "Download document"
      }
    },
    "/dms/v1/downloadHistoryDocument" : {
      "post" : {
        "tags" : [ "Document" ],
        "summary" : "Download history document by version information",
        "description" : "Download HistoryDocument By Version",
        "operationId" : "downloadHistoryDocument",
        "parameters" : [ {
          "name" : "dmsDocId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "customApp",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "versionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/octet-stream" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        },
        "x-mo-original-summary" : "Download History Document",
        "x-mo-overwrite-summary" : "Download history document by version information"
      }
    },
    "/dms/v1/downloadImageThumbnail" : {
      "post" : {
        "tags" : [ "Document" ],
        "summary" : "Download  the thumbnail for document and support only image files",
        "description" : "Download Image Thumbnail By DocId",
        "operationId" : "downloadImageThumbnail",
        "parameters" : [ {
          "name" : "customApp",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "dmsDocId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/octet-stream" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        },
        "x-mo-original-summary" : "Download Image Thumbnail",
        "x-mo-overwrite-summary" : "Download  the thumbnail for document and support only image files"
      }
    },
    "/dms/v1/downloadSharedDocument" : {
      "get" : {
        "tags" : [ "Document" ],
        "summary" : "Download Shared Document",
        "description" : "Download Shared Document By Token",
        "operationId" : "downloadSharedDocument",
        "parameters" : [ {
          "name" : "token",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/octet-stream" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.04"
        }
      }
    },
    "/dms/v1/getDocumentHistory" : {
      "get" : {
        "tags" : [ "Document" ],
        "summary" : "Qurey version information of the document",
        "description" : "Get Document History By DocId ",
        "operationId" : "getDocumentHistory",
        "parameters" : [ {
          "name" : "customApp",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "dmsDocId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "$ref" : "#/components/schemas/DmsDocument"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        },
        "x-mo-original-summary" : "Get Document History",
        "x-mo-overwrite-summary" : "Qurey version information of the document"
      }
    },
    "/dms/v1/getDocumentList" : {
      "get" : {
        "tags" : [ "Document" ],
        "summary" : "Get document list by condition",
        "description" : "Get Document List By Entity Condition",
        "operationId" : "getDocumentList",
        "parameters" : [ {
          "name" : "entityType",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "dmsEntityId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "businessCategory",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "includeDeletedDocument",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "boolean"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/DmsDocument"
                  }
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        },
        "x-mo-original-summary" : "Get Document List",
        "x-mo-overwrite-summary" : "Get document list by condition"
      }
    },
    "/dms/v1/getDocumentListByDocIds" : {
      "post" : {
        "tags" : [ "Document" ],
        "summary" : "Get Document List By Dms Document Id List",
        "operationId" : "getDocumentListByDocIds",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "type" : "array",
                "items" : {
                  "type" : "string"
                }
              }
            }
          },
          "required" : true,
          "x-codegen-request-body-name" : "dmsDocIds"
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/DmsDocument"
                  }
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        }
      }
    },
    "/dms/v1/shareDocument" : {
      "get" : {
        "tags" : [ "Document" ],
        "summary" : "Share Document",
        "description" : "Share Document By DocId ",
        "operationId" : "shareDocument",
        "parameters" : [ {
          "name" : "dmsDocId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "expireDate",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "format" : "date-time"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "string",
                  "format" : "url"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        }
      }
    },
    "/dms/v1/shareDocumentWithLite" : {
      "get" : {
        "tags" : [ "Document" ],
        "summary" : "Share Document With Lite Mode",
        "description" : "Share Document By DocId (returns internal proxy URL) With Lite Mode",
        "operationId" : "shareDocumentWithLite",
        "parameters" : [ {
          "name" : "dmsDocId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "expireDate",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "format" : "date-time"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "string"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        }
      }
    },
    "/dms/v1/shareImageThumbnail" : {
      "get" : {
        "tags" : [ "Document" ],
        "summary" : "Share Image Thumbnail",
        "description" : "Share Image Thumbnail By DocId ",
        "operationId" : "shareImageThumbnail",
        "parameters" : [ {
          "name" : "dmsDocId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "expireDate",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "format" : "date-time"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "string",
                  "format" : "url"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        }
      }
    },
    "/dms/v1/shareImageThumbnailWithLite" : {
      "get" : {
        "tags" : [ "Document" ],
        "summary" : "Share Image Thumbnail With Lite Mode ",
        "description" : "Share Image Thumbnail By DocId (returns internal proxy URL) With Lite Mode",
        "operationId" : "shareImageThumbnailWithLite",
        "parameters" : [ {
          "name" : "dmsDocId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "expireDate",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "format" : "date-time"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "string"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        }
      }
    },
    "/dms/v1/updateDocument" : {
      "post" : {
        "tags" : [ "Document" ],
        "summary" : "Update document,genarate version information for the document and update thumbnails for images file",
        "description" : "Update Document Basic Information",
        "operationId" : "updateDocument",
        "parameters" : [ {
          "name" : "dmsDocId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "businessCategory",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "displayName",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "subDir",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/DocAddMeta"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "$ref" : "#/components/schemas/DmsDocument"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        },
        "x-mo-original-summary" : "Update Document",
        "x-mo-overwrite-summary" : "Update document,genarate version information for the document and update thumbnails for images file"
      }
    },
    "/dms/v1/updateDocumentByExistingPath" : {
      "post" : {
        "tags" : [ "Document" ],
        "summary" : "Update document by existing path and generate thumbnails for images file",
        "description" : "Update Document By Existing Path",
        "operationId" : "updateDocumentByExistingPath",
        "parameters" : [ {
          "name" : "dmsDocId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "businessCategory",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "originalFileName",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "displayName",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "subDir",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "s3Bucket",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "s3Key",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "customApp",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/DocAddMeta"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "$ref" : "#/components/schemas/DmsDocument"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        },
        "x-mo-original-summary" : "Update Document By Existing Path",
        "x-mo-overwrite-summary" : "Update document by existing path and generate thumbnails for images file"
      }
    },
    "/dms/v1/updateDocumentsByList" : {
      "post" : {
        "tags" : [ "Document" ],
        "summary" : "Update Documents By List",
        "description" : "Update Documents Basic Information",
        "operationId" : "updateDocumentsByList",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "type" : "array",
                "items" : {
                  "$ref" : "#/components/schemas/DocumentUpdateDto"
                }
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/DmsDocument"
                  }
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        }
      }
    },
    "/dms/v1/updateFile" : {
      "post" : {
        "tags" : [ "Document" ],
        "summary" : "Update file for document",
        "description" : "Update Doc file",
        "operationId" : "updateFile",
        "parameters" : [ {
          "name" : "dmsDocId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "customApp",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "multipart/form-data" : {
              "schema" : {
                "type" : "object",
                "properties" : {
                  "file" : {
                    "type" : "string",
                    "format" : "binary"
                  }
                },
                "required" : [ "file" ]
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "$ref" : "#/components/schemas/DmsDocument"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        },
        "x-mo-original-summary" : "Update Doc file",
        "x-mo-overwrite-summary" : "Update file for document"
      }
    },
    "/dms/v1/uploadDocument" : {
      "post" : {
        "tags" : [ "Document" ],
        "summary" : "Upload document and  generate thumbnails for images file",
        "description" : "Upload Document With File",
        "operationId" : "uploadDocument",
        "parameters" : [ {
          "name" : "entityType",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "dmsEntityId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "businessCategory",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "customApp",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "displayName",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "multipart/form-data" : {
              "schema" : {
                "type" : "object",
                "properties" : {
                  "file" : {
                    "type" : "string",
                    "format" : "binary"
                  }
                },
                "required" : [ "file" ]
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "$ref" : "#/components/schemas/DmsDocument"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        },
        "x-mo-original-summary" : "Upload Document With File",
        "x-mo-overwrite-summary" : "Upload document and  generate thumbnails for images file"
      }
    },
    "/dms/v1/uploadDocumentByExistingPath" : {
      "post" : {
        "tags" : [ "Document" ],
        "summary" : "Upload document by existing path and  generate thumbnails for images file",
        "description" : "Upload Document By Existing Path",
        "operationId" : "uploadDocumentByExistingPath",
        "parameters" : [ {
          "name" : "entityType",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "dmsEntityId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "businessCategory",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "originalFileName",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "displayName",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "subDir",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "s3Bucket",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "s3Key",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "customApp",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/DocAddMeta"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "$ref" : "#/components/schemas/DmsDocument"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        },
        "x-mo-original-summary" : "Upload Document By Existing Path",
        "x-mo-overwrite-summary" : "Upload document by existing path and  generate thumbnails for images file"
      }
    }
  },
  "components" : {
    "schemas" : {
      "CopyFileDto" : {
        "type" : "object",
        "properties" : {
          "AdditionalFileMeta" : {
            "type" : "string"
          },
          "BusinessCategory" : {
            "type" : "string"
          },
          "DisplayName" : {
            "type" : "string"
          },
          "DmsEntityId" : {
            "type" : "string"
          },
          "EntityType" : {
            "type" : "string"
          },
          "SourceDmsDocId" : {
            "type" : "string"
          },
          "SubDir" : {
            "type" : "string"
          }
        }
      },
      "DmsDocument" : {
        "type" : "object",
        "properties" : {
          "@pk" : {
            "type" : "integer",
            "format" : "int64"
          },
          "BusinessCategory" : {
            "type" : "string"
          },
          "DisplayName" : {
            "type" : "string"
          },
          "DmsDocId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DmsEntityId" : {
            "type" : "string"
          },
          "EntityType" : {
            "type" : "string"
          },
          "FileExt" : {
            "type" : "string"
          },
          "FileSize" : {
            "type" : "number"
          },
          "InsertBy" : {
            "type" : "integer",
            "format" : "int64"
          },
          "InsertTime" : {
            "type" : "string",
            "format" : "date-time"
          },
          "IsDeleted" : {
            "type" : "string"
          },
          "MetaData" : {
            "type" : "string"
          },
          "OldPrimaryKey" : {
            "type" : "integer",
            "format" : "int64"
          },
          "OrgFileName" : {
            "type" : "string"
          },
          "S3Bucket" : {
            "type" : "string"
          },
          "S3Key" : {
            "type" : "string"
          },
          "SubDir" : {
            "type" : "string"
          },
          "TempData" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "object"
            }
          },
          "TenantId" : {
            "type" : "string"
          },
          "ThumbnailFileSize" : {
            "type" : "number"
          },
          "ThumbnailS3Bucket" : {
            "type" : "string"
          },
          "ThumbnailS3Key" : {
            "type" : "string"
          },
          "UpdateBy" : {
            "type" : "integer",
            "format" : "int64"
          },
          "UpdateTime" : {
            "type" : "string",
            "format" : "date-time"
          }
        }
      },
      "DocAddMeta" : {
        "type" : "object",
        "properties" : {
          "metaData" : {
            "type" : "string"
          }
        }
      },
      "DocumentUpdateDto" : {
        "type" : "object",
        "properties" : {
          "AdditionalFileMeta" : {
            "$ref" : "#/components/schemas/DocAddMeta"
          },
          "BusinessCategory" : {
            "type" : "string"
          },
          "DisplayName" : {
            "type" : "string"
          },
          "DmsDocId" : {
            "type" : "string"
          },
          "SubDir" : {
            "type" : "string"
          }
        }
      }
    }
  },
  "x-mo-gateway-auth-enabled" : true,
  "x-mo-gateway-cors-enabled" : false
}