{
  "version": "1.0",
  "max_passes": 2,
  "defaults": {
    "full_ratchet_sunset_carrier": "",
    "qualified_financing_proceeds_threshold_carrier": "",
    "redemption_price_prefix_carrier": "",
    "redemption_fair_market_value_prong_carrier": "",
    "redemption_fair_market_value_definition_carrier": ""
  },
  "rules": [
    {
      "id": "redemption-price-original-issue-price",
      "description": "Use Original Issue Price plus declared but unpaid dividends as the Redemption Price",
      "when_all": [
        { "field": "include_redemption", "op": "eq", "value": true },
        { "field": "redemption_price_basis", "op": "eq", "value": "original_issue_price_plus_declared_unpaid_dividends" }
      ],
      "set_fill": {
        "redemption_price_prefix_carrier": "",
        "redemption_fair_market_value_prong_carrier": "",
        "redemption_fair_market_value_definition_carrier": ""
      }
    },
    {
      "id": "redemption-price-greater-of-fair-market-value",
      "description": "Use the greater of Original Issue Price plus declared but unpaid dividends and Fair Market Value",
      "when_all": [
        { "field": "include_redemption", "op": "eq", "value": true },
        { "field": "redemption_price_basis", "op": "eq", "value": "greater_of_original_issue_price_and_fair_market_value" }
      ],
      "set_fill": {
        "redemption_price_prefix_carrier": "the greater of (A) ",
        "redemption_fair_market_value_prong_carrier": " and (B) the Fair Market Value (determined in the manner set forth below) of such share of Preferred Stock as of the date of the Corporation’s receipt of the Redemption Request",
        "redemption_fair_market_value_definition_carrier": " For purposes of this Section 6.1, the Fair Market Value of a single share of Preferred Stock shall be the value of a single share of Preferred Stock as mutually agreed upon by the Corporation and the holders of a majority of the shares of Preferred Stock then outstanding, and, in the event that they are unable to reach agreement, by a third-party appraiser agreed to by the Corporation and the holders of a majority of the shares of Preferred Stock then outstanding."
      }
    },
    {
      "id": "full-ratchet-sunset-present",
      "description": "Include the complete optional sunset carrier only for full-ratchet anti-dilution when a date is supplied",
      "when_all": [
        { "field": "anti_dilution_type", "op": "eq", "value": "full_ratchet" },
        { "field": "full_ratchet_sunset_date", "op": "defined" }
      ],
      "set_fill": { "full_ratchet_sunset_carrier": " and prior to ${full_ratchet_sunset_date}" }
    },
    {
      "id": "full-ratchet-sunset-weighted-average-guard",
      "description": "Never carry a full-ratchet sunset into the weighted-average branch",
      "when_all": [
        { "field": "anti_dilution_type", "op": "neq", "value": "full_ratchet" }
      ],
      "set_fill": { "full_ratchet_sunset_carrier": "" }
    },
    {
      "id": "qualified-financing-threshold-including-debt-proceeds",
      "description": "Include the complete optional Qualified Financing threshold carrier and count converted debt proceeds",
      "when_all": [
        { "field": "include_pay_to_play", "op": "eq", "value": true },
        { "field": "qualified_financing_min_gross_proceeds", "op": "defined" },
        { "field": "qualified_financing_debt_proceeds_treatment", "op": "eq", "value": "including" }
      ],
      "set_fill": { "qualified_financing_proceeds_threshold_carrier": " that would result in at least $${qualified_financing_min_gross_proceeds} in gross proceeds to the Corporation, including proceeds previously received by Corporation for debt that is being cancelled or converted in connection with such issuance" }
    },
    {
      "id": "qualified-financing-threshold-excluding-debt-proceeds",
      "description": "Include the complete optional Qualified Financing threshold carrier and exclude converted debt proceeds",
      "when_all": [
        { "field": "include_pay_to_play", "op": "eq", "value": true },
        { "field": "qualified_financing_min_gross_proceeds", "op": "defined" },
        { "field": "qualified_financing_debt_proceeds_treatment", "op": "neq", "value": "including" }
      ],
      "set_fill": { "qualified_financing_proceeds_threshold_carrier": " that would result in at least $${qualified_financing_min_gross_proceeds} in gross proceeds to the Corporation, excluding proceeds previously received by Corporation for debt that is being cancelled or converted in connection with such issuance" }
    },
    {
      "id": "specified-percentage-carrier",
      "description": "Render number-only percentage inputs with exactly one percent sign",
      "when_all": [{ "field": "specify_percentage", "op": "defined" }],
      "set_fill": { "specify_percentage_clause": "${specify_percentage}%" }
    },
    {
      "id": "qualified-ipo-price-carrier",
      "description": "Render the Qualified IPO price election as one grammatical carrier",
      "when_all": [{ "field": "qualified_ipo_minimum_price", "op": "defined" }],
      "set_fill": { "qualified_ipo_price_clause": "at a price of at least $${qualified_ipo_minimum_price} per share (subject to appropriate adjustment in the event of any stock dividend, stock split, combination or other similar recapitalization with respect to the Common Stock)" }
    },
    {
      "id": "qualified-ipo-gross-proceeds-carrier",
      "description": "Render the gross Qualified IPO proceeds election as one grammatical carrier",
      "when_all": [{ "field": "qualified_ipo_proceeds_basis", "op": "neq", "value": "net" }],
      "set_fill": { "qualified_ipo_proceeds_clause": "$${qualified_ipo_gross_proceeds} of gross proceeds" }
    },
    {
      "id": "qualified-ipo-net-proceeds-carrier",
      "description": "Render the net Qualified IPO proceeds election as one grammatical carrier",
      "when_all": [{ "field": "qualified_ipo_proceeds_basis", "op": "eq", "value": "net" }],
      "set_fill": { "qualified_ipo_proceeds_clause": "$${qualified_ipo_gross_proceeds} of proceeds, net of the underwriting discount and commissions," }
    },
    {
      "id": "qualified-direct-listing-market-cap-carrier",
      "description": "Render the Qualified Direct Listing market-cap election as one grammatical carrier",
      "when_all": [{ "field": "qualified_direct_listing_market_cap", "op": "defined" }],
      "set_fill": { "qualified_direct_listing_market_cap_clause": ", for which the Board of Directors, in its sole discretion, determines that the Corporation is expected to have a market capitalization equal to or greater than $${qualified_direct_listing_market_cap} at any time on the first day of trading" }
    },
    {
      "id": "escrow-consideration-initial",
      "description": "Treat escrow and holdback amounts as Initial Consideration (default)",
      "when_all": [{ "field": "escrow_consideration_treatment", "op": "neq", "value": "additional_consideration" }],
      "set_fill": { "escrow_consideration_term": "Initial Consideration" }
    },
    {
      "id": "escrow-consideration-additional",
      "description": "Treat escrow and holdback amounts as Additional Consideration when expressly selected",
      "when_all": [{ "field": "escrow_consideration_treatment", "op": "eq", "value": "additional_consideration" }],
      "set_fill": { "escrow_consideration_term": "Additional Consideration" }
    },
    {
      "id": "preferred-director-grammar-one-word",
      "description": "Use singular Preferred Director grammar when the negotiated seat count is one",
      "when_all": [{ "field": "preferred_director_seats", "op": "eq", "value": "one" }],
      "set_fill": {
        "preferred_director_noun": "director",
        "preferred_director_election_clause": "one director",
        "preferred_director_term": "Preferred Director",
        "initial_preferred_director_appointment_clause": "Notwithstanding the foregoing, for administrative convenience, the initial Preferred Director may also be appointed by the Board of Directors in connection with the approval of the initial issuance of Preferred Stock without a separate action by the holders of Preferred Stock."
      }
    },
    {
      "id": "preferred-director-grammar-one-numeric",
      "description": "Use singular Preferred Director grammar when the negotiated seat count is 1",
      "when_all": [{ "field": "preferred_director_seats", "op": "eq", "value": "1" }],
      "set_fill": {
        "preferred_director_noun": "director",
        "preferred_director_election_clause": "1 director",
        "preferred_director_term": "Preferred Director",
        "initial_preferred_director_appointment_clause": "Notwithstanding the foregoing, for administrative convenience, the initial Preferred Director may also be appointed by the Board of Directors in connection with the approval of the initial issuance of Preferred Stock without a separate action by the holders of Preferred Stock."
      }
    },
    {
      "id": "preferred-director-grammar-plural",
      "description": "Use plural Preferred Directors grammar for every seat count other than one",
      "when_all": [
        { "field": "preferred_director_seats", "op": "neq", "value": "one" },
        { "field": "preferred_director_seats", "op": "neq", "value": "1" }
      ],
      "set_fill": {
        "preferred_director_noun": "directors",
        "preferred_director_election_clause": "${preferred_director_seats} directors",
        "preferred_director_term": "Preferred Directors",
        "initial_preferred_director_appointment_clause": "Notwithstanding the foregoing, for administrative convenience, the initial Preferred Directors may also be appointed by the Board of Directors in connection with the approval of the initial issuance of Preferred Stock without a separate action by the holders of Preferred Stock."
      }
    },
    {
      "id": "common-director-grammar-one-word",
      "description": "Use singular Common Director grammar when the negotiated seat count is one",
      "when_all": [{ "field": "common_director_seats", "op": "eq", "value": "one" }],
      "set_fill": { "common_director_noun": "director" }
    },
    {
      "id": "common-director-grammar-one-numeric",
      "description": "Use singular Common Director grammar when the negotiated seat count is 1",
      "when_all": [{ "field": "common_director_seats", "op": "eq", "value": "1" }],
      "set_fill": { "common_director_noun": "director" }
    },
    {
      "id": "common-director-grammar-plural",
      "description": "Use plural Common Director grammar for every seat count other than one",
      "when_all": [
        { "field": "common_director_seats", "op": "neq", "value": "one" },
        { "field": "common_director_seats", "op": "neq", "value": "1" }
      ],
      "set_fill": { "common_director_noun": "directors" }
    },
    {
      "id": "preferred-vote-threshold-all",
      "description": "Use an all-holders/directors approval threshold when expressly elected",
      "when_all": [{ "field": "preferred_vote_threshold", "op": "eq", "value": "all" }],
      "set_fill": { "preferred_vote_threshold_clause": "all" }
    },
    {
      "id": "preferred-vote-threshold-majority",
      "description": "Use a majority approval threshold by default and for the express majority election",
      "when_all": [{ "field": "preferred_vote_threshold", "op": "neq", "value": "all" }],
      "set_fill": { "preferred_vote_threshold_clause": "a majority of the" }
    },
    {
      "id": "under-the-name-present",
      "description": "Include 'under the name' clause when original name provided",
      "when_all": [{ "field": "original_incorporation_name", "op": "defined" }],
      "set_fill": { "under_the_name_clause": " under the name ${original_incorporation_name}" }
    },
    {
      "id": "under-the-name-absent",
      "description": "Remove 'under the name' clause when no original name",
      "when_all": [{ "field": "original_incorporation_name", "op": "falsy" }],
      "set_fill": { "under_the_name_clause": "" }
    },
    {
      "id": "no-cumulative-voting-include",
      "description": "Include 'no cumulative voting' clause (>95% standard)",
      "when_all": [{ "field": "no_cumulative_voting", "op": "neq", "value": false }],
      "set_fill": { "no_cumulative_voting_clause": "There shall be no cumulative voting." }
    },
    {
      "id": "no-cumulative-voting-exclude",
      "description": "Remove 'no cumulative voting' clause",
      "when_all": [{ "field": "no_cumulative_voting", "op": "eq", "value": false }],
      "set_fill": { "no_cumulative_voting_clause": "" }
    },
    {
      "id": "common-stock-voting-limitation-include",
      "description": "Include common stock voting limitation clause (>90% standard)",
      "when_all": [{ "field": "common_stock_voting_limitation", "op": "neq", "value": false }],
      "set_fill": { "common_stock_voting_limitation_clause": "; provided, however, that any amendment, alteration, or repeal of any provision of this Restated Certificate (including any Preferred Stock Designation) that would alter or change the powers, preferences, or special rights of one series of Preferred Stock so as to affect them adversely, but shall not so affect the entire class of Preferred Stock, must be approved by the holders of at least a majority of the shares of the affected series, exclusively and as a separate class, irrespective of whether such approval is required by Section 242(b)(2) of the DGCL or by Section 4.3.4 hereof" }
    },
    {
      "id": "common-stock-voting-limitation-exclude",
      "description": "Remove common stock voting limitation clause",
      "when_all": [{ "field": "common_stock_voting_limitation", "op": "eq", "value": false }],
      "set_fill": { "common_stock_voting_limitation_clause": "" }
    },
    {
      "id": "authorized-shares-vote-include",
      "description": "Include simplified authorized shares vote provision (>95% standard)",
      "when_all": [{ "field": "authorized_shares_vote_provision", "op": "neq", "value": false }],
      "set_fill": { "authorized_shares_vote_provision_clause": "The number of authorized shares of Common Stock may be increased or decreased (but not below the number of shares of Common Stock then outstanding) by the affirmative vote of the holders of a majority of the stock of the Corporation entitled to vote, irrespective of the provisions of Section 242(b)(2) of the DGCL." }
    },
    {
      "id": "authorized-shares-vote-exclude",
      "description": "Remove simplified authorized shares vote provision",
      "when_all": [{ "field": "authorized_shares_vote_provision", "op": "eq", "value": false }],
      "set_fill": { "authorized_shares_vote_provision_clause": "" }
    },
    {
      "id": "officer-indemnification-include",
      "description": "Include officer indemnification (>80% standard)",
      "when_all": [{ "field": "include_officer_indemnification", "op": "neq", "value": false }],
      "set_fill": { "or_officer_clause": "or officer" }
    },
    {
      "id": "officer-indemnification-exclude",
      "description": "Remove officer indemnification",
      "when_all": [{ "field": "include_officer_indemnification", "op": "eq", "value": false }],
      "set_fill": { "or_officer_clause": "" }
    },
    {
      "id": "officer-exculpation-include",
      "description": "Extend Article Ninth exculpation to officers when expressly elected",
      "when_all": [{ "field": "include_officer_exculpation", "op": "eq", "value": true }],
      "set_fill": {
        "exculpated_fiduciary_roles": "director or officer",
        "exculpated_fiduciary_subject": "director or officer",
        "exculpated_fiduciary_roles_plural": "directors or officers"
      }
    },
    {
      "id": "officer-exculpation-exclude",
      "description": "Limit Article Ninth exculpation to directors when officer exculpation is not elected",
      "when_all": [{ "field": "include_officer_exculpation", "op": "neq", "value": true }],
      "set_fill": {
        "exculpated_fiduciary_roles": "director",
        "exculpated_fiduciary_subject": "director",
        "exculpated_fiduciary_roles_plural": "directors"
      }
    },
    {
      "id": "redemption-cross-ref-include",
      "description": "Include redemption Section 6.1 cross-reference",
      "when_all": [{ "field": "include_redemption_cross_ref", "op": "eq", "value": true }],
      "set_fill": { "redemption_cross_ref_clause": " or Section 6.1" }
    },
    {
      "id": "redemption-cross-ref-exclude",
      "description": "Remove redemption Section 6.1 cross-reference (<5% of deals)",
      "when_all": [{ "field": "include_redemption_cross_ref", "op": "neq", "value": true }],
      "set_fill": { "redemption_cross_ref_clause": "" }
    },
    {
      "id": "no-redemption-statement-include",
      "description": "Keep 'not redeemable' statement when no full redemption (default)",
      "when_all": [{ "field": "include_redemption", "op": "neq", "value": true }],
      "set_fill": { "no_redemption_clause": "Other than as set forth in Section 2.3.2(b), the Preferred Stock is not redeemable at the option of the holder or the Corporation." }
    },
    {
      "id": "no-redemption-statement-exclude",
      "description": "Remove 'not redeemable' statement when full redemption included",
      "when_all": [{ "field": "include_redemption", "op": "eq", "value": true }],
      "set_fill": { "no_redemption_clause": "" }
    },
    {
      "id": "redemption-cross-ref-force-off",
      "description": "Force redemption cross-ref off when redemption article is excluded",
      "when_all": [
        { "field": "include_redemption", "op": "neq", "value": true },
        { "field": "include_redemption_cross_ref", "op": "eq", "value": true }
      ],
      "set_fill": { "redemption_cross_ref_clause": "" }
    }
  ]
}
