{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/power-bi/json-schema/power-bi-dataset-list-schema.json",
  "title": "DatasetList",
  "description": "A list of Power BI datasets",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/power-bi-datasets-api-openapi.yml#/components/schemas/DatasetList",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Dataset"
      }
    },
    "@odata.context": {
      "type": "string",
      "description": "OData context URL"
    }
  },
  "$defs": {
    "Dataset": {
      "type": "object",
      "description": "A Power BI dataset representing a data model",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "The unique identifier of the dataset"
        },
        "name": {
          "type": "string",
          "description": "The display name of the dataset"
        },
        "addRowsAPIEnabled": {
          "type": "boolean",
          "description": "Whether the push API is enabled for this dataset"
        },
        "configuredBy": {
          "type": "string",
          "description": "The user who configured the dataset"
        },
        "isRefreshable": {
          "type": "boolean",
          "description": "Whether the dataset can be refreshed"
        },
        "isEffectiveIdentityRequired": {
          "type": "boolean",
          "description": "Whether effective identity is required for embedding"
        },
        "isEffectiveIdentityRolesRequired": {
          "type": "boolean",
          "description": "Whether RLS roles are required for embedding"
        },
        "isOnPremGatewayRequired": {
          "type": "boolean",
          "description": "Whether an on-premises gateway is required"
        },
        "targetStorageMode": {
          "type": "string",
          "description": "The storage mode of the dataset",
          "enum": [
            "Import",
            "DirectQuery",
            "Dual",
            "PushDataset"
          ]
        },
        "createReportEmbedURL": {
          "type": "string",
          "format": "uri",
          "description": "URL to create an embedded report on this dataset"
        },
        "qnaEmbedURL": {
          "type": "string",
          "format": "uri",
          "description": "URL for the Q&A embedded experience"
        },
        "webUrl": {
          "type": "string",
          "format": "uri",
          "description": "The web URL of the dataset"
        },
        "createdDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time the dataset was created"
        },
        "contentProviderType": {
          "type": "string",
          "description": "The content provider type"
        }
      }
    }
  }
}