{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Env", "type": "object", "required": [ "block", "contract", "message" ], "properties": { "block": { "$ref": "#/definitions/BlockInfo" }, "contract": { "$ref": "#/definitions/ContractInfo" }, "message": { "$ref": "#/definitions/MessageInfo" } }, "definitions": { "Binary": { "type": "string" }, "BlockInfo": { "type": "object", "required": [ "chain_id", "height", "time" ], "properties": { "chain_id": { "type": "string" }, "height": { "type": "integer", "format": "int64" }, "time": { "type": "integer", "format": "int64" } } }, "CanonicalAddr": { "$ref": "#/definitions/Binary" }, "Coin": { "type": "object", "required": [ "amount", "denom" ], "properties": { "amount": { "type": "string" }, "denom": { "type": "string" } } }, "ContractInfo": { "type": "object", "required": [ "address", "balance" ], "properties": { "address": { "$ref": "#/definitions/CanonicalAddr" }, "balance": { "type": [ "array", "null" ], "items": { "$ref": "#/definitions/Coin" } } } }, "MessageInfo": { "type": "object", "required": [ "sent_funds", "signer" ], "properties": { "sent_funds": { "type": [ "array", "null" ], "items": { "$ref": "#/definitions/Coin" } }, "signer": { "$ref": "#/definitions/CanonicalAddr" } } } } }