changedInput schema / oneOf
Previous value: -[
- {
- "properties": {
- "kind": {
- "const": "folders",
- "description": "Select the folders operation explicitly.",
- "type": "string"
- },
- "parentId": {
- "description": "UUID returned by the corresponding list or read operation.",
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- {
- "allOf": [
- {
- "not": {
- "anyOf": [
- {
- "required": [
- "parentId"
- ]
- }
- ]
- }
- }
- ],
- "properties": {
- "kind": {
- "const": "categories",
- "description": "Select the categories operation explicitly.",
- "type": "string"
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- {
- "allOf": [
- {
- "not": {
- "anyOf": [
- {
- "required": [
- "parentId"
- ]
- }
- ]
- }
- }
- ],
- "properties": {
- "kind": {
- "const": "tags",
- "description": "Select the tags operation explicitly.",
- "type": "string"
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "allOf": [
+ {
+ "not": {
+ "anyOf": [
+ {
+ "required": [
+ "parentId"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "properties": {
+ "kind": {
+ "const": "workspaces",
+ "description": "Discover every workspace granted to this connection, including empty ones.",
+ "type": "string"
+ },
+ "workspaceId": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "description": "Workspace UUID from list_workspace_structure(kind=workspaces). Required for ambiguous creates and structure changes; omit to search all granted scopes.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "kind": {
+ "const": "folders",
+ "description": "Select the folders operation explicitly.",
+ "type": "string"
+ },
+ "parentId": {
+ "description": "UUID returned by the corresponding list or read operation.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "workspaceId": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "description": "Workspace UUID from list_workspace_structure(kind=workspaces). Required for ambiguous creates and structure changes; omit to search all granted scopes.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "not": {
+ "anyOf": [
+ {
+ "required": [
+ "parentId"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "properties": {
+ "kind": {
+ "const": "categories",
+ "description": "Select the categories operation explicitly.",
+ "type": "string"
+ },
+ "workspaceId": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "description": "Workspace UUID from list_workspace_structure(kind=workspaces). Required for ambiguous creates and structure changes; omit to search all granted scopes.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "not": {
+ "anyOf": [
+ {
+ "required": [
+ "parentId"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "properties": {
+ "kind": {
+ "const": "tags",
+ "description": "Select the tags operation explicitly.",
+ "type": "string"
+ },
+ "workspaceId": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "description": "Workspace UUID from list_workspace_structure(kind=workspaces). Required for ambiguous creates and structure changes; omit to search all granted scopes.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ }
+]
changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "folders",
- "type": "string"
- },
- "result": {
- "items": {
- "$ref": "#/$defs/__schema0"
- },
- "type": "array"
- }
- },
- "required": [
- "operation",
- "result"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "categories",
- "type": "string"
- },
- "result": {
- "items": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "apiMode": {
- "enum": [
- "unavailable",
- "global",
- "category"
- ],
- "type": "string"
- },
- "apiPermissionEdit": {
- "type": "boolean"
- },
- "apiPermissionRead": {
- "type": "boolean"
- },
- "apiPermissionWrite": {
- "type": "boolean"
- },
- "createdAt": {
- "type": "string"
- },
- "documentCount": {
- "type": "number"
- },
- "folderCount": {
- "type": "number"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "order": {
- "type": "number"
- },
- "updatedAt": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "order",
- "createdAt",
- "updatedAt",
- "apiMode",
- "apiPermissionRead",
- "apiPermissionEdit",
- "apiPermissionWrite"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "createdAt": {
- "type": "string"
- },
- "documentCount": {
- "type": "number"
- },
- "folderCount": {
- "type": "number"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "order": {
- "type": "number"
- },
- "updatedAt": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "order",
- "createdAt",
- "updatedAt"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- }
- },
- "required": [
- "operation",
- "result"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "tags",
- "type": "string"
- },
- "result": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "color": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "createdAt": {
- "type": "string"
- },
- "documentCount": {
- "type": "number"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "operation",
- "result"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "workspaces",
+ "type": "string"
+ },
+ "result": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "categoryIds": {
+ "items": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "entireWorkspace": {
+ "type": "boolean"
+ },
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "slug",
+ "entireWorkspace",
+ "categoryIds"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "operation",
+ "result"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "folders",
+ "type": "string"
+ },
+ "result": {
+ "items": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "operation",
+ "result"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "categories",
+ "type": "string"
+ },
+ "result": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "apiMode": {
+ "enum": [
+ "unavailable",
+ "global",
+ "category"
+ ],
+ "type": "string"
+ },
+ "apiPermissionEdit": {
+ "type": "boolean"
+ },
+ "apiPermissionRead": {
+ "type": "boolean"
+ },
+ "apiPermissionWrite": {
+ "type": "boolean"
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "documentCount": {
+ "type": "number"
+ },
+ "folderCount": {
+ "type": "number"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "order": {
+ "type": "number"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "order",
+ "createdAt",
+ "updatedAt",
+ "apiMode",
+ "apiPermissionRead",
+ "apiPermissionEdit",
+ "apiPermissionWrite"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "createdAt": {
+ "type": "string"
+ },
+ "documentCount": {
+ "type": "number"
+ },
+ "folderCount": {
+ "type": "number"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "order": {
+ "type": "number"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "order",
+ "createdAt",
+ "updatedAt"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "operation",
+ "result"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "tags",
+ "type": "string"
+ },
+ "result": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "color": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "documentCount": {
+ "type": "number"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "operation",
+ "result"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "type": "string"
+ },
+ "scopedResults": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "categoryId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "data": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "workspaces",
+ "type": "string"
+ },
+ "result": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "categoryIds": {
+ "items": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "entireWorkspace": {
+ "type": "boolean"
+ },
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "slug",
+ "entireWorkspace",
+ "categoryIds"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "operation",
+ "result"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "folders",
+ "type": "string"
+ },
+ "result": {
+ "items": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "operation",
+ "result"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "categories",
+ "type": "string"
+ },
+ "result": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "apiMode": {
+ "enum": [
+ "unavailable",
+ "global",
+ "category"
+ ],
+ "type": "string"
+ },
+ "apiPermissionEdit": {
+ "type": "boolean"
+ },
+ "apiPermissionRead": {
+ "type": "boolean"
+ },
+ "apiPermissionWrite": {
+ "type": "boolean"
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "documentCount": {
+ "type": "number"
+ },
+ "folderCount": {
+ "type": "number"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "order": {
+ "type": "number"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "order",
+ "createdAt",
+ "updatedAt",
+ "apiMode",
+ "apiPermissionRead",
+ "apiPermissionEdit",
+ "apiPermissionWrite"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "createdAt": {
+ "type": "string"
+ },
+ "documentCount": {
+ "type": "number"
+ },
+ "folderCount": {
+ "type": "number"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "order": {
+ "type": "number"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "order",
+ "createdAt",
+ "updatedAt"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "operation",
+ "result"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "tags",
+ "type": "string"
+ },
+ "result": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "color": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "documentCount": {
+ "type": "number"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "operation",
+ "result"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "workspace": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "slug"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "workspace",
+ "categoryId",
+ "data"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "operation",
+ "scopedResults"
+ ],
+ "type": "object"
+ }
+]