{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-cost-management/json-schema/microsoft-azure-cost-management-export-run-request-schema.json",
  "title": "ExportRunRequest",
  "description": "The export run request.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-cost-management-exports-api-openapi.yml#/components/schemas/ExportRunRequest",
  "type": "object",
  "properties": {
    "timePeriod": {
      "$ref": "#/$defs/ExportTimePeriod",
      "description": "Has time period for pulling data for the export."
    }
  },
  "$defs": {
    "ExportTimePeriod": {
      "type": "object",
      "description": "The date range for data in the export. This should only be specified with timeFrame set to 'Custom'. The maximum date range is 1 calendar month.",
      "properties": {
        "from": {
          "type": "string",
          "format": "date-time",
          "description": "The start date for export data."
        },
        "to": {
          "type": "string",
          "format": "date-time",
          "description": "The end date for export data."
        }
      },
      "required": [
        "from",
        "to"
      ]
    }
  }
}