Files: 97bde7ce4cb8f440a82828ea953f2e6f63c7e20e / poll / schema / details / dot.js
298 bytesRaw
1 | var schema = { |
2 | type: 'object', |
3 | required: ['type', 'maxStanceScore', 'choices'], |
4 | properties: { |
5 | type: { |
6 | type: 'string', |
7 | pattern: '^dot$' |
8 | }, |
9 | numDots: { |
10 | type: 'integer', |
11 | minimum: 1 |
12 | }, |
13 | choices: { |
14 | type: 'array' |
15 | } |
16 | } |
17 | } |
18 | |
19 | module.exports = schema |
20 |
Built with git-ssb-web