{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/retool/main/json-schema/retool-folder-schema.json",
  "title": "Folder",
  "description": "A Retool folder for organizing apps, resources, or workflows.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/retool-folders-api-openapi.yml#/components/schemas/Folder",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier for the folder."
    },
    "name": {
      "type": "string",
      "description": "The name of the folder."
    },
    "folderType": {
      "type": "string",
      "description": "The type of content this folder organizes.",
      "enum": [
        "app",
        "resource",
        "workflow"
      ]
    },
    "parentFolderId": {
      "type": "string",
      "description": "The identifier of the parent folder, if nested."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the folder was created."
    }
  }
}