{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/power-bi/json-schema/power-bi-create-install-ticket-request-schema.json",
  "title": "CreateInstallTicketRequest",
  "description": "A request to create a Power BI install ticket",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/power-bi-templateapps-api-openapi.yml#/components/schemas/CreateInstallTicketRequest",
  "properties": {
    "installDetails": {
      "type": "array",
      "description": "List of install details",
      "items": {
        "$ref": "#/$defs/TemplateAppInstallDetails"
      }
    }
  },
  "$defs": {
    "TemplateAppConfigurationRequest": {
      "description": "An automated install configuration for a Power BI template app (dictionary of name-value pairs)",
      "properties": {
        "configuration": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "TemplateAppInstallDetails": {
      "required": [
        "appId",
        "packageKey",
        "ownerTenantId"
      ],
      "description": "The install details for a Power BI template app",
      "properties": {
        "appId": {
          "type": "string",
          "format": "uuid",
          "description": "The unique ID of the Power BI template app"
        },
        "packageKey": {
          "type": "string",
          "description": "The secure key for the Power BI template app version"
        },
        "ownerTenantId": {
          "type": "string",
          "format": "uuid",
          "description": "The tenant ID of the Power BI template app owner"
        },
        "config": {
          "$ref": "#/$defs/TemplateAppConfigurationRequest",
          "description": "The automated install configuration"
        }
      }
    }
  }
}