{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cosuno/json-schema/cosuno-update-file-tree-item-input-schema.json",
  "title": "UpdateFileTreeItemInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cosuno-bids-api-openapi.yml#/components/schemas/UpdateFileTreeItemInput",
  "properties": {
    "name": {
      "type": "string",
      "description": "New name for the file or folder. Cannot be empty or whitespace-only.",
      "pattern": "\\S"
    },
    "parentId": {
      "type": "string",
      "description": "ID of the folder to move the item into. Use `root` to move the item to the top of the file tree."
    }
  },
  "type": "object",
  "additionalProperties": false
}