git ssb

0+

mixmix / ssb-gathering-schema



Tree: 02a191f8e7ff6bee2149956d58dce0c939e7b1c8

Files: 02a191f8e7ff6bee2149956d58dce0c939e7b1c8 / 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