diff options
author | 2021-01-02 15:24:53 +0200 | |
---|---|---|
committer | 2021-01-02 15:24:53 +0200 | |
commit | 014e4e9b2ae32f25969a728f895bb7d949a85780 (patch) | |
tree | 79188b8e1d852a283c6fb6215ed01565f1041765 | |
parent | Merge pull request #50 from python-discord/jwt-fix (diff) |
Add question model required field documentation to SCHEMA.md
-rw-r--r-- | SCHEMA.md | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -55,12 +55,13 @@ The following variables can be used in a webhook's message. The variables must b ### Form question -| Field | Type | Description | Example | -| ------ | ---------------------------------------- | ------------------------------------------------ | -------------------- | -| `id` | string | Unique identifier of the question | `"aabbcc"` | -| `name` | string | Name of the question | `"What's the time?"` | -| `type` | one of [Question types](#question-types) | The type of input for this question | `"radio"` | -| `data` | [Question specific data](#question-data) | Any specific data for the question type selected | Documented below | +| Field | Type | Description | Example | +| ---------- | ---------------------------------------- | ------------------------------------------------ | -------------------- | +| `id` | string | Unique identifier of the question | `"aabbcc"` | +| `name` | string | Name of the question | `"What's the time?"` | +| `type` | one of [Question types](#question-types) | The type of input for this question | `"radio"` | +| `data` | [Question specific data](#question-data) | Any specific data for the question type selected | Documented below | +| `required` | Boolean | Indicates whether the field must be filled | `True` | #### Question types |