Skip to main content

Document Model

Overview​

The document table serves as a centralized document/file metadata registry within a platform — enabling storage, organization, versioning, and access control for uploaded or generated files.It integrates with bundles, users, orgs, applications, menus, and even custom screen-object-subobject combinations — making it highly extensible.

Fields​

FieldTypeDescriptionRequired
idstringA universally unique identifier (UUID) used as the primary key for the model. It ensures global uniqueness of each record, supports secure and collision-resistant identification across distributed systems, and avoids the predictability of sequential IDs.❌
doc_namestringdoc_name field❌
foldernamestringName of the folder name if folder is uploaded❌
propertiesobjectDuplicated❌
bundle_idanyLinks the document to a logical or application-level bundle of resources/features.❌
typestringType or category of the document. file/folder❌
authKeystringnot in use❌
storageTypestringType of storage used for the document❌
doc_typestringdoc_type field❌
versionstringVersion number of the document❌
file_infoobjectFIle Properties❌
pathanyFile path where the document is stored.❌
overrideanydidnt understand filed❌
is_revisedbooleanis_revised field❌
archive_folder_pathstringPath where archived versions of the document are stored at the time of update file❌
delete_folder_pathstringPath where deleted documents are stored❌
sites_idstringIdentifier linking to a site where the document is used.❌
org_idstringIdentifier linking to an organization.❌
application_idstringIdentifier linking to an associated application.❌
parentstringparent field❌
user_idstringIdentifier of the user who created or modified the document.❌
orggroup_idstringIdentifier for the organization group.❌
screen_idstringPrimary Table ID Object associated with the document❌
menuitem_idstringIdentifier linking to a menu item associated with the document.❌
object_idstringIdentifier for an object associated with the document.❌
sub_object_idstringIdentifier for a sub-object associated with the document.❌
participants_idanyIdentifier for participants associated with the document.❌
categorystringCategory to which the document belongs.(unclear on the filed )❌
category_typestringType of category of file doc type❌
download_urlstringURL for downloading the document.❌
conversion_urlstringnot in use❌
compression_urlstringnot in use❌
compressedbooleannot in use❌
isDeletedbooleanBoolean flag indicating whether the document has been deleted.❌
created_atdateTimestamp when the document was created❌
modified_atdateTimestamp when the document was last modified❌
linkarraylink field❌

Sample JSON​

{
"id": "example_value",
"doc_name": "example_value",
"foldername": "example_value",
"properties": "example_value",
"bundle_id": "example_value",
"type": "example_value",
"authKey": "example_value",
"storageType": "example_value",
"doc_type": "example_value",
"version": "example_value",
"file_info": "example_value",
"path": "example_value",
"override": "example_value",
"is_revised": "example_value",
"archive_folder_path": "example_value",
"delete_folder_path": "example_value",
"sites_id": "example_value",
"org_id": "example_value",
"application_id": "example_value",
"parent": "example_value",
"user_id": "example_value",
"orggroup_id": "example_value",
"screen_id": "example_value",
"menuitem_id": "example_value",
"object_id": "example_value",
"sub_object_id": "example_value",
"participants_id": "example_value",
"category": "example_value",
"category_type": "example_value",
"download_url": "example_value",
"conversion_url": "example_value",
"compression_url": "example_value",
"compressed": "example_value",
"isDeleted": "example_value",
"created_at": "example_value",
"modified_at": "example_value",
"link": "example_value"
}