Files: 85899d9c65af617c7746ff686142b1bf2e513f20 / schema / blog.js
427 bytesRaw
1 | const { blobIdRegex } = require('ssb-ref') |
2 | |
3 | module.exports = { |
4 | $schema: 'http://json-schema.org/schema#', |
5 | type: 'object', |
6 | required: ['type', 'title', 'blog'], |
7 | properties: { |
8 | type: {type: 'string', pattern: 'blog'}, |
9 | title: {type: 'string'}, |
10 | blog: {type: 'string', pattern: blobIdRegex}, |
11 | summary: {type: 'string'}, |
12 | thumbnail: {type: 'string', pattern: blobIdRegex}, |
13 | channel: {type: 'string'} |
14 | } |
15 | } |
16 |
Built with git-ssb-web