{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/powerexpertindia-com/json-schema/powerexpertindia-com-category-resolver-request-schema.json",
  "title": "CategoryResolverRequest",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/powerexpertindia-com-openapi.json#/components/schemas/CategoryResolverRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "state_code",
    "consumer_type",
    "domestic_class",
    "release_id",
    "verification_tier"
  ],
  "properties": {
    "state_code": {
      "type": "string",
      "enum": [
        "BR"
      ]
    },
    "consumer_type": {
      "type": "string",
      "enum": [
        "domestic"
      ]
    },
    "domestic_class": {
      "type": "string",
      "enum": [
        "urban",
        "general",
        "rural",
        "lifeline"
      ]
    },
    "connected_load": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^\\d{1,9}(?:\\.\\d{1,3})?$"
        },
        {
          "type": "integer",
          "minimum": 0
        }
      ]
    },
    "load_unit": {
      "type": "string",
      "description": "Case-insensitive kW input; normalized to kw."
    },
    "effective_on": {
      "type": "string",
      "format": "date"
    },
    "release_id": {
      "type": "string",
      "enum": [
        "BR-2026-27-VERIFIED-STRICT-BASE-V1"
      ]
    },
    "verification_tier": {
      "type": "string",
      "enum": [
        "verified_strict"
      ]
    }
  }
}