Skip to content

Commit

Permalink
cargo schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Jan 14, 2021
1 parent c4420ee commit 5ce3369
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions contracts/ibc-reflect/schema/query_msg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "QueryMsg",
"anyOf": [
{
"description": "Returns (reflect) account that is attached to this channel, or none.",
"type": "object",
"required": [
"account"
],
"properties": {
"account": {
"type": "object",
"required": [
"channel_id"
],
"properties": {
"channel_id": {
"type": "string"
}
}
}
}
},
{
"description": "Returns all (channel, reflect_account) pairs. No pagination - this is a test contract",
"type": "object",
"required": [
"list_accounts"
],
"properties": {
"list_accounts": {
"type": "object"
}
}
}
]
}

0 comments on commit 5ce3369

Please sign in to comment.