{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/power-bi/json-schema/power-bi-available-features-schema.json",
  "title": "AvailableFeatures",
  "description": "OData response wrapper for a Power BI available features list",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/power-bi-availablefeatures-api-openapi.yml#/components/schemas/AvailableFeatures",
  "properties": {
    "@odata.context": {
      "type": "string"
    },
    "features": {
      "type": "array",
      "description": "The available features list",
      "items": {
        "$ref": "#/$defs/AvailableFeature"
      }
    }
  },
  "$defs": {
    "AdditionalFeatureInfo": {
      "description": "Additional feature information",
      "properties": {
        "Usage": {
          "type": "integer",
          "description": "Workspaces that aren't assigned to a capacity get a limited amount of [embed tokens](/power-bi/developer/embedded/embed-tokens#embed-token), to allow experimenting with the APIs. The `Usage` value represents the percentage of embed tokens that have been consumed. The `Usage` value only applies to the **embed trial** feature. For more information, see [Development testing](/power-bi/developer/embedded/move-to-production#development-testing)."
        }
      }
    },
    "AvailableFeature": {
      "required": [
        "name",
        "state",
        "extendedState"
      ],
      "description": "A Power BI available feature",
      "properties": {
        "name": {
          "type": "string",
          "description": "The feature name"
        },
        "state": {
          "type": "string",
          "enum": [
            "Enabled",
            "Disabled"
          ],
          "x-ms-enum": {
            "name": "FeatureState",
            "modelAsExtensible": true
          },
          "description": "The feature state"
        },
        "extendedState": {
          "type": "string",
          "enum": [
            "Enabled",
            "DisabledByAdmin",
            "UserNotLicensed"
          ],
          "x-ms-enum": {
            "name": "FeatureExtendedState",
            "modelAsExtensible": true
          },
          "description": "The feature extended state"
        },
        "additionalInfo": {
          "description": "Additional feature information",
          "$ref": "#/$defs/AdditionalFeatureInfo"
        }
      }
    }
  }
}