changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "detail",
- "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": "markdown",
- "type": "string"
- },
- "result": {
- "additionalProperties": {},
- "properties": {
- "filename": {
- "type": "string"
- },
- "markdown": {
- "type": "string"
- }
- },
- "required": [
- "markdown"
- ],
- "type": "object"
- }
- },
- "required": [
- "operation",
- "result"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "versions",
- "type": "string"
- },
- "result": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "content": {
- "type": "string"
- },
- "contentJson": {},
- "createdAt": {
- "type": "string"
- },
- "createdBy": {
- "type": "string"
- },
- "description": {
- "type": [
- "string",
- "null"
- ]
- },
- "documentId": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "isSnapshot": {
- "type": "boolean"
- },
- "label": {
- "type": [
- "string",
- "null"
- ]
- },
- "restoredFrom": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "documentId",
- "content",
- "createdBy",
- "createdAt"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "operation",
- "result"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "detail",
+ "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": "markdown",
+ "type": "string"
+ },
+ "result": {
+ "additionalProperties": {},
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "markdown": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "string"
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "workspaceId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "workspaceSlug": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "markdown"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "result"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "versions",
+ "type": "string"
+ },
+ "result": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "content": {
+ "type": "string"
+ },
+ "contentJson": {},
+ "createdAt": {
+ "type": "string"
+ },
+ "createdBy": {
+ "type": "string"
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "documentId": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "isSnapshot": {
+ "type": "boolean"
+ },
+ "label": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "restoredFrom": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "documentId",
+ "content",
+ "createdBy",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "operation",
+ "result"
+ ],
+ "type": "object"
+ }
+]