dbe44fc91fe6635b26c08bc2716c75ba53b1098a
[yaffs-website] / config / schema / forum.schema.yml
1 # Schema for the configuration files of the Forum module.
2
3 forum.settings:
4   type: config_object
5   label: 'Forum settings'
6   mapping:
7     block:
8       type: mapping
9       label: 'Forum blocks'
10       mapping:
11         active:
12           type: mapping
13           label: 'Active forum block'
14           mapping:
15             limit:
16               type: integer
17               label: 'Active forum Count'
18         new:
19           type: mapping
20           label: 'New forum topics'
21           mapping:
22             limit:
23               type: integer
24               label: 'New forum Count'
25     topics:
26       type: mapping
27       label: 'Forum topics block'
28       mapping:
29         hot_threshold:
30           type: integer
31           label: 'Hot topic threshold'
32         order:
33           type: integer
34           label: 'Forum default topic order'
35         page_limit:
36           type: integer
37           label: 'Topics per page'
38     vocabulary:
39       type: string
40       label: 'Forum vocabulary ID'
41
42 block.settings.forum_active_block:
43   type: block_settings
44   label: 'Active forum topics block'
45   mapping:
46     properties:
47       type: sequence
48       label: 'Properties'
49       sequence:
50         type: string
51     block_count:
52       type: integer
53       label: 'Block count'
54
55 block.settings.forum_new_block:
56   type: block_settings
57   label: 'New forum topics block'
58   mapping:
59     properties:
60       type: sequence
61       label: 'Properties'
62       sequence:
63         type: string
64     block_count:
65       type: integer
66       label: 'Block count'