changedInput schema / oneOf
Previous value: -[
- {
- "allOf": [
- {
- "not": {
- "anyOf": [
- {
- "required": [
- "id"
- ]
- }
- ]
- }
- }
- ],
- "properties": {
- "action": {
- "const": "create",
- "description": "Select the create operation explicitly.",
- "type": "string"
- },
- "categoryId": {
- "anyOf": [
- {
- "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"
- },
- {
- "type": "null"
- }
- ],
- "description": "Optional category UUID; null clears the explicit category."
- },
- "content": {
- "description": "Markdown document content; an empty string clears the content on update.",
- "type": "string"
- },
- "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"
- },
- "title": {
- "description": "Document title, from 1 to 500 characters.",
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action"
- ],
- "type": "object"
- },
- {
- "properties": {
- "action": {
- "const": "update",
- "description": "Select the update operation explicitly.",
- "type": "string"
- },
- "categoryId": {
- "anyOf": [
- {
- "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"
- },
- {
- "type": "null"
- }
- ],
- "description": "Optional category UUID; null clears the explicit category."
- },
- "content": {
- "description": "Markdown document content; an empty string clears the content on update.",
- "type": "string"
- },
- "folderId": {
- "anyOf": [
- {
- "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"
- },
- {
- "type": "null"
- }
- ],
- "description": "Optional folder UUID; null clears the placement on update."
- },
- "id": {
- "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"
- },
- "title": {
- "description": "Document title, from 1 to 500 characters.",
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "id"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "allOf": [
+ {
+ "not": {
+ "anyOf": [
+ {
+ "required": [
+ "id"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "properties": {
+ "action": {
+ "const": "create",
+ "description": "Select the create operation explicitly.",
+ "type": "string"
+ },
+ "categoryId": {
+ "anyOf": [
+ {
+ "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"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Optional category UUID; null clears the explicit category."
+ },
+ "content": {
+ "description": "Markdown document content; an empty string clears the content on update.",
+ "type": "string"
+ },
+ "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"
+ },
+ "title": {
+ "description": "Document title, from 1 to 500 characters.",
+ "maxLength": 500,
+ "minLength": 1,
+ "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": [
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "action": {
+ "const": "update",
+ "description": "Select the update operation explicitly.",
+ "type": "string"
+ },
+ "categoryId": {
+ "anyOf": [
+ {
+ "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"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Optional category UUID; null clears the explicit category."
+ },
+ "content": {
+ "description": "Markdown document content; an empty string clears the content on update.",
+ "type": "string"
+ },
+ "folderId": {
+ "anyOf": [
+ {
+ "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"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Optional folder UUID; null clears the placement on update."
+ },
+ "id": {
+ "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"
+ },
+ "title": {
+ "description": "Document title, from 1 to 500 characters.",
+ "maxLength": 500,
+ "minLength": 1,
+ "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": [
+ "action",
+ "id"
+ ],
+ "type": "object"
+ }
+]
changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "create",
- "type": "string"
- },
- "result": {
- "additionalProperties": {},
- "properties": {
- "categoryId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "content": {
- "type": "string"
- },
- "contentJson": {},
- "createdAt": {
- "type": "string"
- },
- "folderId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "folderName": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "metadata": {},
- "ownerId": {
- "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"
- },
- "visibility": {
- "enum": [
- "private",
- "shared",
- "public"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "ownerId",
- "folderId",
- "categoryId",
- "title",
- "content",
- "visibility",
- "createdAt",
- "updatedAt"
- ],
- "type": "object"
- }
- },
- "required": [
- "operation",
- "result"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "update",
- "type": "string"
- },
- "result": {
- "additionalProperties": {},
- "properties": {
- "categoryId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "content": {
- "type": "string"
- },
- "contentJson": {},
- "createdAt": {
- "type": "string"
- },
- "folderId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "folderName": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "metadata": {},
- "ownerId": {
- "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"
- },
- "visibility": {
- "enum": [
- "private",
- "shared",
- "public"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "ownerId",
- "folderId",
- "categoryId",
- "title",
- "content",
- "visibility",
- "createdAt",
- "updatedAt"
- ],
- "type": "object"
- }
- },
- "required": [
- "operation",
- "result"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "create",
+ "type": "string"
+ },
+ "result": {
+ "additionalProperties": {},
+ "properties": {
+ "categoryId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "content": {
+ "type": "string"
+ },
+ "contentJson": {},
+ "createdAt": {
+ "type": "string"
+ },
+ "folderId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "folderName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "metadata": {},
+ "ownerId": {
+ "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"
+ },
+ "visibility": {
+ "enum": [
+ "private",
+ "shared",
+ "public"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "ownerId",
+ "folderId",
+ "categoryId",
+ "title",
+ "content",
+ "visibility",
+ "createdAt",
+ "updatedAt"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "result"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "update",
+ "type": "string"
+ },
+ "result": {
+ "additionalProperties": {},
+ "properties": {
+ "categoryId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "content": {
+ "type": "string"
+ },
+ "contentJson": {},
+ "createdAt": {
+ "type": "string"
+ },
+ "folderId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "folderName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "metadata": {},
+ "ownerId": {
+ "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"
+ },
+ "visibility": {
+ "enum": [
+ "private",
+ "shared",
+ "public"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "ownerId",
+ "folderId",
+ "categoryId",
+ "title",
+ "content",
+ "visibility",
+ "createdAt",
+ "updatedAt"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "result"
+ ],
+ "type": "object"
+ }
+]