{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/greenpixie/json-schema/greenpixie-enriched-cloud-response-schema.json",
  "title": "EnrichedCloudResponse",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/greenpixie-openapi.yml#/components/schemas/EnrichedCloudResponse",
  "properties": {
    "provider": {
      "type": "string",
      "title": "Provider",
      "description": "Cloud service provider."
    },
    "granularity": {
      "type": "string",
      "title": "Granularity",
      "description": "Ratecard granularity. One of: full, service, usage."
    },
    "version": {
      "type": "string",
      "title": "Version",
      "description": "Cloud ratecard version returned."
    },
    "columns": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Columns",
      "description": "Names of the columns present on each record in `records`."
    },
    "grid_period": {
      "type": "string",
      "title": "Grid Period",
      "description": "Grid period used to enrich carbon columns. Accepts YYYY, YYYY-MM, or YYYY-MM-DD."
    },
    "grid_granularity": {
      "type": "string",
      "title": "Grid Granularity",
      "description": "Granularity of the grid lookup actually used. One of: year, month, day."
    },
    "grid_version": {
      "type": "string",
      "title": "Grid Version",
      "description": "Grid ratecard version used for enrichment."
    },
    "meta": {
      "$ref": "#/$defs/RatecardPageMeta"
    },
    "links": {
      "$ref": "#/$defs/RatecardPageLinks"
    },
    "records": {
      "items": {
        "oneOf": [
          {
            "properties": {
              "version": {
                "type": "string",
                "title": "Version",
                "description": "Cloud ratecard version this row belongs to."
              },
              "line_item_product_code": {
                "type": "string",
                "title": "Line Item Product Code",
                "description": "AWS service code (the CUR `lineItem/ProductCode`), e.g. `AmazonEC2`."
              },
              "line_item_usage_type": {
                "title": "Line Item Usage Type",
                "description": "AWS usage type (the CUR `lineItem/UsageType`). Present at `usage` and `full` granularity.",
                "type": "string"
              },
              "rate_code": {
                "title": "Rate Code",
                "description": "AWS rate code identifying the exact priced rate. Present at `full` granularity only.",
                "type": "string"
              },
              "sku": {
                "title": "Sku",
                "description": "AWS SKU. Present at `full` granularity only.",
                "type": "string"
              },
              "instance_type": {
                "title": "Instance Type",
                "description": "EC2 instance type, where applicable. Present at `usage` and `full` granularity.",
                "type": "string"
              },
              "region": {
                "type": "string",
                "title": "Region",
                "description": "Join label from the price catalogue, lowercased. A region code, or `global` where the provider itself calls the SKU global, or `unspecified` where the catalogue named no region at all. Map empty/null regions in your billing data onto `unspecified` before joining."
              },
              "location_independent": {
                "type": "boolean",
                "title": "Location Independent",
                "description": "True when the provider serves this SKU from any region, so its electricity, water and carbon come from global averages rather than from `region` — `region` is only where the charge lands. Today: Bedrock `cross-region-global` inference profiles. At `service` and `usage` granularity this is true only when every SKU in the group is location-independent."
              },
              "pricing_unit": {
                "type": "string",
                "title": "Pricing Unit",
                "description": "The unit AWS prices this line by, exactly as the `pricing/unit` column of the Cost and Usage Report spells it (for example `Hrs` or `GB-Mo`), so it can be used directly as a join key against billing data. The per-pricing-unit metrics below are expressed per one of these units."
              },
              "estimate_category": {
                "title": "Estimate Category",
                "description": "Estimate category for the row. May be null.",
                "type": "string"
              },
              "price_per_pricing_unit": {
                "title": "Price Per Pricing Unit",
                "description": "USD list price per pricing unit, averaged over the SKU's rate codes. Present at `full` granularity only. Null when the row has no published list price.",
                "type": "number"
              },
              "price_per_pricing_unit_mean": {
                "title": "Price Per Pricing Unit Mean",
                "description": "Mean USD list price per pricing unit, averaged across the rate codes aggregated into this row. Present at `service` and `usage` granularity. Averaged over the priced rate codes only, so it can rest on fewer rows than `rate_code_count`. Null when none of them has a published list price.",
                "type": "number"
              },
              "rate_code_count": {
                "title": "Rate Code Count",
                "description": "Number of underlying rate codes aggregated into this row. Present at `service` and `usage` granularity.",
                "type": "integer"
              },
              "usage_electricity_consumption_kwh_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Usage Electricity Consumption Kwh Per Pricing Unit",
                "description": "Electricity consumed per pricing unit, after applying infrastructure uplifts. Unit: kWh per pricing unit. Present at `full` granularity."
              },
              "usage_electricity_consumption_kwh_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Usage Electricity Consumption Kwh Per Pricing Unit Mean",
                "description": "Mean electricity per pricing unit (after uplifts), averaged across the rate codes aggregated into this row. Unit: kWh per pricing unit. Present at `service` and `usage` granularity."
              },
              "total_tonnes_co2e_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Tonnes Co2E Per Pricing Unit",
                "description": "Total operational + embodied carbon (scope 1, 2 and 3) per pricing unit, using the carbon intensity for the requested `grid_period`. Unit: tonnes CO2e per pricing unit. Present at `full` granularity."
              },
              "total_tonnes_co2e_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Tonnes Co2E Per Pricing Unit Mean",
                "description": "Mean total carbon per pricing unit, averaged across the rate codes aggregated into this row. Unit: tonnes CO2e per pricing unit. Present at `service` and `usage` granularity."
              },
              "scope1_tonnes_co2e_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope1 Tonnes Co2E Per Pricing Unit",
                "description": "Scope 1 carbon per pricing unit: the emissions uplift on the electricity used. Unit: tonnes CO2e per pricing unit. Present at `full` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope2_tonnes_co2e_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope2 Tonnes Co2E Per Pricing Unit",
                "description": "Scope 2 carbon per pricing unit: the electricity used, at the grid's direct (combustion) emission factor. Unit: tonnes CO2e per pricing unit. Present at `full` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope3_tonnes_co2e_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope3 Tonnes Co2E Per Pricing Unit",
                "description": "Scope 3 carbon per pricing unit: the upstream fuel supply and grid transmission losses of that electricity, plus embodied hardware emissions. Unit: tonnes CO2e per pricing unit. Present at `full` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope1_tonnes_co2e_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope1 Tonnes Co2E Per Pricing Unit Mean",
                "description": "Mean Scope 1 carbon per pricing unit: the emissions uplift on the electricity used. Averaged across the rate codes aggregated into this row. Unit: tonnes CO2e per pricing unit. Present at `service` and `usage` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope2_tonnes_co2e_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope2 Tonnes Co2E Per Pricing Unit Mean",
                "description": "Mean Scope 2 carbon per pricing unit: the electricity used, at the grid's direct (combustion) emission factor. Averaged across the rate codes aggregated into this row. Unit: tonnes CO2e per pricing unit. Present at `service` and `usage` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope3_tonnes_co2e_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope3 Tonnes Co2E Per Pricing Unit Mean",
                "description": "Mean Scope 3 carbon per pricing unit: the upstream fuel supply and grid transmission losses of that electricity, plus embodied hardware emissions. Averaged across the rate codes aggregated into this row. Unit: tonnes CO2e per pricing unit. Present at `service` and `usage` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "total_water_litres_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Water Litres Per Pricing Unit",
                "description": "Total water (datacentre cooling + grid electricity generation) per pricing unit. Unit: litres per pricing unit. Present at `full` granularity."
              },
              "total_water_litres_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Water Litres Per Pricing Unit Mean",
                "description": "Mean total water per pricing unit, averaged across the rate codes aggregated into this row. Unit: litres per pricing unit. Present at `service` and `usage` granularity."
              },
              "unsupported": {
                "title": "Unsupported",
                "description": "Only present when `include_unsupported=true`. True when the row has no methodology yet, so its factor columns are null because they are unsupported, not because they are masked out of plan.",
                "type": "boolean"
              }
            },
            "type": "object",
            "required": [
              "version",
              "line_item_product_code",
              "region",
              "location_independent",
              "pricing_unit"
            ],
            "title": "AwsCloudRecord",
            "description": "An AWS cloud ratecard row. Columns present depend on the requested\n`granularity` (`service`, `usage` or `full`)."
          },
          {
            "properties": {
              "version": {
                "type": "string",
                "title": "Version",
                "description": "Cloud ratecard version this row belongs to."
              },
              "service_name": {
                "type": "string",
                "title": "Service Name",
                "description": "GCP service resource path: the GCP Cloud Billing Catalog `Service.name`, e.g. `services/6F81-5844-456A`. This is an opaque identifier, not a readable label; use `service_display_name` for the human-readable name."
              },
              "service_display_name": {
                "title": "Service Display Name",
                "description": "Human-readable GCP service name, e.g. `Compute Engine`. When using this as a filter, URL-encode spaces as `%20` (e.g. `service_display_name=Compute%20Engine`). May be null for unknown services.",
                "type": "string"
              },
              "sku_id": {
                "title": "Sku Id",
                "description": "GCP SKU ID identifying the exact priced rate. Present at `full` granularity only.",
                "type": "string"
              },
              "description": {
                "title": "Description",
                "description": "Per-SKU description sentence, e.g. `C3 Instance Ram running in Belgium`. Present at `full` granularity only.",
                "type": "string"
              },
              "region": {
                "type": "string",
                "title": "Region",
                "description": "Join label from the price catalogue, lowercased. A GCP SKU valid in several regions returns one row per region, each with that region's factors. SKUs Google itself lists as `global` keep that value; SKUs whose catalogue entry names no region at all are `unspecified`. Map empty/null regions in your billing data onto `unspecified` before joining."
              },
              "location_independent": {
                "type": "boolean",
                "title": "Location Independent",
                "description": "True when the provider serves this SKU from any region, so its electricity, water and carbon come from global averages rather than from `region` — `region` is only where the charge lands. No GCP SKU carries it today. At `service` and `usage` granularity this is true only when every SKU in the group is location-independent."
              },
              "pricing_unit": {
                "type": "string",
                "title": "Pricing Unit",
                "description": "The unit GCP prices this SKU by, in the readable form the `usage.pricing_unit` column of the BigQuery billing export carries (for example `hour` or `gibibyte hour`), so it can be used directly as a join key against billing data. The per-pricing-unit metrics below are expressed per one of these units."
              },
              "estimate_category": {
                "title": "Estimate Category",
                "description": "Estimate category for the row. May be null.",
                "type": "string"
              },
              "category_resource_family": {
                "title": "Category Resource Family",
                "description": "GCP Cloud Billing Catalog `category.resourceFamily`: GCP's own coarse taxonomy for the SKU (`Compute`, `Network`, `Storage`, `License`, and others). Present at `full` granularity only. May be null.",
                "type": "string"
              },
              "category_resource_group": {
                "title": "Category Resource Group",
                "description": "GCP Cloud Billing Catalog `category.resourceGroup`: GCP's finer grouping under `category_resource_family` (`CPU`, `RAM`, `AiPlatform`, `PremiumInternetEgress`, and others). Present at `full` granularity only. May be null.",
                "type": "string"
              },
              "compute_family": {
                "title": "Compute Family",
                "description": "Greenpixie's machine-family label (`n2`, `e2`, `c3d`, `m1-ultramem`, and others) for Compute Engine CPU and RAM lines, including their commitment and sole-tenancy fee lines, derived from the SKU's product taxonomy. Null on every other SKU. Present at `full` granularity only.",
                "type": "string"
              },
              "price_per_pricing_unit": {
                "title": "Price Per Pricing Unit",
                "description": "USD first-tier list price per pricing unit. Present at `full` granularity only. Null when the row has no published list price.",
                "type": "number"
              },
              "price_per_pricing_unit_mean": {
                "title": "Price Per Pricing Unit Mean",
                "description": "Mean USD first-tier list price per pricing unit, averaged across the SKUs aggregated into this row. Present at `service` granularity. Averaged over the priced SKUs only, so it can rest on fewer rows than `sku_count`. Null when none of them has a published list price.",
                "type": "number"
              },
              "sku_count": {
                "title": "Sku Count",
                "description": "Number of underlying SKUs aggregated into this row. Present at `service` granularity.",
                "type": "integer"
              },
              "usage_electricity_consumption_kwh_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Usage Electricity Consumption Kwh Per Pricing Unit",
                "description": "Electricity consumed per pricing unit, after applying infrastructure uplifts. Unit: kWh per pricing unit. Present at `full` granularity."
              },
              "usage_electricity_consumption_kwh_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Usage Electricity Consumption Kwh Per Pricing Unit Mean",
                "description": "Mean electricity per pricing unit (after uplifts), averaged across the SKUs aggregated into this row. Unit: kWh per pricing unit. Present at `service` granularity."
              },
              "total_tonnes_co2e_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Tonnes Co2E Per Pricing Unit",
                "description": "Total operational + embodied carbon (scope 1, 2 and 3) per pricing unit, using the carbon intensity for the requested `grid_period`. Unit: tonnes CO2e per pricing unit. Present at `full` granularity."
              },
              "total_tonnes_co2e_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Tonnes Co2E Per Pricing Unit Mean",
                "description": "Mean total carbon per pricing unit, averaged across the SKUs aggregated into this row. Unit: tonnes CO2e per pricing unit. Present at `service` granularity."
              },
              "scope1_tonnes_co2e_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope1 Tonnes Co2E Per Pricing Unit",
                "description": "Scope 1 carbon per pricing unit: the emissions uplift on the electricity used. Unit: tonnes CO2e per pricing unit. Present at `full` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope2_tonnes_co2e_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope2 Tonnes Co2E Per Pricing Unit",
                "description": "Scope 2 carbon per pricing unit: the electricity used, at the grid's direct (combustion) emission factor. Unit: tonnes CO2e per pricing unit. Present at `full` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope3_tonnes_co2e_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope3 Tonnes Co2E Per Pricing Unit",
                "description": "Scope 3 carbon per pricing unit: the upstream fuel supply and grid transmission losses of that electricity, plus embodied hardware emissions. Unit: tonnes CO2e per pricing unit. Present at `full` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope1_tonnes_co2e_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope1 Tonnes Co2E Per Pricing Unit Mean",
                "description": "Mean Scope 1 carbon per pricing unit: the emissions uplift on the electricity used. Averaged across the SKUs aggregated into this row. Unit: tonnes CO2e per pricing unit. Present at `service` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope2_tonnes_co2e_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope2 Tonnes Co2E Per Pricing Unit Mean",
                "description": "Mean Scope 2 carbon per pricing unit: the electricity used, at the grid's direct (combustion) emission factor. Averaged across the SKUs aggregated into this row. Unit: tonnes CO2e per pricing unit. Present at `service` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope3_tonnes_co2e_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope3 Tonnes Co2E Per Pricing Unit Mean",
                "description": "Mean Scope 3 carbon per pricing unit: the upstream fuel supply and grid transmission losses of that electricity, plus embodied hardware emissions. Averaged across the SKUs aggregated into this row. Unit: tonnes CO2e per pricing unit. Present at `service` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "total_water_litres_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Water Litres Per Pricing Unit",
                "description": "Total water (datacentre cooling + grid electricity generation) per pricing unit. Unit: litres per pricing unit. Present at `full` granularity."
              },
              "total_water_litres_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Water Litres Per Pricing Unit Mean",
                "description": "Mean total water per pricing unit, averaged across the SKUs aggregated into this row. Unit: litres per pricing unit. Present at `service` granularity."
              },
              "unsupported": {
                "title": "Unsupported",
                "description": "Only present when `include_unsupported=true`. True when the row has no methodology yet, so its factor columns are null because they are unsupported, not because they are masked out of plan.",
                "type": "boolean"
              }
            },
            "type": "object",
            "required": [
              "version",
              "service_name",
              "region",
              "location_independent",
              "pricing_unit"
            ],
            "title": "GcpCloudRecord",
            "description": "A GCP cloud ratecard row. Columns present depend on the requested\n`granularity` (`service` or `full`; GCP has no `usage` granularity)."
          },
          {
            "properties": {
              "version": {
                "type": "string",
                "title": "Version",
                "description": "Cloud ratecard version this row belongs to."
              },
              "meter_category": {
                "type": "string",
                "title": "Meter Category",
                "description": "Azure meter category, the service grouping, e.g. `Virtual Machines`."
              },
              "meter_name": {
                "title": "Meter Name",
                "description": "Azure meter name. Present at `usage` and `full` granularity.",
                "type": "string"
              },
              "meter_id": {
                "title": "Meter Id",
                "description": "Azure meter ID identifying the exact metered rate. Present at `full` granularity only.",
                "type": "string"
              },
              "region": {
                "type": "string",
                "title": "Region",
                "description": "Join label from the price catalogue, lowercased. A region code, or `global` where the provider itself calls the SKU global, or `unspecified` where the catalogue named no region at all. Map empty/null regions in your billing data onto `unspecified` before joining."
              },
              "sku_name": {
                "title": "Sku Name",
                "description": "Azure SKU name from the price catalogue (`skuName`), e.g. `Standard LRS` or `D2s v3`. Cost exports do not carry this column, so it is not a join key: where several SKU names share one meter (the storage replication tiers, or the vCore sizes of a database meter) they carry the same sustainability factors and differ only in list price. `unspecified` where the price catalogue names none. Present at `full` granularity only.",
                "type": "string"
              },
              "arm_sku_name": {
                "title": "Arm Sku Name",
                "description": "Azure Resource Manager SKU name from the price catalogue (`armSkuName`): the VM size on virtual machines (e.g. `Standard_D2s_v3`), a product SKU id on some other services (e.g. `Cosmos_DB_2_Million_mRUs`). On virtual machine lines your cost export carries the same value inside `AdditionalInfo` as `ServiceType` (EA and MCA exports) or inside `x_SkuDetails` (FOCUS exports); join on it there, because one meter name can bill several sizes (`DS14 v2` bills `Standard_DS14_v2`, `Standard_DS14-4_v2` and `Standard_DS14-8_v2`). Leave it out of the join on other lines. `unspecified` where the price catalogue names none. Present at `usage` and `full` granularity.",
                "type": "string"
              },
              "location_independent": {
                "type": "boolean",
                "title": "Location Independent",
                "description": "True when the provider serves this SKU from any region, so its electricity, water and carbon come from global averages rather than from `region` — `region` is only where the charge lands. Today: Azure OpenAI Global and Data Zone deployments. At `service` and `usage` granularity this is true only when every SKU in the group is location-independent."
              },
              "usage_unit": {
                "type": "string",
                "title": "Usage Unit",
                "description": "The unit Azure prices this meter by; the per-pricing-unit metrics below are expressed per one of these."
              },
              "unit_of_measure": {
                "type": "string",
                "title": "Unit Of Measure",
                "description": "The unit Azure prices this meter by, named after the `unitOfMeasure` column of the Azure cost export, so it can be used directly as a join key against billing data. `unspecified` where the price catalogue names no unit."
              },
              "estimate_category": {
                "title": "Estimate Category",
                "description": "Estimate category for the row. May be null.",
                "type": "string"
              },
              "price_per_pricing_unit": {
                "title": "Price Per Pricing Unit",
                "description": "USD list price per usage unit. Present at `full` granularity only. Null when the row has no USD list price (e.g. Azure China meters, priced in CNY), no published price, or only a reservation price (a price for the whole reservation term, not per unit).",
                "type": "number"
              },
              "price_per_pricing_unit_mean": {
                "title": "Price Per Pricing Unit Mean",
                "description": "Mean USD list price per usage unit, averaged across the meters aggregated into this row. Present at `service` and `usage` granularity. Averaged over the meters carrying a USD price only (Azure China meters are priced in CNY and excluded), so it can rest on fewer rows than `meter_count`. Null when none of them has a USD list price.",
                "type": "number"
              },
              "meter_count": {
                "title": "Meter Count",
                "description": "Number of underlying meters aggregated into this row. Present at `service` and `usage` granularity.",
                "type": "integer"
              },
              "usage_electricity_consumption_kwh_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Usage Electricity Consumption Kwh Per Pricing Unit",
                "description": "Electricity consumed per pricing unit, after applying infrastructure uplifts. Unit: kWh per pricing unit. Present at `full` granularity."
              },
              "usage_electricity_consumption_kwh_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Usage Electricity Consumption Kwh Per Pricing Unit Mean",
                "description": "Mean electricity per pricing unit (after uplifts), averaged across the meters aggregated into this row. Unit: kWh per pricing unit. Present at `service` and `usage` granularity."
              },
              "total_tonnes_co2e_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Tonnes Co2E Per Pricing Unit",
                "description": "Total operational + embodied carbon (scope 1, 2 and 3) per pricing unit, using the carbon intensity for the requested `grid_period`. Unit: tonnes CO2e per pricing unit. Present at `full` granularity."
              },
              "total_tonnes_co2e_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Tonnes Co2E Per Pricing Unit Mean",
                "description": "Mean total carbon per pricing unit, averaged across the meters aggregated into this row. Unit: tonnes CO2e per pricing unit. Present at `service` and `usage` granularity."
              },
              "scope1_tonnes_co2e_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope1 Tonnes Co2E Per Pricing Unit",
                "description": "Scope 1 carbon per pricing unit: the emissions uplift on the electricity used. Unit: tonnes CO2e per pricing unit. Present at `full` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope2_tonnes_co2e_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope2 Tonnes Co2E Per Pricing Unit",
                "description": "Scope 2 carbon per pricing unit: the electricity used, at the grid's direct (combustion) emission factor. Unit: tonnes CO2e per pricing unit. Present at `full` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope3_tonnes_co2e_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope3 Tonnes Co2E Per Pricing Unit",
                "description": "Scope 3 carbon per pricing unit: the upstream fuel supply and grid transmission losses of that electricity, plus embodied hardware emissions. Unit: tonnes CO2e per pricing unit. Present at `full` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope1_tonnes_co2e_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope1 Tonnes Co2E Per Pricing Unit Mean",
                "description": "Mean Scope 1 carbon per pricing unit: the emissions uplift on the electricity used. Averaged across the meters aggregated into this row. Unit: tonnes CO2e per pricing unit. Present at `service` and `usage` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope2_tonnes_co2e_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope2 Tonnes Co2E Per Pricing Unit Mean",
                "description": "Mean Scope 2 carbon per pricing unit: the electricity used, at the grid's direct (combustion) emission factor. Averaged across the meters aggregated into this row. Unit: tonnes CO2e per pricing unit. Present at `service` and `usage` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "scope3_tonnes_co2e_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Scope3 Tonnes Co2E Per Pricing Unit Mean",
                "description": "Mean Scope 3 carbon per pricing unit: the upstream fuel supply and grid transmission losses of that electricity, plus embodied hardware emissions. Averaged across the meters aggregated into this row. Unit: tonnes CO2e per pricing unit. Present at `service` and `usage` granularity. The three scope columns add up to the total. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the grid version has no scope split for the requested period."
              },
              "total_water_litres_per_pricing_unit": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Water Litres Per Pricing Unit",
                "description": "Total water (datacentre cooling + grid electricity generation) per pricing unit. Unit: litres per pricing unit. Present at `full` granularity."
              },
              "total_water_litres_per_pricing_unit_mean": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Water Litres Per Pricing Unit Mean",
                "description": "Mean total water per pricing unit, averaged across the meters aggregated into this row. Unit: litres per pricing unit. Present at `service` and `usage` granularity."
              },
              "unsupported": {
                "title": "Unsupported",
                "description": "Only present when `include_unsupported=true`. True when the row has no methodology yet, so its factor columns are null because they are unsupported, not because they are masked out of plan.",
                "type": "boolean"
              }
            },
            "type": "object",
            "required": [
              "version",
              "meter_category",
              "region",
              "location_independent",
              "usage_unit",
              "unit_of_measure"
            ],
            "title": "AzureCloudRecord",
            "description": "An Azure cloud ratecard row. Columns present depend on the requested\n`granularity` (`service`, `usage` or `full`)."
          }
        ]
      },
      "type": "array",
      "title": "Records",
      "description": "Ratecard rows. Each record matches one of the per-provider record schemas; the exact columns present depend on `(provider, granularity)`. See the `columns` field above for the precise keys on each record. On supported rows outside your plan the sustainability factor values are returned as the string \"OUTSIDE_OF_PLAN\"; the dimension columns are always populated. Unsupported rows (no methodology yet) instead carry null factor values, whether in or out of plan."
    }
  },
  "type": "object",
  "required": [
    "provider",
    "granularity",
    "version",
    "columns",
    "grid_period",
    "grid_granularity",
    "grid_version",
    "meta",
    "links",
    "records"
  ],
  "$defs": {
    "RatecardPageLinks": {
      "properties": {
        "self": {
          "type": "string",
          "title": "Self",
          "description": "URL of the current page."
        },
        "next": {
          "title": "Next",
          "description": "URL of the next page, if any.",
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "self"
      ],
      "title": "RatecardPageLinks"
    },
    "RatecardPageMeta": {
      "properties": {
        "limit": {
          "type": "integer",
          "title": "Limit",
          "description": "Maximum number of records requested on this page."
        },
        "returned_count": {
          "type": "integer",
          "title": "Returned Count",
          "description": "Actual number of records returned on this page."
        },
        "total_count": {
          "title": "Total Count",
          "description": "Total number of records matching the current filters (ignoring pagination). Useful for progress indicators. Only present on the first page of results.",
          "type": "integer"
        },
        "total_count_at_least": {
          "title": "Total Count At Least",
          "description": "A floor on the total when counting the matches exactly would cost more than the page itself: there are at least this many records, and counting stopped there. Present instead of `total_count`, never alongside it. Narrow the query with a column filter to get an exact figure.",
          "type": "integer"
        },
        "has_more": {
          "type": "boolean",
          "title": "Has More",
          "description": "True if more records exist beyond this page."
        },
        "unlocked_count": {
          "title": "Unlocked Count",
          "description": "How many of the matching records your plan returns real values for. Only present alongside `total_count` (first page, `include_totals=true`).",
          "type": "integer"
        },
        "locked_count": {
          "title": "Locked Count",
          "description": "How many of the matching records come back with their sustainability values withheld as OUTSIDE_OF_PLAN. Only present alongside `total_count`.",
          "type": "integer"
        },
        "next_cursor": {
          "title": "Next Cursor",
          "description": "Opaque cursor for the next page. Pass this back as the `cursor` query parameter to fetch the next page. Null when there are no more pages.",
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "limit",
        "returned_count",
        "has_more"
      ],
      "title": "RatecardPageMeta"
    }
  }
}