{"service":"HALOWERK finopswerk","endpoint":"/v1/contribution-preference-carry-waterfall","method":"POST","content_type":"application/json","inputSchema":{"type":"object","properties":{"proceeds":{"type":"integer","minimum":0,"maximum":10000000},"preferred_bps":{"type":"integer","minimum":0,"maximum":2000},"calls":{"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":365},"amount_domain":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1000000},"minItems":1,"maxItems":2}},"required":["day","amount_domain"],"additionalProperties":false},"minItems":1,"maxItems":8},"report":{"type":"object","properties":{"call_preferences":{"type":"array","items":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"minItems":1,"maxItems":8}},"required":["capital","preference","catchup_cap","capital_paid","preference_paid","catchup_paid","residual_lp","residual_gp","lp_total","gp_total","payout_sum","unreturned_capital","unpaid_preference","call_preferences"],"additionalProperties":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"propertyNames":{"enum":["capital","preference","catchup_cap","capital_paid","preference_paid","catchup_paid","residual_lp","residual_gp","lp_total","gp_total","payout_sum","unreturned_capital","unpaid_preference","call_preferences"]}}},"required":["proceeds","preferred_bps","calls","report"],"additionalProperties":false},"requestExample":{"proceeds":100,"preferred_bps":1000,"calls":[{"day":0,"amount_domain":[0]}],"report":{"capital":{"n":"0","d":"1"},"preference":{"n":"0","d":"1"},"catchup_cap":{"n":"0","d":"1"},"capital_paid":{"n":"0","d":"1"},"preference_paid":{"n":"0","d":"1"},"catchup_paid":{"n":"0","d":"1"},"residual_lp":{"n":"80","d":"1"},"residual_gp":{"n":"20","d":"1"},"lp_total":{"n":"80","d":"1"},"gp_total":{"n":"20","d":"1"},"payout_sum":{"n":"100","d":"1"},"unreturned_capital":{"n":"0","d":"1"},"unpaid_preference":{"n":"0","d":"1"},"call_preferences":[{"n":"0","d":"1"}]}},"operations":[{"method":"POST","inputSchema":{"type":"object","properties":{"proceeds":{"type":"integer","minimum":0,"maximum":10000000},"preferred_bps":{"type":"integer","minimum":0,"maximum":2000},"calls":{"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":365},"amount_domain":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1000000},"minItems":1,"maxItems":2}},"required":["day","amount_domain"],"additionalProperties":false},"minItems":1,"maxItems":8},"report":{"type":"object","properties":{"call_preferences":{"type":"array","items":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"minItems":1,"maxItems":8}},"required":["capital","preference","catchup_cap","capital_paid","preference_paid","catchup_paid","residual_lp","residual_gp","lp_total","gp_total","payout_sum","unreturned_capital","unpaid_preference","call_preferences"],"additionalProperties":{"type":"object","properties":{"n":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]{0,63})$","maxLength":64},{"type":"null"}]},"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]}},"required":["n","d"],"additionalProperties":false},"propertyNames":{"enum":["capital","preference","catchup_cap","capital_paid","preference_paid","catchup_paid","residual_lp","residual_gp","lp_total","gp_total","payout_sum","unreturned_capital","unpaid_preference","call_preferences"]}}},"required":["proceeds","preferred_bps","calls","report"],"additionalProperties":false},"requestExample":{"proceeds":100,"preferred_bps":1000,"calls":[{"day":0,"amount_domain":[0]}],"report":{"capital":{"n":"0","d":"1"},"preference":{"n":"0","d":"1"},"catchup_cap":{"n":"0","d":"1"},"capital_paid":{"n":"0","d":"1"},"preference_paid":{"n":"0","d":"1"},"catchup_paid":{"n":"0","d":"1"},"residual_lp":{"n":"80","d":"1"},"residual_gp":{"n":"20","d":"1"},"lp_total":{"n":"80","d":"1"},"gp_total":{"n":"20","d":"1"},"payout_sum":{"n":"100","d":"1"},"unreturned_capital":{"n":"0","d":"1"},"unpaid_preference":{"n":"0","d":"1"},"call_preferences":[{"n":"0","d":"1"}]}}}]}