{
  "$schema": "https://raw.githubusercontent.com/google/A2A/main/specification/json/a2a-agent-card-schema.json",
  "schemaVersion": "v1",
  "name": "DesiCalc",
  "description": "Indian tax & financial calculator platform — stamp duty, RTO tax, income tax. Provides structured JSON API responses for agent consumption.",
  "url": "https://desicalc.in",
  "version": "1.0.0",
  "capabilities": {
    "stampDuty": {
      "name": "Stamp Duty Calculator",
      "description": "Calculate Indian stamp duty rates by state and property value",
      "url": "https://desicalc.in/stamp-duty/{state}",
      "inputSchema": {
        "type": "object",
        "properties": {
          "state": {
            "type": "string",
            "description": "Indian state ID (e.g. karnataka, maharashtra)"
          },
          "propertyValue": {
            "type": "number",
            "description": "Property value in INR"
          },
          "propertyType": {
            "type": "string",
            "enum": [
              "residential",
              "commercial"
            ],
            "default": "residential"
          },
          "gender": {
            "type": "string",
            "enum": [
              "male",
              "female",
              "joint"
            ],
            "default": "male"
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "stampDuty": {
            "type": "number"
          },
          "registration": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "stampDutyRate": {
            "type": "number"
          },
          "registrationRate": {
            "type": "number"
          }
        }
      }
    },
    "rtoTax": {
      "name": "RTO Tax Calculator",
      "description": "Calculate Indian RTO road tax by state and vehicle price",
      "url": "https://desicalc.in/rto-tax/{state}",
      "inputSchema": {
        "type": "object",
        "properties": {
          "state": {
            "type": "string",
            "description": "Indian state ID (e.g. karnataka, maharashtra)"
          },
          "vehiclePrice": {
            "type": "number",
            "description": "Ex-showroom price in INR"
          },
          "fuelType": {
            "type": "string",
            "enum": [
              "petrol",
              "diesel",
              "electric",
              "cng"
            ],
            "default": "petrol"
          },
          "vehicleType": {
            "type": "string",
            "enum": [
              "car",
              "bike",
              "scooter"
            ],
            "default": "car"
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "roadTax": {
            "type": "number"
          },
          "registrationFees": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "taxRate": {
            "type": "number"
          }
        }
      }
    },
    "incomeTax": {
      "name": "Income Tax Calculator",
      "description": "Calculate Indian income tax under old and new regimes",
      "url": "https://desicalc.in/tools/income-tax",
      "inputSchema": {
        "type": "object",
        "properties": {
          "income": {
            "type": "number",
            "description": "Annual income in INR"
          },
          "regime": {
            "type": "string",
            "enum": [
              "old",
              "new"
            ],
            "default": "new"
          },
          "age": {
            "type": "number",
            "description": "Age in years"
          },
          "section80c": {
            "type": "number",
            "description": "Section 80C deductions in INR",
            "default": 0
          },
          "section80d": {
            "type": "number",
            "description": "Section 80D deductions in INR",
            "default": 0
          },
          "hra": {
            "type": "number",
            "description": "HRA claimed in INR",
            "default": 0
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "taxableIncome": {
            "type": "number"
          },
          "taxAmount": {
            "type": "number"
          },
          "cessAmount": {
            "type": "number"
          },
          "totalTax": {
            "type": "number"
          },
          "effectiveRate": {
            "type": "number"
          }
        }
      }
    }
  },
  "authentication": {
    "type": "none"
  },
  "wellKnown": "https://desicalc.in/.well-known/agent-card.json"
}
