This repository has been archived by the owner on Feb 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathverto.config.schema.json
86 lines (86 loc) · 2.22 KB
/
verto.config.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://example.com/object1599307258.json",
"title": "Root",
"type": "object",
"required": ["genesis", "database", "api"],
"properties": {
"genesis": {
"$id": "#root/genesis",
"title": "Genesis",
"type": "object",
"required": ["blockedTokens", "tradeFee", "publicURL", "version"],
"properties": {
"blockedTokens": {
"$id": "#root/genesis/blockedTokens",
"title": "BlockedTokens",
"type": "array",
"default": [],
"items": {
"$id": "#root/genesis/blockedTokens/items",
"title": "Items",
"type": "string",
"default": "",
"examples": ["usjm4PCxUd5mtaon7zc97-dt-3qf67yPyqgzLnLqk5A"],
"pattern": "^.*$"
}
},
"tradeFee": {
"$id": "#root/genesis/tradeFee",
"title": "Tradefee",
"type": "number",
"examples": [0.01],
"default": 0.0
},
"publicURL": {
"$id": "#root/genesis/publicURL",
"title": "Publicurl",
"type": "string",
"default": "",
"examples": ["https://example.com/"],
"pattern": "^.*$"
},
"version": {
"$id": "#root/genesis/version",
"title": "Version",
"type": "string",
"default": "",
"examples": ["0.2.0"],
"pattern": "^.*$"
}
}
},
"database": {
"$id": "#root/database",
"title": "Database",
"type": "string",
"default": "",
"examples": ["./db.db"],
"pattern": "^.*$"
},
"api": {
"$id": "#root/api",
"title": "Api",
"type": "object",
"required": ["port", "host"],
"properties": {
"port": {
"$id": "#root/api/port",
"title": "Port",
"type": "integer",
"examples": [8080],
"default": 0
},
"host": {
"$id": "#root/api/host",
"title": "Host",
"type": "string",
"default": "",
"examples": ["localhost"],
"pattern": "^.*$"
}
}
}
}
}