{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/power-bi/json-schema/power-bi-available-feature-schema.json",
  "title": "AvailableFeature",
  "description": "A Power BI available feature",
  "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/AvailableFeature",
  "required": [
    "name",
    "state",
    "extendedState"
  ],
  "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"
    }
  },
  "$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)."
        }
      }
    }
  }
}