git ssb

0+

Piet / ssb-loomio



Tree: 92693260135502dac86a07eef9c477fb0198568a

Files: 92693260135502dac86a07eef9c477fb0198568a / 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