{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-fabric/json-schema/microsoft-fabric-rp-sku-enumeration-for-existing-resource-result-schema.json",
  "title": "RpSkuEnumerationForExistingResourceResult",
  "description": "An object that represents enumerating SKUs for existing resources",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-fabric-fabriccapacities-api-openapi.yml#/components/schemas/RpSkuEnumerationForExistingResourceResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The SKU details",
      "items": {
        "$ref": "#/$defs/RpSkuDetailsForExistingResource"
      },
      "x-ms-identifiers": []
    },
    "nextLink": {
      "type": "string",
      "description": "Url for the next page.  Null if no more pages available"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "RpSku": {
      "type": "object",
      "description": "Represents the SKU name and Azure pricing tier for Microsoft Fabric capacity resource.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the SKU level."
        },
        "tier": {
          "$ref": "#/$defs/RpSkuTier",
          "description": "The name of the Azure pricing tier to which the SKU applies."
        }
      },
      "required": [
        "name",
        "tier"
      ]
    },
    "RpSkuDetailsForExistingResource": {
      "type": "object",
      "description": "An object that represents SKU details for existing resources",
      "properties": {
        "resourceType": {
          "type": "string",
          "description": "The resource type"
        },
        "sku": {
          "$ref": "#/$defs/RpSku",
          "description": "The SKU details"
        }
      },
      "required": [
        "resourceType",
        "sku"
      ]
    },
    "RpSkuTier": {
      "type": "string",
      "description": "The name of the Azure pricing tier to which the SKU applies.",
      "enum": [
        "Fabric"
      ],
      "x-ms-enum": {
        "name": "RpSkuTier",
        "modelAsString": true,
        "values": [
          {
            "name": "fabric",
            "value": "Fabric",
            "description": "Fabric tier"
          }
        ]
      }
    }
  }
}