{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "ExecuteMsg", "oneOf": [ { "type": "object", "required": [ "member_changed_hook" ], "properties": { "member_changed_hook": { "type": "object", "required": [ "diffs" ], "properties": { "diffs": { "type": "array", "items": { "$ref": "#/definitions/MemberDiff" } } } } }, "additionalProperties": false } ], "definitions": { "MemberDiff": { "description": "MemberDiff shows the old and new states for a given cw4 member They cannot both be None. old = None, new = Some -> Insert old = Some, new = Some -> Update old = Some, new = None -> Delete", "type": "object", "required": [ "key" ], "properties": { "key": { "type": "string" }, "new": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 0.0 }, "old": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 0.0 } } } } }