{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cleve-ai/json-schema/cleve-ai-folder-schema.json",
  "title": "Folder",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cleve-ai-openapi.yml#/components/schemas/Folder",
  "type": "object",
  "required": [
    "_id",
    "_creationTime",
    "name"
  ],
  "properties": {
    "_id": {
      "type": "string",
      "description": "Folder ID."
    },
    "_creationTime": {
      "type": "number",
      "description": "Creation time, milliseconds since the Unix epoch."
    },
    "userId": {
      "type": "string",
      "description": "ID of the folder's owner."
    },
    "name": {
      "type": "string"
    },
    "parentId": {
      "type": "string",
      "description": "Parent folder ID. Absent for top-level folders."
    },
    "isPublic": {
      "type": "boolean"
    },
    "isPublished": {
      "type": "boolean"
    },
    "publishedAt": {
      "type": "number"
    },
    "orgId": {
      "type": "string",
      "description": "Workspace ID."
    }
  }
}