2018-03-05 08:04:23 +08:00
|
|
|
boolean_setting: true
|
|
|
|
|
|
|
|
boolean_setting_02:
|
|
|
|
default: false
|
|
|
|
|
|
|
|
string_setting: "string value"
|
|
|
|
|
|
|
|
string_setting_02:
|
|
|
|
default: "string value"
|
|
|
|
min: 2
|
|
|
|
max: 20
|
|
|
|
|
2019-02-05 22:14:53 +08:00
|
|
|
string_setting_03:
|
|
|
|
default: "string value"
|
|
|
|
textarea: true
|
|
|
|
|
2018-03-05 08:04:23 +08:00
|
|
|
integer_setting: 51
|
|
|
|
|
|
|
|
integer_setting_02:
|
|
|
|
type: integer
|
|
|
|
default: 51
|
|
|
|
min: 1
|
|
|
|
max: 60
|
|
|
|
description:
|
|
|
|
fr: "French text"
|
|
|
|
es: "Spanish text"
|
|
|
|
|
|
|
|
integer_setting_03:
|
|
|
|
default: 15
|
|
|
|
max: 60
|
|
|
|
description:
|
|
|
|
xyz: "invalid language"
|
|
|
|
|
|
|
|
float_setting:
|
|
|
|
default: 2.5
|
|
|
|
min: 1.5
|
|
|
|
max: 10
|
|
|
|
|
|
|
|
list_setting:
|
|
|
|
type: list
|
|
|
|
description: "help text"
|
|
|
|
default: "name|age|last name"
|
|
|
|
|
2018-08-04 04:41:37 +08:00
|
|
|
compact_list_setting:
|
|
|
|
type: list
|
|
|
|
list_type: compact
|
|
|
|
description: "help text"
|
|
|
|
default: "name|age|last name"
|
|
|
|
|
2018-03-05 08:04:23 +08:00
|
|
|
enum_setting:
|
|
|
|
default: "trust level 4"
|
|
|
|
type: enum
|
|
|
|
choices:
|
|
|
|
- "trust level 0"
|
|
|
|
- "trust level 1"
|
|
|
|
|
|
|
|
enum_setting_02:
|
|
|
|
type: enum
|
|
|
|
default: 10
|
|
|
|
description:
|
|
|
|
en: "English text"
|
|
|
|
ar: "Arabic text"
|
|
|
|
|
|
|
|
enum_setting_03:
|
|
|
|
type: enum
|
|
|
|
default: 1
|
|
|
|
choices:
|
|
|
|
- 10
|
|
|
|
- 100
|
|
|
|
- 1000
|
2020-04-15 21:04:02 +08:00
|
|
|
|
|
|
|
upload_setting:
|
|
|
|
type: upload
|
|
|
|
default: ""
|
2021-03-11 09:15:04 +08:00
|
|
|
|
|
|
|
invalid_json_schema_setting:
|
|
|
|
default: ""
|
|
|
|
json_schema: '{ "type": "array", "invalid json"'
|
|
|
|
|
|
|
|
valid_json_schema_setting:
|
|
|
|
default: ""
|
|
|
|
json_schema: '{ "type": "array", "uniqueItems": true, "items": { "type": "object", "properties": { "color": { "type": "string" }, "icon": { "type": "string" } }, "additionalProperties": false } }'
|
2021-11-22 20:16:56 +08:00
|
|
|
|
|
|
|
causes_refresh:
|
|
|
|
default: ""
|
|
|
|
refresh: true
|