Skip to content

Commit dad03fc

Browse files
committed
updated schema
1 parent 1ffd99a commit dad03fc

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

schema/query_answer.json

+27
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,25 @@
7676
}
7777
}
7878
},
79+
{
80+
"type": "object",
81+
"required": [
82+
"contract_status"
83+
],
84+
"properties": {
85+
"contract_status": {
86+
"type": "object",
87+
"required": [
88+
"status"
89+
],
90+
"properties": {
91+
"status": {
92+
"$ref": "#/definitions/ContractStatusLevel"
93+
}
94+
}
95+
}
96+
}
97+
},
7998
{
8099
"type": "object",
81100
"required": [
@@ -271,6 +290,14 @@
271290
}
272291
}
273292
},
293+
"ContractStatusLevel": {
294+
"type": "string",
295+
"enum": [
296+
"normal_run",
297+
"stop_all_but_redeems",
298+
"stop_all"
299+
]
300+
},
274301
"HumanAddr": {
275302
"type": "string"
276303
},

schema/query_msg.json

+11
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@
2424
}
2525
}
2626
},
27+
{
28+
"type": "object",
29+
"required": [
30+
"contract_status"
31+
],
32+
"properties": {
33+
"contract_status": {
34+
"type": "object"
35+
}
36+
}
37+
},
2738
{
2839
"type": "object",
2940
"required": [

0 commit comments

Comments
 (0)