@@ -187,21 +187,6 @@ schemas:
187
187
block_time : 1595571314482
188
188
height : 289005
189
189
query_id" : " oq_su6wv4MZsnJfopjAhd1Sx7HuBBtqhdHhahkoTPWk7bg24UWNR"
190
- response :
191
- block_hash : " mh_GWc3YBsoeCtsKW2FScDPAMz4jmK47Zdba4pPstJFJzREpWr9o"
192
- block_time : 1595577843373
193
- height : 289044
194
- query_id : " oq_su6wv4MZsnJfopjAhd1Sx7HuBBtqhdHhahkoTPWk7bg24UWNR"
195
- source_tx_hash : " th_GfXNatujAA2Uj73Cys39z9GzKXGHRiRFK1FCoKfDvhkJNWjpr"
196
- source_tx_type : " OracleRespondTx"
197
- fee : 16939000000000
198
- nonce : 2
199
- oracle_id : " ok_qJZPXvWPC7G9kFVEqNjj9NAmwMsQcpRu6E3SSCvCQuwfqpMtN"
200
- response : " 5oiQ5Yqf5LqGIQ"
201
- response_ttl :
202
- type : " delta"
203
- value : 100
204
- ttl : 289541
205
190
source_tx_hash : " th_gsaRRLnysE4pFH1DqY731F6LBEjhdDwnzoDyBnZjBUygoSvpJ"
206
191
source_tx_type : " OracleQueryTx"
207
192
fee : 17199000000000
@@ -229,8 +214,6 @@ schemas:
229
214
type : integer
230
215
query_id :
231
216
$ref : ' #/components/schemas/OracleQueryId'
232
- response :
233
- $ref : ' #/components/schemas/OracleResponse'
234
217
source_tx_hash :
235
218
description : The hash of the transaction in which the query was created
236
219
$ref : ' #/components/schemas/TransactionHash'
@@ -287,26 +270,6 @@ schemas:
287
270
block_time : 1595571314482
288
271
height : 289005
289
272
query_id : " oq_su6wv4MZsnJfopjAhd1Sx7HuBBtqhdHhahkoTPWk7bg24UWNR"
290
- query :
291
- block_hash : " mh_211yFeU3yxKgqXAaRyyxrALMDPxxTyYkrs6TwN9hWnxMHQk8Nc"
292
- block_time : 1595571314482
293
- height : 289005
294
- query_id : " oq_su6wv4MZsnJfopjAhd1Sx7HuBBtqhdHhahkoTPWk7bg24UWNR"
295
- source_tx_hash : " th_gsaRRLnysE4pFH1DqY731F6LBEjhdDwnzoDyBnZjBUygoSvpJ"
296
- source_tx_type : " OracleQueryTx"
297
- fee : 17199000000000
298
- nonce : 57
299
- oracle_id : " ok_qJZPXvWPC7G9kFVEqNjj9NAmwMsQcpRu6E3SSCvCQuwfqpMtN"
300
- query : " YmFpeGluIHF1ZXJ5"
301
- query_fee : 2000000000000000
302
- query_ttl" :
303
- type : " delta"
304
- value : 100
305
- response_ttl" :
306
- type : " delta"
307
- value : 100
308
- sender_id : " ak_CNcf2oywqbgmVg3FfKdbHQJfB959wrVwqfzSpdWVKZnep7nj4"
309
- ttl : 289505
310
273
source_tx_hash : " th_gsaRRLnysE4pFH1DqY731F6LBEjhdDwnzoDyBnZjBUygoSvpJ"
311
274
source_tx_type : " OracleRespondTx"
312
275
fee : 17199000000000
@@ -329,8 +292,6 @@ schemas:
329
292
type : integer
330
293
query_id :
331
294
$ref : ' #/components/schemas/OracleQueryId'
332
- query :
333
- $ref : ' #/components/schemas/OracleQuery'
334
295
source_tx_hash :
335
296
description : The hash of the transaction in which the response was created
336
297
$ref : ' #/components/schemas/TransactionHash'
@@ -360,7 +321,6 @@ schemas:
360
321
- block_time
361
322
- height
362
323
- query_id
363
- - query
364
324
- source_tx_hash
365
325
- source_tx_type
366
326
- fee
@@ -534,7 +494,12 @@ paths:
534
494
data :
535
495
type : array
536
496
items :
537
- $ref : ' #/components/schemas/OracleQuery'
497
+ allOf :
498
+ - $ref : ' #/components/schemas/OracleQuery'
499
+ - type : object
500
+ properties :
501
+ response :
502
+ $ref : ' #/components/schemas/OracleResponse'
538
503
- $ref : ' #/components/schemas/PaginatedResponse'
539
504
' 400 ' :
540
505
description : Bad request
@@ -574,7 +539,14 @@ paths:
574
539
data :
575
540
type : array
576
541
items :
577
- $ref : ' #/components/schemas/OracleResponse'
542
+ allOf :
543
+ - $ref : ' #/components/schemas/OracleResponse'
544
+ - type : object
545
+ properties :
546
+ query :
547
+ $ref : ' #/components/schemas/OracleQuery'
548
+ required :
549
+ - query
578
550
- $ref : ' #/components/schemas/PaginatedResponse'
579
551
' 400 ' :
580
552
description : Bad request
0 commit comments