{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/decknote-app/json-schema/decknote-app-post-api-v1-imports-preview-request-schema.json",
  "title": "PostApiV1ImportsPreviewRequest",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/decknote-app-openapi-generated.yml#/components/schemas/PostApiV1ImportsPreviewRequest",
  "type": "object",
  "properties": {
    "csv": {
      "type": "string",
      "description": "CSV content"
    },
    "fileName": {
      "type": "string",
      "description": "original file name"
    },
    "source": {
      "type": "string",
      "description": "e.g., toggl"
    },
    "mapping": {
      "type": "object",
      "description": "column mapping"
    },
    "dateOrder": {
      "type": "string",
      "description": "dmy, mdy, ymd"
    },
    "durationUnit": {
      "type": "string",
      "description": "minutes, hours"
    },
    "createClients": {
      "type": "boolean",
      "description": "whether to create missing clients"
    }
  },
  "required": [
    "csv",
    "fileName",
    "source"
  ]
}