AskResponse Schema
undefined#/responses/ask
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | Yes | Unknown status | No | Forbidden | Allowed | none | cw-logic-sample.json* |
ask Type
object
(AskResponse)
ask Properties
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
answer | Merged | Optional | cannot be null | cw-logic-sample |
gas_used | integer | Required | cannot be null | cw-logic-sample |
height | integer | Required | cannot be null | cw-logic-sample |
answer
answer
is optional
Type: merged type (Details)
cannot be null
defined in: cw-logic-sample
answer Type
merged type (Details)
any of
gas_used
gas_used
is required
Type:
integer
cannot be null
defined in: cw-logic-sample
gas_used Type
integer
gas_used Constraints
minimum: the value of this number must greater than or equal to: 0
unknown format: the value of this string must follow the format: uint64
height
height
is required
Type:
integer
cannot be null
defined in: cw-logic-sample
height Type
integer
height Constraints
minimum: the value of this number must greater than or equal to: 0
unknown format: the value of this string must follow the format: uint64
AskResponse Definitions
Definitions group Answer
Reference this group by using
{"$ref":"undefined#/responses/ask/definitions/Answer"}
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
has_more | boolean | Required | cannot be null | cw-logic-sample |
results | array | Required | cannot be null | cw-logic-sample |
success | boolean | Required | cannot be null | cw-logic-sample |
variables | array | Required | cannot be null | cw-logic-sample |
has_more
has_more
is required
Type:
boolean
cannot be null
defined in: cw-logic-sample
has_more Type
boolean
results
results
is required
Type: unknown[]
cannot be null
defined in: cw-logic-sample
results Type
unknown[]
success
success
is required
Type:
boolean
cannot be null
defined in: cw-logic-sample
success Type
boolean
variables
variables
is required
Type:
string[]
cannot be null
defined in: cw-logic-sample
variables Type
string[]
Definitions group Result
Reference this group by using
{"$ref":"undefined#/responses/ask/definitions/Result"}
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
substitutions | array | Required | cannot be null | cw-logic-sample |
substitutions
substitutions
is required
Type: unknown[]
cannot be null
defined in: cw-logic-sample
substitutions Type
unknown[]
Definitions group Substitution
Reference this group by using
{"$ref":"undefined#/responses/ask/definitions/Substitution"}
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
term | Not specified | Required | cannot be null | cw-logic-sample |
variable | string | Required | cannot be null | cw-logic-sample |
term
term
is required
Type: unknown
cannot be null
defined in: cw-logic-sample
term Type
unknown
variable
variable
is required
Type:
string
cannot be null
defined in: cw-logic-sample
variable Type
string
Definitions group Term
Reference this group by using
{"$ref":"undefined#/responses/ask/definitions/Term"}
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
arguments | array | Required | cannot be null | cw-logic-sample |
name | string | Required | cannot be null | cw-logic-sample |
arguments
arguments
is required
Type: unknown[]
cannot be null
defined in: cw-logic-sample
arguments Type
unknown[]
name
name
is required
Type:
string
cannot be null
defined in: cw-logic-sample
name Type
string