| PKID | integer | plain | | | Document ID |
| fork | integer | plain | | forks.ID | Fork ID (`null` for base module) |
| owneruser | integer | plain | | users.ID | Owner user ID (PUBLIC if `owneruser`=`null` and `ownergroup`=`null`) |
| ownergroup | integer | plain | | groups.ID | Owner group ID (PUBLIC if `owneruser`=`null` and `ownergroup`=`null`) |
| creator | integer | plain | | users.ID | Creator user ID (defaults to authenticated user on creation) |
| assigneduser | integer | plain | | users.ID | Assigned user ID |
| creationdate | bigint | plain | | | Default: EXTRACT(epoch FROM now())Creation date and time as a Unix timestamp (defaults to current date and time on creation) |
| lastmodified | bigint | plain | | | Default: EXTRACT(epoch FROM now())Last modification date and time as a Unix timestamp (auto-reset on modification) |
| visibility | smallint | plain | | | Default: 0Visibility (`0`=REGULAR, `1`=ARCHIVED, `2`=DELETED) |
| name | text | main | | | Name |
| documentnum | text | main | | | Default: ''Document number |
| status | smallint | plain | | | Default: 0Status (`0`=DRAFT, `1`=FEEDBACKREQUIRED, `2`=INREVISION, `3`=AWAITINGAPPROVAL, `4`=FINAL, `5`=OBSOLETE) |
| filename | text | main | | | Default: ''Filename |
| mimetype | text | main | | | Default: 'application/octet-stream'MIME type (RFC 2045) |
| public | smallint | plain | | | Default: 0Publicly accessible |
| description | text | extended | | | Default: ''Detailed general description |
| binfile | integer | plain | | binfiles.ID | Binary file ID; is read-only (not for `PUT` or `PATCH`) |