git ssb

0+

Piet / ssb-loomio



Tree: 4360b02f347aa3bea29d3e95dda409fe21bc3c45

Files: 4360b02f347aa3bea29d3e95dda409fe21bc3c45 / position / schema / chooseOnePosition.js

316 bytesRaw
1const positionSchema = require('./position')
2const cloneDeep = require('lodash.clonedeep')
3
4const chooseOneSchema = cloneDeep(positionSchema)
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