aboutsummaryrefslogtreecommitdiffstats
path: root/SCHEMA.md
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2020-12-17 10:05:21 +0300
committerGravatar Hassan Abouelela <[email protected]>2020-12-17 10:05:21 +0300
commitb7951972ef5a45c36c9372823cf6d2aa65a652d2 (patch)
tree3c4ad6c7aeb7ec69c47f10c45fe10ca466c3d989 /SCHEMA.md
parentAdds Webhook Option (diff)
parentMerge pull request #38 from python-discord/submission-timestamp (diff)
Merge branch 'main' into discord-webhook
Diffstat (limited to 'SCHEMA.md')
-rw-r--r--SCHEMA.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/SCHEMA.md b/SCHEMA.md
index 894ffec..4daa5dd 100644
--- a/SCHEMA.md
+++ b/SCHEMA.md
@@ -135,13 +135,14 @@ Textareas require no additional configuration.
## Form response
-| Field | Type | Description |
-| ---------- | ---------------------------------------------------- | --------------------------------------------------------------------------- |
-| `_id`/`id` | MongoDB ObjectID | Random identifier used for the response |
-| `user` | Optional [user details object](#user-details-object) | An object describing the user that submitted if the form is not anonymous |
-| `antispam` | Optional [anti spam object](#anti-spam-object) | An object containing information about the anti-spam on the form submission |
-| `response` | Object | Object containing question IDs mapping to the users answer |
-| `form_id` | String | ID of the form that the user is submitting to |
+| Field | Type | Description |
+| ----------- | ---------------------------------------------------- | --------------------------------------------------------------------------- |
+| `_id`/`id` | MongoDB ObjectID | Random identifier used for the response |
+| `user` | Optional [user details object](#user-details-object) | An object describing the user that submitted if the form is not anonymous |
+| `antispam` | Optional [anti spam object](#anti-spam-object) | An object containing information about the anti-spam on the form submission |
+| `response` | Object | Object containing question IDs mapping to the users answer |
+| `form_id` | String | ID of the form that the user is submitting to |
+| `timestamp` | String | ISO formatted string of submission time. |
### User details object