{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chatinbox-net/json-schema/chatinbox-net-dashboard-chart-filter-vm-schema.json",
  "title": "DashboardChartFilterVM",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chatinbox-net-dashboard-api-openapi.yml#/components/schemas/DashboardChartFilterVM",
  "type": "object",
  "properties": {
    "startDate": {
      "type": "string",
      "format": "date-time"
    },
    "endDate": {
      "type": "string",
      "format": "date-time"
    },
    "selectedInstances": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "selectedUsers": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "chartSelectionType": {
      "$ref": "#/$defs/ChartSelectionType"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "ChartSelectionType": {
      "enum": [
        1,
        2,
        3,
        4,
        5
      ],
      "type": "integer",
      "format": "int32"
    }
  }
}