git ssb

0+

Piet / ssb-loomio



Tree: 3c647f37b672fb47d500e35172ba97cf70de2448

Files: 3c647f37b672fb47d500e35172ba97cf70de2448 / poll / schema / chooseOnePoll.js

296 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.details = { $ref: '#/definitions/details/chooseOne' }
8
9module.exports = chooseOneSchema
10

Built with git-ssb-web