29 lines
757 B
JSON
29 lines
757 B
JSON
|
{
|
||
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||
|
"title": "Cw721ReceiveMsg",
|
||
|
"description": "Cw721ReceiveMsg should be de/serialized under `Receive()` variant in a ExecuteMsg",
|
||
|
"type": "object",
|
||
|
"required": [
|
||
|
"msg",
|
||
|
"sender",
|
||
|
"token_id"
|
||
|
],
|
||
|
"properties": {
|
||
|
"msg": {
|
||
|
"$ref": "#/definitions/Binary"
|
||
|
},
|
||
|
"sender": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"token_id": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
},
|
||
|
"definitions": {
|
||
|
"Binary": {
|
||
|
"description": "Binary is a wrapper around Vec<u8> to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec<u8>",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|