{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "CheckProposalStatus", "type": "object", "required": [ "dao_address", "proposal_id", "status" ], "properties": { "dao_address": { "type": "string" }, "proposal_id": { "type": "integer", "format": "uint64", "minimum": 0.0 }, "status": { "$ref": "#/definitions/Status" } }, "definitions": { "Status": { "oneOf": [ { "type": "string", "enum": [ "execution_failed" ] }, { "description": "The proposal is open for voting.", "type": "string", "enum": [ "open" ] }, { "description": "The proposal has been rejected.", "type": "string", "enum": [ "rejected" ] }, { "description": "The proposal has been passed but has not been executed.", "type": "string", "enum": [ "passed" ] }, { "description": "The proposal has been passed and executed.", "type": "string", "enum": [ "executed" ] }, { "description": "The proposal has failed or expired and has been closed. A proposal deposit refund has been issued if applicable.", "type": "string", "enum": [ "closed" ] } ] } } }