git ssb

0+

Piet / ssb-loomio



Tree: 1370996e72773275a544e0bdd26ee0f6db0e49d8

Files: 1370996e72773275a544e0bdd26ee0f6db0e49d8 / 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