forked from eco-stake/validator-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchains.schema.json
107 lines (106 loc) · 2.2 KB
/
chains.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Root",
"type": "object",
"required": [
"name",
"chains"
],
"properties": {
"name": {
"$id": "#root/name",
"title": "Name",
"type": "string",
"default": "",
"examples": [
"ECO Stake 🌱"
],
"pattern": "^.*$"
},
"chains": {
"$id": "#root/chains",
"title": "Chains",
"type": "array",
"default": [],
"items":{
"$id": "#root/chains/items",
"title": "Items",
"type": "object",
"required": [
"name",
"address"
],
"properties": {
"name": {
"$id": "#root/chains/items/name",
"title": "Name",
"type": "string",
"default": "",
"examples": [
"akash"
],
"pattern": "^.*$"
},
"address": {
"$id": "#root/chains/items/address",
"title": "Address",
"type": "string",
"default": "",
"examples": [
"akashvaloper1xgnd8aach3vawsl38snpydkng2nv8a4kqgs8hf"
],
"pattern": "^.*$"
},
"restake": {
"$id": "#root/chains/items/restake",
"title": "Restake",
"type": "object",
"required": [
"address",
"run_time",
"minimum_reward"
],
"properties": {
"address": {
"$id": "#root/chains/items/restake/address",
"title": "Address",
"type": "string",
"default": "",
"examples": [
"akash1yxsmtnxdt6gxnaqrg0j0nudg7et2gqczud2r2v"
],
"pattern": "^.*$"
},
"run_time": {
"$id": "#root/chains/items/restake/run_time",
"title": "Run_time",
"type": ["array", "string"],
"default": [],
"items":{
"$id": "#root/chains/items/restake/run_time/items",
"title": "Items",
"type": "string",
"default": "",
"examples": [
"09:00"
],
"pattern": "^.*$"
}
},
"minimum_reward": {
"$id": "#root/chains/items/restake/minimum_reward",
"title": "Minimum_reward",
"type": "integer",
"examples": [
10000
],
"default": 0
}
}
}
}
}
}
},
"definitions": {}
}