{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/contraforce/json-schema/contraforce-list-multiple-workspaces-general-request-dto-schema.json",
  "title": "ListMultipleWorkspacesGeneralRequestDto",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/contraforce-cross-workspace-data-sources-api-openapi.yml#/components/schemas/ListMultipleWorkspacesGeneralRequestDto",
  "type": "object",
  "properties": {
    "workspaceIds": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "string"
      }
    },
    "timeFilterSelection": {
      "description": "Canonical representation of a global time filter.\nWhen Type == Custom, CustomStartUtc and CustomEndUtc must be provided (UTC).",
      "$ref": "#/$defs/TimeFilterSelection"
    }
  },
  "$defs": {
    "TimeFilterSelection": {
      "type": "object",
      "properties": {
        "type": {
          "$ref": "#/$defs/TimeFilteringType"
        },
        "customStartUtc": {
          "type": [
            "null",
            "string"
          ],
          "format": "date-time"
        },
        "customEndUtc": {
          "type": [
            "null",
            "string"
          ],
          "format": "date-time"
        }
      },
      "description": "Canonical representation of a global time filter.\nWhen Type == Custom, CustomStartUtc and CustomEndUtc must be provided (UTC)."
    },
    "TimeFilteringType": {
      "enum": [
        "ThreeHours",
        "SixHours",
        "TwelveHours",
        "TwentyFourHours",
        "FortyEightHours",
        "Custom",
        "SevenDays",
        "ThirtyDays",
        "NinetyDays",
        "OneHundredEightyDays",
        "SixtyDays",
        null
      ]
    }
  }
}