{
  "namespace": "us.federal",
  "version": "1.0.0",
  "description": "A simplified, educational model of U.S. federal constitutional procedure as OpenVerb verbs. Not legal advice; not used by any government.",
  "verbs": [
    {
      "id": "congress.introduce_bill",
      "version": "1.0.0",
      "summary": "Introduce a bill in the member's own chamber. Revenue bills must start in the House.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "revenue": {
            "type": "boolean"
          }
        },
        "required": [
          "title",
          "revenue"
        ]
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "congress_introduce_bill",
      "policy": {
        "rolesAllowed": [
          "house",
          "senate"
        ]
      },
      "source": "Art. I, §7, cl. 1"
    },
    {
      "id": "house.vote_on_bill",
      "version": "1.0.0",
      "summary": "Pass or reject a bill by majority of votes cast.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "yeas": {
            "type": "integer",
            "minimum": 0
          },
          "nays": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "yeas",
          "nays"
        ]
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "house_vote_on_bill",
      "policy": {
        "rolesAllowed": [
          "house"
        ]
      },
      "source": "Art. I, §7, cl. 2"
    },
    {
      "id": "senate.vote_on_bill",
      "version": "1.0.0",
      "summary": "Pass or reject a bill by majority of votes cast; the Vice President may break a tie.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "yeas": {
            "type": "integer",
            "minimum": 0
          },
          "nays": {
            "type": "integer",
            "minimum": 0
          },
          "vice_president_breaks_tie": {
            "type": "string",
            "enum": [
              "yea",
              "nay"
            ]
          }
        },
        "required": [
          "yeas",
          "nays"
        ]
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "senate_vote_on_bill",
      "policy": {
        "rolesAllowed": [
          "senate"
        ]
      },
      "source": "Art. I, §7, cl. 2; Art. I, §3, cl. 4"
    },
    {
      "id": "house.vote_to_override",
      "version": "1.0.0",
      "summary": "Override a veto with two-thirds of the House.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "yeas": {
            "type": "integer",
            "minimum": 0
          },
          "nays": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "yeas",
          "nays"
        ]
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "house_vote_to_override",
      "policy": {
        "rolesAllowed": [
          "house"
        ]
      },
      "source": "Art. I, §7, cl. 2"
    },
    {
      "id": "senate.vote_to_override",
      "version": "1.0.0",
      "summary": "Override a veto with two-thirds of the Senate.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "yeas": {
            "type": "integer",
            "minimum": 0
          },
          "nays": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "yeas",
          "nays"
        ]
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "senate_vote_to_override",
      "policy": {
        "rolesAllowed": [
          "senate"
        ]
      },
      "source": "Art. I, §7, cl. 2"
    },
    {
      "id": "house.impeach",
      "version": "1.0.0",
      "summary": "Impeach an official by majority vote.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "yeas": {
            "type": "integer",
            "minimum": 0
          },
          "nays": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "yeas",
          "nays"
        ]
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "house_impeach",
      "policy": {
        "rolesAllowed": [
          "house"
        ]
      },
      "source": "Art. I, §2, cl. 5"
    },
    {
      "id": "senate.try_impeachment",
      "version": "1.0.0",
      "summary": "Try an impeachment; conviction needs two-thirds of senators present.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "yeas": {
            "type": "integer",
            "minimum": 0
          },
          "nays": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "yeas",
          "nays"
        ]
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "senate_try_impeachment",
      "policy": {
        "rolesAllowed": [
          "senate"
        ]
      },
      "source": "Art. I, §3, cl. 6"
    },
    {
      "id": "senate.confirm_nomination",
      "version": "1.0.0",
      "summary": "Give advice and consent to a nomination by majority vote.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "yeas": {
            "type": "integer",
            "minimum": 0
          },
          "nays": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "yeas",
          "nays"
        ]
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "senate_confirm_nomination",
      "policy": {
        "rolesAllowed": [
          "senate"
        ]
      },
      "source": "Art. II, §2, cl. 2"
    },
    {
      "id": "senate.consent_to_treaty",
      "version": "1.0.0",
      "summary": "Consent to a treaty with two-thirds of senators present.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "yeas": {
            "type": "integer",
            "minimum": 0
          },
          "nays": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "yeas",
          "nays"
        ]
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "senate_consent_to_treaty",
      "policy": {
        "rolesAllowed": [
          "senate"
        ]
      },
      "source": "Art. II, §2, cl. 2"
    },
    {
      "id": "congress.propose_amendment",
      "version": "1.0.0",
      "summary": "Propose a constitutional amendment with two-thirds of both chambers.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "congress_propose_amendment",
      "policy": {
        "rolesAllowed": [
          "house",
          "senate"
        ]
      },
      "source": "Art. V"
    },
    {
      "id": "states.ratify_amendment",
      "version": "1.0.0",
      "summary": "Ratify an amendment: three-fourths of the states.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "states_ratify_amendment",
      "policy": {
        "rolesAllowed": [
          "states"
        ]
      },
      "source": "Art. V"
    },
    {
      "id": "president.sign_bill",
      "version": "1.0.0",
      "summary": "Sign a presented bill into law.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "president_sign_bill",
      "policy": {
        "rolesAllowed": [
          "president"
        ]
      },
      "source": "Art. I, §7, cl. 2"
    },
    {
      "id": "president.veto_bill",
      "version": "1.0.0",
      "summary": "Return a presented bill to its originating chamber with objections.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "objections": {
            "type": "string"
          }
        },
        "required": [
          "objections"
        ]
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "president_veto_bill",
      "policy": {
        "rolesAllowed": [
          "president"
        ]
      },
      "source": "Art. I, §7, cl. 2"
    },
    {
      "id": "president.take_no_action",
      "version": "1.0.0",
      "summary": "Let ten days (Sundays excepted) pass without signing: law if Congress is in session, a pocket veto if it has adjourned.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "president_take_no_action",
      "policy": {
        "rolesAllowed": [
          "president"
        ]
      },
      "source": "Art. I, §7, cl. 2"
    },
    {
      "id": "president.nominate",
      "version": "1.0.0",
      "summary": "Nominate judges, ambassadors and officers.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "president_nominate",
      "policy": {
        "rolesAllowed": [
          "president"
        ]
      },
      "source": "Art. II, §2, cl. 2"
    },
    {
      "id": "president.grant_pardon",
      "version": "1.0.0",
      "summary": "Grant a pardon for an offense against the United States, except in cases of impeachment.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "president_grant_pardon",
      "policy": {
        "rolesAllowed": [
          "president"
        ]
      },
      "source": "Art. II, §2, cl. 1"
    },
    {
      "id": "court.review_law",
      "version": "1.0.0",
      "summary": "Decide, in an actual case, whether a law is constitutional.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "holding": {
            "type": "string",
            "enum": [
              "constitutional",
              "unconstitutional"
            ]
          }
        },
        "required": [
          "holding"
        ]
      },
      "outputSchema": {
        "type": "object"
      },
      "effects": [
        "record.write"
      ],
      "visibility": "public",
      "handler": "court_review_law",
      "policy": {
        "rolesAllowed": [
          "court"
        ]
      },
      "source": "Art. III; Marbury v. Madison (1803)"
    }
  ]
}