{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/armis/json-schema/armis-data-export-patch-request-schema.json",
  "title": "DataExportPatchRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/armis-data-export-api-openapi.yml#/components/schemas/DataExportPatchRequest",
  "properties": {
    "enabled": {
      "type": "boolean",
      "title": "Enabled"
    },
    "time_frame_days": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 90,
          "minimum": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Time Frame Days",
      "description": "Size of the exported time window, in days.\n\nSupported values differ per entity. Omit to use the entity's default.\n\n| Entity | Supported `time_frame_days` | Default | Notes |\n| --- | --- | --- | --- |\n| `applications` | 2, 7, 14, 30 | 30 |  |\n| `device-delete-events` | 2, 7, 14, 30, 90 | 14 |  |\n| `device-merge-events` | 2, 7, 14, 30, 90 | 14 |  |\n| `ip-connections` | 1-7 | - | accepted when reading, to pick the aggregation date; cannot be set when enabling the export |\n| `risk-factors` | 2, 7, 14, 30 | 30 |  |\n| `vulnerabilities` | 2, 7, 14, 30 | 30 |  |"
    }
  },
  "type": "object",
  "required": [
    "enabled"
  ]
}