Dub · Schema
FolderSchema
Dub FolderSchema
Link ManagementURL ShortenerAnalyticsConversion TrackingAffiliate ProgramsOpen Source
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The unique ID of the folder. |
| name | string | The name of the folder. |
| description | string | The description of the folder. |
| type | string | |
| accessLevel | string | The access level of the folder within the workspace. |
| createdAt | string | The date the folder was created. |
| updatedAt | string | The date the folder was updated. |
JSON Schema
{
"$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
}