{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/ca/net-metering/schema.json",
  "title": "Net Metering Credit Calculator — Canada inputs",
  "description": "Separate import charges, eligible export credits and non-offsettable standing charges for one billing period. CAD planning view; stated limitations apply.",
  "type": "object",
  "properties": {
    "importKwh": {
      "title": "Billing-period grid imports, kWh",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 600,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01
    },
    "exportKwh": {
      "title": "Billing-period eligible exports, kWh",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 300,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01
    },
    "importRate": {
      "title": "Import energy price per kWh",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0.2,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "exportRate": {
      "title": "Confirmed export credit per kWh",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0.05,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "fixedCharge": {
      "title": "Charges not offset by energy credits",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 20,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "cashSurplus": {
      "title": "Utility explicitly pays surplus credits in cash",
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "importKwh",
    "exportKwh",
    "importRate",
    "exportRate",
    "fixedCharge"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "20.16.0",
    "calculatorUrl": "https://askcalculators.com/ca/net-metering/",
    "queryExample": "https://askcalculators.com/ca/net-metering/?importKwh=600&exportKwh=300&importRate=0.2&exportRate=0.05&fixedCharge=20&cashSurplus=0",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "applied credit = minimum(import energy charge, eligible exports × credit rate).",
      "note": "Inputs are converted to canonical units before evaluating this stated formula."
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/v20-ca-net-metering.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "20.16.0",
      "referenceCoverage": "references-listed",
      "releaseTestScope": "Catalog and regression checks are not a professional formula audit; consult release evidence.",
      "historicalMetadataDate": "",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "importCost": {
        "title": "Import energy charge",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2
      },
      "exportValue": {
        "title": "Calculated export credit",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2
      },
      "appliedCredit": {
        "title": "Credit applied to import energy",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2
      },
      "bill": {
        "title": "Estimated remaining bill",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2,
        "x-primary": true
      },
      "surplus": {
        "title": "Surplus credit or cash balance",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2
      }
    }
  }
}
