{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "AssetInfo", "description": "AssetInfo contract_addr is usually passed from the cw20 hook so we can trust the contract_addr is properly validated.", "oneOf": [ { "type": "object", "required": [ "token" ], "properties": { "token": { "type": "object", "required": [ "contract_addr" ], "properties": { "contract_addr": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "native_token" ], "properties": { "native_token": { "type": "object", "required": [ "denom" ], "properties": { "denom": { "type": "string" } } } }, "additionalProperties": false } ] }