git ssb

0+

Piet / ssb-loomio



Tree: a12ac40b656901d5dcfd3cf302343421e77045b0

Files: a12ac40b656901d5dcfd3cf302343421e77045b0 / poll / schema / chooseOnePoll.js

304 bytesRaw
1const pollSchema = require('./poll')
2const cloneDeep = require('lodash.clonedeep')
3
4const chooseOneSchema = cloneDeep(pollSchema)
5
6// collapse the details down to be ONLY chooseOne
7chooseOneSchema.properties.pollDetails = { $ref: '#/definitions/pollDetails/chooseOne' }
8
9module.exports = chooseOneSchema
10

Built with git-ssb-web