{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-export-template-request-schema.json",
  "title": "ExportTemplateRequest",
  "description": "Export resource group template request parameters.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-resource-groups-api-openapi.yml#/components/schemas/ExportTemplateRequest",
  "type": "object",
  "properties": {
    "resources": {
      "type": "array",
      "description": "The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'.",
      "items": {
        "type": "string"
      }
    },
    "options": {
      "type": "string",
      "description": "The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'"
    },
    "outputFormat": {
      "$ref": "#/$defs/ExportTemplateOutputFormat",
      "description": "The output format for the exported resources."
    }
  },
  "$defs": {
    "ExportTemplateOutputFormat": {
      "type": "string",
      "description": "The output format for the exported resources.",
      "enum": [
        "Json",
        "Bicep"
      ],
      "x-ms-enum": {
        "name": "ExportTemplateOutputFormat",
        "modelAsString": true,
        "values": [
          {
            "name": "Json",
            "value": "Json",
            "description": "Json"
          },
          {
            "name": "Bicep",
            "value": "Bicep",
            "description": "Bicep"
          }
        ]
      }
    }
  }
}