git ssb

0+

Piet / ssb-loomio



Tree: f368010bd5cd7dd957193a674e18bd6e6cad8233

Files: f368010bd5cd7dd957193a674e18bd6e6cad8233 / 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