git ssb

0+

mixmix / ssb-gathering-schema



Tree: ae90623c733a90b422e30a1d0c3068048e89f291

Files: ae90623c733a90b422e30a1d0c3068048e89f291 / attendee / schema.js

524 bytesRaw
1const definitions = require('ssb-schema-definitions')
2
3module.exports = {
4 $schema: 'http://json-schema.org/schema#',
5 type: 'object',
6 required: ['type', 'about', 'attendee'],
7 properties: {
8 type: {
9 type: 'string',
10 pattern: '^about$'
11 },
12 about: { $ref: '#/definitions/messageId' },
13 attendee: {
14 type: 'object',
15 required: 'link',
16 properties: {
17 link: { $ref: '#/definitions/feedId' },
18 remove: { type: 'boolean' }
19 }
20 }
21 },
22 definitions: definitions
23}
24

Built with git-ssb-web