git ssb

0+

Piet / ssb-loomio



Tree: 9144ab97554ad603dd57ff8d50d81940ac397cc6

Files: 9144ab97554ad603dd57ff8d50d81940ac397cc6 / poll / schema / details / score.js

309 bytesRaw
1const schema = {
2 type: 'object',
3 required: ['type', 'maxChoiceScore', 'choices'],
4 properties: {
5 type: {
6 type: 'string',
7 pattern: '^score$'
8 },
9 maxChoiceScore: {
10 type: 'integer',
11 minimum: 2
12 },
13 choices: {
14 type: 'array'
15 }
16 }
17}
18
19module.exports = schema
20

Built with git-ssb-web