changedInput schema / oneOf
Previous value: -[
- {
- "allOf": [
- {
- "not": {
- "anyOf": [
- {
- "required": [
- "query"
- ]
- },
- {
- "required": [
- "folder"
- ]
- },
- {
- "required": [
- "tags"
- ]
- }
- ]
- }
- }
- ],
- "properties": {
- "folderId": {
- "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"
- },
- "limit": {
- "description": "Maximum documents per page, up to 1000.",
- "maximum": 1000,
- "minimum": 1,
- "type": "integer"
- },
- "mode": {
- "const": "list",
- "description": "Select the list operation explicitly.",
- "type": "string"
- },
- "page": {
- "description": "One-based page number; defaults to the API first page.",
- "maximum": 9007199254740991,
- "minimum": 1,
- "type": "integer"
- },
- "tag": {
- "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": [
- "mode"
- ],
- "type": "object"
- },
- {
- "allOf": [
- {
- "not": {
- "anyOf": [
- {
- "required": [
- "folderId"
- ]
- },
- {
- "required": [
- "tag"
- ]
- },
- {
- "required": [
- "page"
- ]
- }
- ]
- }
- }
- ],
- "properties": {
- "folder": {
- "description": "Optional folder UUID filter for search.",
- "type": "string"
- },
- "limit": {
- "description": "Maximum results to return, up to 100.",
- "maximum": 100,
- "minimum": 1,
- "type": "integer"
- },
- "mode": {
- "const": "search",
- "description": "Select the search operation explicitly.",
- "type": "string"
- },
- "query": {
- "description": "Text to search in the original language.",
- "minLength": 1,
- "type": "string"
- },
- "tags": {
- "description": "Optional tag names; all supplied names must match.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "mode",
- "query"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "allOf": [
+ {
+ "not": {
+ "anyOf": [
+ {
+ "required": [
+ "query"
+ ]
+ },
+ {
+ "required": [
+ "folder"
+ ]
+ },
+ {
+ "required": [
+ "tags"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "properties": {
+ "folderId": {
+ "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"
+ },
+ "limit": {
+ "description": "Maximum documents per page, up to 1000.",
+ "maximum": 1000,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "mode": {
+ "const": "list",
+ "description": "Select the list operation explicitly.",
+ "type": "string"
+ },
+ "page": {
+ "description": "One-based page number; defaults to the API first page.",
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "tag": {
+ "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": [
+ "mode"
+ ],
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "not": {
+ "anyOf": [
+ {
+ "required": [
+ "folderId"
+ ]
+ },
+ {
+ "required": [
+ "tag"
+ ]
+ },
+ {
+ "required": [
+ "page"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "properties": {
+ "folder": {
+ "description": "Optional folder UUID filter for search.",
+ "type": "string"
+ },
+ "limit": {
+ "description": "Maximum results to return, up to 100.",
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "mode": {
+ "const": "search",
+ "description": "Select the search operation explicitly.",
+ "type": "string"
+ },
+ "query": {
+ "description": "Text to search in the original language.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "tags": {
+ "description": "Optional tag names; all supplied names must match.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "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": [
+ "mode",
+ "query"
+ ],
+ "type": "object"
+ }
+]
changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "list",
- "type": "string"
- },
- "result": {
- "additionalProperties": {},
- "properties": {
- "items": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "categoryId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "categoryName": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "content": {
- "type": "string"
- },
- "createdAt": {
- "type": "string"
- },
- "folderId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "folderName": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "tags": {
- "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"
- },
- "title": {
- "type": "string"
- },
- "updatedAt": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "title",
- "content",
- "folderId",
- "folderName",
- "categoryId",
- "categoryName",
- "createdAt",
- "updatedAt",
- "tags"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "limit": {
- "type": "number"
- },
- "page": {
- "type": "number"
- },
- "total": {
- "type": "number"
- }
- },
- "required": [
- "items",
- "total",
- "page",
- "limit"
- ],
- "type": "object"
- }
- },
- "required": [
- "operation",
- "result"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "search",
- "type": "string"
- },
- "result": {
- "additionalProperties": {},
- "properties": {
- "diagnostics": {
- "additionalProperties": {},
- "properties": {
- "graphAttempted": {
- "type": "boolean"
- },
- "graphContribution": {
- "type": "boolean"
- },
- "graphFailed": {
- "type": "boolean"
- }
- },
- "required": [
- "graphAttempted",
- "graphFailed",
- "graphContribution"
- ],
- "type": "object"
- },
- "items": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "chunks": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "charEnd": {
- "type": "number"
- },
- "charStart": {
- "type": "number"
- },
- "chunkIndex": {
- "type": "number"
- },
- "chunkText": {
- "type": "string"
- },
- "score": {
- "type": "number"
- }
- },
- "required": [
- "chunkIndex",
- "chunkText",
- "charStart",
- "charEnd",
- "score"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "created_at": {
- "type": "string"
- },
- "folder_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "folder_name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "score": {
- "type": "number"
- },
- "snippet": {
- "type": "string"
- },
- "tags": {
- "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"
- },
- "title": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "title",
- "snippet",
- "score",
- "folder_id",
- "folder_name",
- "created_at",
- "updated_at"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "limit": {
- "type": "number"
- },
- "page": {
- "type": "number"
- },
- "total": {
- "type": "number"
- }
- },
- "required": [
- "items",
- "total",
- "page",
- "limit"
- ],
- "type": "object"
- }
- },
- "required": [
- "operation",
- "result"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "list",
+ "type": "string"
+ },
+ "result": {
+ "additionalProperties": {},
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "categoryId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "categoryName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "content": {
+ "type": "string"
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "folderId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "folderName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "tags": {
+ "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"
+ },
+ "title": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "content",
+ "folderId",
+ "folderName",
+ "categoryId",
+ "categoryName",
+ "createdAt",
+ "updatedAt",
+ "tags"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "limit": {
+ "type": "number"
+ },
+ "page": {
+ "type": "number"
+ },
+ "total": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "items",
+ "total",
+ "page",
+ "limit"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "result"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "search",
+ "type": "string"
+ },
+ "result": {
+ "additionalProperties": {},
+ "properties": {
+ "diagnostics": {
+ "additionalProperties": {},
+ "properties": {
+ "graphAttempted": {
+ "type": "boolean"
+ },
+ "graphContribution": {
+ "type": "boolean"
+ },
+ "graphFailed": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "graphAttempted",
+ "graphFailed",
+ "graphContribution"
+ ],
+ "type": "object"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "chunks": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "charEnd": {
+ "type": "number"
+ },
+ "charStart": {
+ "type": "number"
+ },
+ "chunkIndex": {
+ "type": "number"
+ },
+ "chunkText": {
+ "type": "string"
+ },
+ "score": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "chunkIndex",
+ "chunkText",
+ "charStart",
+ "charEnd",
+ "score"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "folder_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "folder_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "score": {
+ "type": "number"
+ },
+ "snippet": {
+ "type": "string"
+ },
+ "tags": {
+ "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"
+ },
+ "title": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "snippet",
+ "score",
+ "folder_id",
+ "folder_name",
+ "created_at",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "limit": {
+ "type": "number"
+ },
+ "page": {
+ "type": "number"
+ },
+ "total": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "items",
+ "total",
+ "page",
+ "limit"
+ ],
+ "type": "object"
+ }
+ },
+ "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": "list",
+ "type": "string"
+ },
+ "result": {
+ "additionalProperties": {},
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "categoryId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "categoryName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "content": {
+ "type": "string"
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "folderId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "folderName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "tags": {
+ "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"
+ },
+ "title": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "content",
+ "folderId",
+ "folderName",
+ "categoryId",
+ "categoryName",
+ "createdAt",
+ "updatedAt",
+ "tags"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "limit": {
+ "type": "number"
+ },
+ "page": {
+ "type": "number"
+ },
+ "total": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "items",
+ "total",
+ "page",
+ "limit"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "result"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "search",
+ "type": "string"
+ },
+ "result": {
+ "additionalProperties": {},
+ "properties": {
+ "diagnostics": {
+ "additionalProperties": {},
+ "properties": {
+ "graphAttempted": {
+ "type": "boolean"
+ },
+ "graphContribution": {
+ "type": "boolean"
+ },
+ "graphFailed": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "graphAttempted",
+ "graphFailed",
+ "graphContribution"
+ ],
+ "type": "object"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "chunks": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "charEnd": {
+ "type": "number"
+ },
+ "charStart": {
+ "type": "number"
+ },
+ "chunkIndex": {
+ "type": "number"
+ },
+ "chunkText": {
+ "type": "string"
+ },
+ "score": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "chunkIndex",
+ "chunkText",
+ "charStart",
+ "charEnd",
+ "score"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "folder_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "folder_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "score": {
+ "type": "number"
+ },
+ "snippet": {
+ "type": "string"
+ },
+ "tags": {
+ "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"
+ },
+ "title": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "snippet",
+ "score",
+ "folder_id",
+ "folder_name",
+ "created_at",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "limit": {
+ "type": "number"
+ },
+ "page": {
+ "type": "number"
+ },
+ "total": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "items",
+ "total",
+ "page",
+ "limit"
+ ],
+ "type": "object"
+ }
+ },
+ "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"
+ }
+]