{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/teamleader/json-schema/teamleader-post-files-upload-request-schema.json",
  "title": "PostFilesUploadRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/teamleader-files-api-openapi.yml#/components/schemas/PostFilesUploadRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name under which the file will be stored. This name should contain the same extension as the file that the user wants to upload."
    },
    "subject": {
      "type": "object"
    },
    "folder": {
      "type": "string",
      "description": "Name of a folder under which the file will be stored. Defaults to General in account's language if not passed."
    }
  },
  "required": [
    "name",
    "subject"
  ]
}