UNPKG

540 BJavaScriptView Raw
1module.exports = {
2 sanitization: {
3 properties: {
4 host: {},
5 port: {
6 type: 'integer',
7 optional: false,
8 def: 9200
9 },
10 path: {
11 type: 'string',
12 optional: true,
13 def: '/'
14 }
15 }
16 },
17 validation: {
18 strict: true,
19 type: 'object',
20 properties: {
21 host: {
22 type: 'string'
23 },
24 port: {
25 type: 'integer',
26 optional: false
27 },
28 path: {
29 type: 'string'
30 }
31 }
32 }
33};