{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://raw.githubusercontent.com/api-evangelist/dub/refs/heads/main/json-schema/dub-folder-schema.json", "title": "FolderSchema", "description": "Dub FolderSchema", "type": "object", "properties": { "id": { "type": "string", "description": "The unique ID of the folder." }, "name": { "type": "string", "description": "The name of the folder." }, "description": { "nullable": true, "description": "The description of the folder.", "type": "string" }, "type": { "type": "string", "enum": [ "default", "mega" ] }, "accessLevel": { "default": null, "description": "The access level of the folder within the workspace.", "nullable": true, "type": "string", "enum": [ "write", "read" ] }, "createdAt": { "description": "The date the folder was created.", "type": "string" }, "updatedAt": { "description": "The date the folder was updated.", "type": "string" } }, "required": [ "id", "name", "description", "type", "accessLevel", "createdAt", "updatedAt" ], "additionalProperties": false }