{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/softsync-ai/json-schema/softsync-ai-add-uploads-dto-schema.json",
  "title": "AddUploadsDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/softsync-ai-files-api-openapi.yml#/components/schemas/AddUploadsDto",
  "type": "object",
  "properties": {
    "files": {
      "description": "Files from POST /file/workspace/upload",
      "type": "array",
      "items": {
        "$ref": "#/$defs/UploadedFileDto"
      }
    },
    "parentId": {
      "type": "string"
    }
  },
  "required": [
    "files"
  ],
  "$defs": {
    "UploadedFileDto": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string"
        },
        "fileName": {
          "type": "string"
        },
        "fileSize": {
          "type": "number"
        },
        "mime": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "uploadedAt": {
          "type": "string"
        },
        "uploadedBy": {
          "type": "string"
        },
        "workspaceId": {
          "type": "string"
        }
      },
      "required": [
        "path",
        "fileName",
        "fileSize",
        "mime"
      ]
    }
  }
}