{
  "tool": "llm-dispute-resolution.cost_apportionment",
  "name": "Apportionment of costs by success (CDU-LAW-DRS-900)",
  "answers": "If costs follow the event in proportion to success, who pays how much of whose costs, and what is the net?",
  "degree": {
    "id": "competency:llm-dispute-resolution",
    "code": "CDU-LAW-DRS-900",
    "name": "LLM Dispute Resolution",
    "version": "1.0.0"
  },
  "reference": "UNCITRAL Arbitration Rules (2013) art. 42(1): costs borne in principle by the unsuccessful party, apportionment if reasonable; ICC Rules (2021) art. 38(4)–(5)",
  "endpoint": "/faculty/llm-dispute-resolution/cost_apportionment",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "claimedAmount",
      "awardedAmount",
      "claimantCosts",
      "respondentCosts"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "claimedAmount": {
        "type": "number",
        "description": "Amount claimed",
        "minimum": 0.01
      },
      "awardedAmount": {
        "type": "number",
        "description": "Amount awarded",
        "minimum": 0
      },
      "claimantCosts": {
        "type": "number",
        "description": "Claimant’s reasonable costs",
        "minimum": 0
      },
      "respondentCosts": {
        "type": "number",
        "description": "Respondent’s reasonable costs",
        "minimum": 0
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "successRate",
      "respondentPaysOfClaimantCosts",
      "claimantPaysOfRespondentCosts",
      "netPayableByRespondent"
    ],
    "properties": {
      "successRate": {
        "type": "number",
        "description": "Awarded ÷ claimed, at most 1"
      },
      "respondentPaysOfClaimantCosts": {
        "type": "number",
        "description": "Success × claimant costs"
      },
      "claimantPaysOfRespondentCosts": {
        "type": "number",
        "description": "(1 − success) × respondent costs"
      },
      "netPayableByRespondent": {
        "type": "number",
        "description": "The difference (negative: the claimant pays)"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "claimedAmount": 2000000,
    "awardedAmount": 1500000,
    "claimantCosts": 400000,
    "respondentCosts": 300000
  }
}