{
  "tool": "bcom.econ_equilibrium",
  "name": "Economics I — market equilibrium (CDU-BUS-BCOM-700)",
  "answers": "The equilibrium price and quantity of linear demand Qd = a − bP and supply Qs = c + dP.",
  "degree": {
    "id": "competency:bcom",
    "code": "CDU-BUS-BCOM-700",
    "name": "BCom — Commerce (January 2027 starter)",
    "version": "1.0.0"
  },
  "reference": "Shared Year 1 — Economics I (January 2027 intake); Qd = Qs at equilibrium",
  "endpoint": "/faculty/bcom/econ_equilibrium",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "a",
      "b",
      "c",
      "d"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "a": {
        "type": "number",
        "description": "demand intercept (> 0)",
        "minimum": 0.001,
        "maximum": 1000000
      },
      "b": {
        "type": "number",
        "description": "demand slope (> 0)",
        "minimum": 0.001,
        "maximum": 100000
      },
      "c": {
        "type": "number",
        "description": "supply intercept",
        "minimum": -1000000,
        "maximum": 1000000
      },
      "d": {
        "type": "number",
        "description": "supply slope (> 0)",
        "minimum": 0.001,
        "maximum": 100000
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "price",
      "quantity"
    ],
    "properties": {
      "price": {
        "type": "number",
        "description": "equilibrium price (2 d.p.)"
      },
      "quantity": {
        "type": "number",
        "description": "equilibrium quantity (2 d.p.)"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "a": 100,
    "b": 2,
    "c": 10,
    "d": 4
  }
}