Power Expert India · Schema

CalculationRequest

State-aware calculation contract. Bihar uses subcategory_code and energy_units plus category-specific load/demand inputs. Maharashtra requires explicit licensee_code and category_id, plus the billing-basis input required by the verified tariff row. No automatic kWh↔kVAh or kW↔kVA conversion is performed.

EnergyHomesInvertersBatteryAdvisory

Properties

Name Type Description
state_code string Canonical state code for the public calculation route. Use GET /states and GET /capabilities for current release, verification and payable status.
subcategory_code string Exact code returned by GET /categories.
energy_units object Non-negative whole units. Numeric strings are accepted by the current controller.
connected_load object
recorded_demand object
contract_demand object
tod_period string
rts_voltage_mode string
apply_htss_11kv_surcharge boolean
effective_on string Must be on or after 2026-04-01.
billing_days integer Optional for Bihar domestic categories. Only 25, 30, or 40 are currently accepted for subsidy-entitlement evaluation; every other value fails closed.
licensee_code string Required for Maharashtra. Canonical values: MH_MSEDCL, MH_TPCD, MH_AEML, MH_BEST.
financial_year string
category_id string Canonical Maharashtra category identifier returned by GET /categories.
consumption_kvah object Maharashtra kVAh consumption input where the verified tariff row bills on kVAh.
consumption_units object Maharashtra kWh consumption input where the verified tariff row bills on kWh.
billing_demand_kva object
billing_demand_kw object
billing_date string
metering_mode string Odisha-only discriminator. Use gross_metering only when state_code=OD. Omit for the existing Odisha domestic path and for unrelated states.
generation_kwh number Odisha gross-metering generation quantity. Required when state_code=OD and metering_mode=gross_metering. Supplying this field alone does not activate gross metering.
district string Jharkhand location-routing signal. Use canonical district name.
district_name string Jharkhand district-name alias accepted by the JH V1 resolver.
city string Jharkhand city/location routing signal.
area string Jharkhand service-area routing signal.
pincode stringinteger Optional Jharkhand postal routing signal.
boundary_verified boolean Explicit boundary verification signal for ambiguous Jharkhand service areas.
service_context string Optional verified service/licensee context used by Jharkhand fail-closed routing.
supply_type string State-specific supply type. Jharkhand examples use LT or HT.
use string Jharkhand consumer-use signal such as DOMESTIC.
area_class string Jharkhand tariff area classification where required, for example RURAL or URBAN.
consumption number Jharkhand metered consumption used by VERIFIED_TARIFF_ESTIMATION_V1.
consumption_unit string Unit for Jharkhand consumption, for example kWh.
voltage_kv number Optional Jharkhand voltage signal for applicable HT/DVC routing.
contract_demand_kw number Optional contracted demand in kW.
recorded_demand_kw number Optional recorded demand in kW.
contract_demand_kva number Optional contracted demand in kVA.
recorded_demand_kva number Optional recorded demand in kVA.
View JSON Schema on GitHub

JSON Schema

powerexpertindia-com-calculation-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/powerexpertindia-com/json-schema/powerexpertindia-com-calculation-request-schema.json",
  "title": "CalculationRequest",
  "description": "State-aware calculation contract. Bihar uses subcategory_code and energy_units plus category-specific load/demand inputs. Maharashtra requires explicit licensee_code and category_id, plus the billing-basis input required by the verified tariff row. No automatic kWh↔kVAh or kW↔kVA conversion is performed.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/powerexpertindia-com-openapi.json#/components/schemas/CalculationRequest",
  "type": "object",
  "required": [
    "energy_units"
  ],
  "properties": {
    "state_code": {
      "type": "string",
      "enum": [
        "BR",
        "MH",
        "GJ",
        "TN",
        "RJ",
        "OD",
        "TS",
        "JH"
      ],
      "default": "BR",
      "description": "Canonical state code for the public calculation route. Use GET /states and GET /capabilities for current release, verification and payable status."
    },
    "subcategory_code": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "Exact code returned by GET /categories."
    },
    "energy_units": {
      "oneOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 100000000
        },
        {
          "type": "string",
          "pattern": "^\\d+$"
        }
      ],
      "description": "Non-negative whole units. Numeric strings are accepted by the current controller."
    },
    "connected_load": {
      "$ref": "#/$defs/DecimalInput"
    },
    "recorded_demand": {
      "$ref": "#/$defs/DecimalInput"
    },
    "contract_demand": {
      "$ref": "#/$defs/DecimalInput"
    },
    "tod_period": {
      "type": "string",
      "maxLength": 60,
      "default": ""
    },
    "rts_voltage_mode": {
      "type": "string",
      "enum": [
        "standard",
        "above_132kv",
        "below_132kv"
      ],
      "default": "standard"
    },
    "apply_htss_11kv_surcharge": {
      "type": "boolean",
      "default": false
    },
    "effective_on": {
      "type": "string",
      "format": "date",
      "description": "Must be on or after 2026-04-01."
    },
    "billing_days": {
      "type": "integer",
      "minimum": 1,
      "maximum": 366,
      "description": "Optional for Bihar domestic categories. Only 25, 30, or 40 are currently accepted for subsidy-entitlement evaluation; every other value fails closed."
    },
    "licensee_code": {
      "type": "string",
      "description": "Required for Maharashtra. Canonical values: MH_MSEDCL, MH_TPCD, MH_AEML, MH_BEST.",
      "enum": [
        "MH_MSEDCL",
        "MH_TPCD",
        "MH_AEML",
        "MH_BEST"
      ]
    },
    "financial_year": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}$"
    },
    "category_id": {
      "type": "string",
      "maxLength": 100,
      "description": "Canonical Maharashtra category identifier returned by GET /categories."
    },
    "consumption_kvah": {
      "oneOf": [
        {
          "type": "integer",
          "minimum": 0
        },
        {
          "type": "number",
          "minimum": 0
        },
        {
          "type": "string",
          "pattern": "^\\d+(\\.\\d+)?$"
        }
      ],
      "description": "Maharashtra kVAh consumption input where the verified tariff row bills on kVAh."
    },
    "consumption_units": {
      "oneOf": [
        {
          "type": "integer",
          "minimum": 0
        },
        {
          "type": "number",
          "minimum": 0
        },
        {
          "type": "string",
          "pattern": "^\\d+(\\.\\d+)?$"
        }
      ],
      "description": "Maharashtra kWh consumption input where the verified tariff row bills on kWh."
    },
    "billing_demand_kva": {
      "$ref": "#/$defs/DecimalInput"
    },
    "billing_demand_kw": {
      "$ref": "#/$defs/DecimalInput"
    },
    "billing_date": {
      "type": "string",
      "format": "date"
    },
    "metering_mode": {
      "type": "string",
      "enum": [
        "gross_metering"
      ],
      "description": "Odisha-only discriminator. Use gross_metering only when state_code=OD. Omit for the existing Odisha domestic path and for unrelated states.",
      "x-pei-state-scope": [
        "OD"
      ]
    },
    "generation_kwh": {
      "type": "number",
      "minimum": 0,
      "description": "Odisha gross-metering generation quantity. Required when state_code=OD and metering_mode=gross_metering. Supplying this field alone does not activate gross metering.",
      "x-pei-state-scope": [
        "OD"
      ]
    },
    "district": {
      "type": "string",
      "description": "Jharkhand location-routing signal. Use canonical district name."
    },
    "district_name": {
      "type": "string",
      "description": "Jharkhand district-name alias accepted by the JH V1 resolver."
    },
    "city": {
      "type": "string",
      "description": "Jharkhand city/location routing signal."
    },
    "area": {
      "type": "string",
      "description": "Jharkhand service-area routing signal."
    },
    "pincode": {
      "type": [
        "string",
        "integer"
      ],
      "description": "Optional Jharkhand postal routing signal."
    },
    "boundary_verified": {
      "type": "boolean",
      "description": "Explicit boundary verification signal for ambiguous Jharkhand service areas."
    },
    "service_context": {
      "type": "string",
      "description": "Optional verified service/licensee context used by Jharkhand fail-closed routing."
    },
    "supply_type": {
      "type": "string",
      "description": "State-specific supply type. Jharkhand examples use LT or HT."
    },
    "use": {
      "type": "string",
      "description": "Jharkhand consumer-use signal such as DOMESTIC."
    },
    "area_class": {
      "type": "string",
      "description": "Jharkhand tariff area classification where required, for example RURAL or URBAN."
    },
    "consumption": {
      "type": "number",
      "minimum": 0,
      "description": "Jharkhand metered consumption used by VERIFIED_TARIFF_ESTIMATION_V1."
    },
    "consumption_unit": {
      "type": "string",
      "description": "Unit for Jharkhand consumption, for example kWh."
    },
    "voltage_kv": {
      "type": "number",
      "minimum": 0,
      "description": "Optional Jharkhand voltage signal for applicable HT/DVC routing."
    },
    "contract_demand_kw": {
      "type": "number",
      "minimum": 0,
      "description": "Optional contracted demand in kW."
    },
    "recorded_demand_kw": {
      "type": "number",
      "minimum": 0,
      "description": "Optional recorded demand in kW."
    },
    "contract_demand_kva": {
      "type": "number",
      "minimum": 0,
      "description": "Optional contracted demand in kVA."
    },
    "recorded_demand_kva": {
      "type": "number",
      "minimum": 0,
      "description": "Optional recorded demand in kVA."
    }
  },
  "additionalProperties": true,
  "$defs": {
    "DecimalInput": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^\\d{1,9}(?:\\.\\d{1,3})?$"
        },
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 999999999
        }
      ],
      "description": "Non-negative decimal string with at most three decimal places. Whole integer JSON values are also accepted and normalized to strings."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/powerexpertindia-com-calculation-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.