From 014e4e9b2ae32f25969a728f895bb7d949a85780 Mon Sep 17 00:00:00 2001 From: ks129 <45097959+ks129@users.noreply.github.com> Date: Sat, 2 Jan 2021 15:24:53 +0200 Subject: Add question model required field documentation to SCHEMA.md --- SCHEMA.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/SCHEMA.md b/SCHEMA.md index c3edf35..fe02fc8 100644 --- a/SCHEMA.md +++ b/SCHEMA.md @@ -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 -- cgit v1.2.3