An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$defs": {
"AIActionRequestInput": {
"type": "object",
"properties": {
"action": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"action",
"ids"
],
"additionalProperties": false
},
"AIAgentAttachment": {
"type": "object",
"properties": {
"detail": {
"type": "string"
},
"documentId": {
"type": "string"
},
"height": {
"type": "integer"
},
"mimeType": {
"type": "string"
},
"path": {
"type": "string"
},
"pdfImage": {
"$ref": "#/$defs/AIPDFImageSelection"
},
"type": {
"type": "string"
},
"width": {
"type": "integer"
}
},
"required": [
"documentId",
"path",
"type"
],
"additionalProperties": false
},
"AIAgentAttachmentInput": {
"type": "object",
"properties": {
"detail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"documentId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"mimeType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pdfImage": {
"anyOf": [
{
"$ref": "#/$defs/AIPDFImageSelectionInput"
},
{
"type": "null"
}
]
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIAgentChatRequestInput": {
"type": "object",
"properties": {
"blockHTML": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentRevision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"editorContext": {
"anyOf": [
{
"$ref": "#/$defs/AIEditorContextInput"
},
{
"type": "null"
}
]
},
"frontendCapabilities": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AIFrontendCapabilityInput"
}
},
{
"type": "null"
}
]
},
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reasoningEffort": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"references": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AIReferenceInput"
}
},
{
"type": "null"
}
]
},
"regenerate": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"sessionID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"userEntryID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIAgentGoogleToolCallProviderData": {
"type": "object",
"properties": {
"thoughtSignature": {
"type": "string"
}
},
"additionalProperties": false
},
"AIAgentGoogleToolCallProviderDataInput": {
"type": "object",
"properties": {
"thoughtSignature": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIAgentInstructionsData": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"revision": {
"type": "string"
}
},
"required": [
"content",
"revision"
],
"additionalProperties": false
},
"AIAgentInstructionsSaveRequestInput": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"revision": {
"type": "string"
}
},
"required": [
"content",
"revision"
],
"additionalProperties": false
},
"AIAgentMessage": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"editorContext": {
"$ref": "#/$defs/AIEditorContext"
},
"entryID": {
"type": "string"
},
"nativeContent": {
"$ref": "#/$defs/AINativeContent"
},
"reasoningContent": {
"type": "string"
},
"references": {
"type": "array",
"items": {
"$ref": "#/$defs/AIReference"
}
},
"responseOutput": {
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
"responseOutputTokens": {
"type": "integer"
},
"role": {
"type": "string"
},
"roundID": {
"type": "string"
},
"toolCalls": {
"type": "array",
"items": {
"$ref": "#/$defs/AIAgentToolCall"
}
}
},
"required": [
"content",
"role"
],
"additionalProperties": false
},
"AIAgentMessageInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"editorContext": {
"anyOf": [
{
"$ref": "#/$defs/AIEditorContextInput"
},
{
"type": "null"
}
]
},
"entryID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nativeContent": {
"anyOf": [
{
"$ref": "#/$defs/AINativeContentInput"
},
{
"type": "null"
}
]
},
"reasoningContent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"references": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AIReferenceInput"
}
},
{
"type": "null"
}
]
},
"responseOutput": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"responseOutputTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"roundID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"toolCalls": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AIAgentToolCallInput"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIAgentToolCall": {
"type": "object",
"properties": {
"arguments": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"argumentsJSON": {
"type": "string"
},
"attachments": {
"type": "array",
"items": {
"$ref": "#/$defs/AIAgentAttachment"
}
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"providerData": {
"$ref": "#/$defs/AIAgentToolCallProviderData"
},
"result": {
"type": "string"
},
"state": {
"type": "string"
}
},
"required": [
"arguments",
"name"
],
"additionalProperties": false
},
"AIAgentToolCallInput": {
"type": "object",
"properties": {
"arguments": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"argumentsJSON": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"attachments": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AIAgentAttachmentInput"
}
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"providerData": {
"anyOf": [
{
"$ref": "#/$defs/AIAgentToolCallProviderDataInput"
},
{
"type": "null"
}
]
},
"result": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIAgentToolCallProviderData": {
"type": "object",
"properties": {
"google": {
"$ref": "#/$defs/AIAgentGoogleToolCallProviderData"
}
},
"additionalProperties": false
},
"AIAgentToolCallProviderDataInput": {
"type": "object",
"properties": {
"google": {
"anyOf": [
{
"$ref": "#/$defs/AIAgentGoogleToolCallProviderDataInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIBrowserCapabilityResultRequestInput": {
"type": "object",
"properties": {
"callID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isError": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"result": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"structuredContent": {
"anyOf": [
{
"$ref": "#/$defs/JSONValue"
},
{
"type": "null"
}
]
},
"structuredContentSet": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIBuiltinSkillInfo": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"digest": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"source": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"description",
"digest",
"enabled",
"id",
"name",
"source",
"version"
],
"additionalProperties": false
},
"AICapabilityAction": {
"type": "object",
"properties": {
"effects": {
"$ref": "#/$defs/AIToolEffects"
},
"name": {
"type": "string"
}
},
"required": [
"effects",
"name"
],
"additionalProperties": false
},
"AICapabilityManifest": {
"type": "object",
"properties": {
"actions": {
"type": "array",
"items": {
"$ref": "#/$defs/AICapabilityAction"
}
},
"agentOnly": {
"type": "boolean"
},
"available": {
"type": "boolean"
},
"description": {
"type": "string"
},
"effects": {
"$ref": "#/$defs/AIToolEffects"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"ownerId": {
"type": "string"
},
"ownerName": {
"type": "string"
},
"runtime": {
"type": "string"
},
"source": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"available",
"description",
"effects",
"id",
"name",
"runtime",
"source"
],
"additionalProperties": false
},
"AIConfirmRequestInput": {
"type": "object",
"properties": {
"always": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"approved": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"confirmID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIDecisionTestData": {
"type": "object",
"properties": {
"matched": {
"type": "boolean"
},
"msg": {
"type": "string"
}
},
"required": [
"matched"
],
"additionalProperties": false
},
"AIDecisionTestRequestInput": {
"type": "object",
"properties": {
"profile": {
"anyOf": [
{
"$ref": "#/$defs/SettingDecisionProfileInput"
},
{
"type": "null"
}
]
},
"provider": {
"type": "string"
}
},
"additionalProperties": false
},
"AIEditorAction": {
"type": "object",
"properties": {
"action": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"action",
"id",
"name"
],
"additionalProperties": false
},
"AIEditorActionIDRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"AIEditorActionSaveRequestInput": {
"type": "object",
"properties": {
"action": {
"type": "string"
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
}
},
"required": [
"action",
"name"
],
"additionalProperties": false
},
"AIEditorChatRequestInput": {
"type": "object",
"properties": {
"action": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"history": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AIEditorMessageInput"
}
},
{
"type": "null"
}
]
},
"ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"input": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"taskID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIEditorContext": {
"type": "object",
"properties": {
"activeDocID": {
"type": "string"
},
"activeDocTitle": {
"type": "string"
},
"focusedBlockID": {
"type": "string"
},
"notebookID": {
"type": "string"
},
"selectedBlockIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"visibleBlockIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"AIEditorContextInput": {
"type": "object",
"properties": {
"activeDocID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"activeDocTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"focusedBlockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebookID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"selectedBlockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"visibleBlockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIEditorMessageInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIEmbeddingStat": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"failed": {
"type": "integer"
},
"ignoredByConfig": {
"type": "integer"
},
"ignoredByLen": {
"type": "integer"
},
"indexed": {
"type": "integer"
},
"pending": {
"type": "integer"
},
"total": {
"type": "integer"
}
},
"required": [
"enabled",
"failed",
"ignoredByConfig",
"ignoredByLen",
"indexed",
"pending",
"total"
],
"additionalProperties": false
},
"AIEmbeddingTestData": {
"type": "object",
"properties": {
"dimensions": {
"type": "integer"
},
"matched": {
"type": "boolean"
},
"msg": {
"type": "string"
}
},
"required": [
"matched"
],
"additionalProperties": false
},
"AIFrontendCapabilityInput": {
"type": "object",
"properties": {
"actionEffects": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/AIToolEffectsInput"
}
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"effects": {
"anyOf": [
{
"$ref": "#/$defs/AIToolEffectsInput"
},
{
"type": "null"
}
]
},
"generation": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"inputSchema": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"outputSchema": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"ownerId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownerName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIMCPEnvironmentData": {
"type": "object",
"properties": {
"defaults": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"names": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"defaults",
"names"
],
"additionalProperties": false
},
"AIMCPIDRequestInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIMCPStatus": {
"type": "object",
"properties": {
"authorizationURL": {
"type": "string"
},
"authorized": {
"type": "boolean"
},
"error": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"type": "string"
},
"tools": {
"type": "integer"
}
},
"required": [
"authorized",
"id",
"name",
"status",
"tools"
],
"additionalProperties": false
},
"AIMessageRequestInput": {
"type": "object",
"properties": {
"msg": {
"type": "string"
}
},
"required": [
"msg"
],
"additionalProperties": false
},
"AIModelRequestInput": {
"type": "object",
"properties": {
"model": {
"type": "string"
},
"provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"providerConfig": {
"anyOf": [
{
"$ref": "#/$defs/SettingProviderInput"
},
{
"type": "null"
}
]
}
},
"required": [
"model"
],
"additionalProperties": false
},
"AIModelTestData": {
"type": "object",
"properties": {
"available": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"matched": {
"type": "boolean"
},
"msg": {
"type": "string"
}
},
"required": [
"available",
"matched"
],
"additionalProperties": false
},
"AIModelsData": {
"type": "object",
"properties": {
"contextLengths": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"displayNames": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"models": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"msg": {
"type": "string"
}
},
"required": [
"contextLengths",
"models"
],
"additionalProperties": false
},
"AINativeContent": {
"type": "object",
"properties": {
"blocks": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"protocol": {
"type": "string"
},
"version": {
"type": "integer"
}
},
"required": [
"blocks",
"protocol",
"version"
],
"additionalProperties": false
},
"AINativeContentInput": {
"type": "object",
"properties": {
"blocks": {
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
"protocol": {
"type": "string"
},
"version": {
"type": "integer"
}
},
"required": [
"blocks",
"protocol",
"version"
],
"additionalProperties": false
},
"AIPDFImageSelection": {
"type": "object",
"properties": {
"object": {
"type": "integer"
},
"page": {
"type": "integer"
},
"revision": {
"type": "string"
}
},
"required": [
"object",
"page",
"revision"
],
"additionalProperties": false
},
"AIPDFImageSelectionInput": {
"type": "object",
"properties": {
"object": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"page": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"revision": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIPermissionData": {
"type": "object",
"properties": {
"permissionMode": {
"type": "string"
}
},
"required": [
"permissionMode"
],
"additionalProperties": false
},
"AIPermissionRequestInput": {
"type": "object",
"properties": {
"permissionMode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sessionID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIProviderRequestInput": {
"type": "object",
"properties": {
"provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"providerConfig": {
"anyOf": [
{
"$ref": "#/$defs/SettingProviderInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIQuestionRequestInput": {
"type": "object",
"properties": {
"answers": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"questionID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIReference": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"title"
],
"additionalProperties": false
},
"AIReferenceInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIRerankTestData": {
"type": "object",
"properties": {
"matched": {
"type": "boolean"
},
"msg": {
"type": "string"
}
},
"required": [
"matched"
],
"additionalProperties": false
},
"AISSEBrowserCapabilityCall": {
"type": "object",
"properties": {
"arguments": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"callID": {
"type": "string"
},
"capabilityID": {
"type": "string"
},
"generation": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"arguments",
"callID",
"capabilityID",
"generation",
"name"
],
"additionalProperties": false
},
"AISSEConfirm": {
"type": "object",
"properties": {
"arguments": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"confirmID": {
"type": "string"
},
"effects": {
"$ref": "#/$defs/AIToolEffects"
},
"forced": {
"type": "boolean"
},
"name": {
"type": "string"
}
},
"required": [
"arguments",
"confirmID",
"effects",
"forced",
"name"
],
"additionalProperties": false
},
"AISSEFinish": {
"type": "object",
"properties": {
"finishReason": {
"type": "string"
}
},
"required": [
"finishReason"
],
"additionalProperties": false
},
"AISSEMessage": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
},
"required": [
"message"
],
"additionalProperties": false
},
"AISSEQuestion": {
"type": "object",
"properties": {
"arguments": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"questionID": {
"type": "string"
},
"roundID": {
"type": "string"
}
},
"required": [
"arguments",
"questionID",
"roundID"
],
"additionalProperties": false
},
"AISSERetry": {
"type": "object",
"properties": {
"attempt": {
"type": "integer"
},
"maxRetries": {
"type": "integer"
}
},
"required": [
"attempt",
"maxRetries"
],
"additionalProperties": false
},
"AISSESnapshot": {
"type": "object",
"properties": {
"roundID": {
"type": "string"
},
"snapshotID": {
"type": "string"
}
},
"required": [
"roundID",
"snapshotID"
],
"additionalProperties": false
},
"AISSEStart": {
"type": "object",
"properties": {
"taskID": {
"type": "string"
}
},
"required": [
"taskID"
],
"additionalProperties": false
},
"AISSEThinking": {
"type": "object",
"properties": {
"reasoning": {
"type": "string"
},
"roundID": {
"type": "string"
}
},
"required": [
"reasoning",
"roundID"
],
"additionalProperties": false
},
"AISSEToken": {
"type": "object",
"properties": {
"token": {
"type": "string"
}
},
"required": [
"token"
],
"additionalProperties": false
},
"AISSEToolCall": {
"type": "object",
"properties": {
"arguments": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"callID": {
"type": "string"
},
"name": {
"type": "string"
},
"roundID": {
"type": "string"
}
},
"required": [
"arguments",
"callID",
"name",
"roundID"
],
"additionalProperties": false
},
"AISSEToolResult": {
"type": "object",
"properties": {
"callID": {
"type": "string"
},
"name": {
"type": "string"
},
"result": {
"type": "string"
},
"roundID": {
"type": "string"
}
},
"required": [
"callID",
"name",
"result",
"roundID"
],
"additionalProperties": false
},
"AISSETurn": {
"type": "object",
"properties": {
"turnID": {
"type": "string"
}
},
"required": [
"turnID"
],
"additionalProperties": false
},
"AISSEUsage": {
"type": "object",
"properties": {
"cachedTokens": {
"type": "integer"
},
"completionTokens": {
"type": "integer"
},
"contextLimit": {
"type": "integer"
},
"lastPromptTokens": {
"type": "integer"
},
"promptTokens": {
"type": "integer"
},
"tokenBreakdown": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
{
"type": "null"
}
]
}
},
"required": [
"cachedTokens",
"completionTokens",
"contextLimit",
"lastPromptTokens",
"promptTokens",
"tokenBreakdown"
],
"additionalProperties": false
},
"AISessionEntry": {
"type": "object",
"properties": {
"answers": {
"type": "array",
"items": {
"type": "string"
}
},
"args": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"blockHTML": {
"type": "string"
},
"completionTokens": {
"type": "integer"
},
"confirmID": {
"type": "string"
},
"content": {
"type": "string"
},
"duration": {
"type": "number"
},
"editorContext": {
"$ref": "#/$defs/AIEditorContext"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"nativeContent": {
"$ref": "#/$defs/AINativeContent"
},
"promptTokens": {
"type": "integer"
},
"questionID": {
"type": "string"
},
"questions": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
}
},
"reasoningContent": {
"type": "string"
},
"references": {
"type": "array",
"items": {
"$ref": "#/$defs/AIReference"
}
},
"responseOutput": {
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
"responseOutputTokens": {
"type": "integer"
},
"roundID": {
"type": "string"
},
"snapshotID": {
"type": "string"
},
"status": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"$ref": "#/$defs/AISessionEntryStep"
}
},
"timestamp": {
"type": "integer"
},
"toolCalls": {
"type": "array",
"items": {
"$ref": "#/$defs/AIAgentToolCall"
}
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"additionalProperties": false
},
"AISessionEntryInput": {
"type": "object",
"properties": {
"answers": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"args": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"blockHTML": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"completionTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"confirmID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"duration": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"editorContext": {
"anyOf": [
{
"$ref": "#/$defs/AIEditorContextInput"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nativeContent": {
"anyOf": [
{
"$ref": "#/$defs/AINativeContentInput"
},
{
"type": "null"
}
]
},
"promptTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"questionID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"questions": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"reasoningContent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"references": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AIReferenceInput"
}
},
{
"type": "null"
}
]
},
"responseOutput": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"responseOutputTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"roundID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"snapshotID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"steps": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionEntryStepInput"
}
},
{
"type": "null"
}
]
},
"timestamp": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"toolCalls": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AIAgentToolCallInput"
}
},
{
"type": "null"
}
]
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AISessionEntryStep": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"reasoning": {
"type": "string"
},
"reasoningContent": {
"type": "string"
},
"roundID": {
"type": "string"
},
"toolCallIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"toolNames": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"reasoning"
],
"additionalProperties": false
},
"AISessionEntryStepInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reasoning": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reasoningContent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"roundID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"toolCallIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"toolNames": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AISessionExtensionAIAgentAttachment": {
"type": "object",
"properties": {
"detail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"documentId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"mimeType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pdfImage": {
"anyOf": [
{
"$ref": "#/$defs/AISessionExtensionAIPDFImageSelection"
},
{
"type": "null"
}
]
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIAgentAttachmentInput": {
"type": "object",
"properties": {
"detail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"documentId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"mimeType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pdfImage": {
"anyOf": [
{
"$ref": "#/$defs/AISessionExtensionAIPDFImageSelectionInput"
},
{
"type": "null"
}
]
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIAgentGoogleToolCallProviderData": {
"type": "object",
"properties": {
"thoughtSignature": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIAgentGoogleToolCallProviderDataInput": {
"type": "object",
"properties": {
"thoughtSignature": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIAgentMessage": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"editorContext": {
"anyOf": [
{
"$ref": "#/$defs/AISessionExtensionAIEditorContext"
},
{
"type": "null"
}
]
},
"entryID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nativeContent": {
"anyOf": [
{
"$ref": "#/$defs/AISessionExtensionAINativeContent"
},
{
"type": "null"
}
]
},
"reasoningContent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"references": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAIReference"
}
},
{
"type": "null"
}
]
},
"responseOutput": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"responseOutputTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"roundID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"toolCalls": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAIAgentToolCall"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIAgentMessageInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"editorContext": {
"anyOf": [
{
"$ref": "#/$defs/AISessionExtensionAIEditorContextInput"
},
{
"type": "null"
}
]
},
"entryID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nativeContent": {
"anyOf": [
{
"$ref": "#/$defs/AISessionExtensionAINativeContentInput"
},
{
"type": "null"
}
]
},
"reasoningContent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"references": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAIReferenceInput"
}
},
{
"type": "null"
}
]
},
"responseOutput": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"responseOutputTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"roundID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"toolCalls": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAIAgentToolCallInput"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIAgentToolCall": {
"type": "object",
"properties": {
"arguments": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"argumentsJSON": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"attachments": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAIAgentAttachment"
}
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"providerData": {
"anyOf": [
{
"$ref": "#/$defs/AISessionExtensionAIAgentToolCallProviderData"
},
{
"type": "null"
}
]
},
"result": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIAgentToolCallInput": {
"type": "object",
"properties": {
"arguments": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"argumentsJSON": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"attachments": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAIAgentAttachmentInput"
}
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"providerData": {
"anyOf": [
{
"$ref": "#/$defs/AISessionExtensionAIAgentToolCallProviderDataInput"
},
{
"type": "null"
}
]
},
"result": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIAgentToolCallProviderData": {
"type": "object",
"properties": {
"google": {
"anyOf": [
{
"$ref": "#/$defs/AISessionExtensionAIAgentGoogleToolCallProviderData"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIAgentToolCallProviderDataInput": {
"type": "object",
"properties": {
"google": {
"anyOf": [
{
"$ref": "#/$defs/AISessionExtensionAIAgentGoogleToolCallProviderDataInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIEditorContext": {
"type": "object",
"properties": {
"activeDocID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"activeDocTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"focusedBlockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebookID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"selectedBlockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"visibleBlockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIEditorContextInput": {
"type": "object",
"properties": {
"activeDocID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"activeDocTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"focusedBlockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebookID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"selectedBlockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"visibleBlockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAINativeContent": {
"type": "object",
"properties": {
"blocks": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"protocol": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"version": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAINativeContentInput": {
"type": "object",
"properties": {
"blocks": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"protocol": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"version": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIPDFImageSelection": {
"type": "object",
"properties": {
"object": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"page": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"revision": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIPDFImageSelectionInput": {
"type": "object",
"properties": {
"object": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"page": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"revision": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIReference": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAIReferenceInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAISessionEntry": {
"type": "object",
"properties": {
"answers": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"args": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"blockHTML": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"completionTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"confirmID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"duration": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"editorContext": {
"anyOf": [
{
"$ref": "#/$defs/AISessionExtensionAIEditorContext"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nativeContent": {
"anyOf": [
{
"$ref": "#/$defs/AISessionExtensionAINativeContent"
},
{
"type": "null"
}
]
},
"promptTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"questionID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"questions": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"reasoningContent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"references": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAIReference"
}
},
{
"type": "null"
}
]
},
"responseOutput": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"responseOutputTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"roundID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"snapshotID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"steps": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAISessionEntryStep"
}
},
{
"type": "null"
}
]
},
"timestamp": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"toolCalls": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAIAgentToolCall"
}
},
{
"type": "null"
}
]
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAISessionEntryInput": {
"type": "object",
"properties": {
"answers": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"args": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"blockHTML": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"completionTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"confirmID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"duration": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"editorContext": {
"anyOf": [
{
"$ref": "#/$defs/AISessionExtensionAIEditorContextInput"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nativeContent": {
"anyOf": [
{
"$ref": "#/$defs/AISessionExtensionAINativeContentInput"
},
{
"type": "null"
}
]
},
"promptTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"questionID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"questions": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"reasoningContent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"references": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAIReferenceInput"
}
},
{
"type": "null"
}
]
},
"responseOutput": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"responseOutputTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"roundID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"snapshotID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"steps": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAISessionEntryStepInput"
}
},
{
"type": "null"
}
]
},
"timestamp": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"toolCalls": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAIAgentToolCallInput"
}
},
{
"type": "null"
}
]
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAISessionEntryStep": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reasoning": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reasoningContent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"roundID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"toolCallIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"toolNames": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAISessionEntryStepInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reasoning": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reasoningContent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"roundID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"toolCallIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"toolNames": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAISessionFields": {
"type": "object",
"properties": {
"agentRunning": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"alwaysAllow": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"commitTurnID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"completionTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"contextCachedTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"contextLimit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"contextTokenBreakdown": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"contextTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"createdAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"entries": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAISessionEntry"
}
},
{
"type": "null"
}
]
},
"expectedRevision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"lastCommittedTurnID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"messageHistory": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"messages": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAIAgentMessage"
}
},
{
"type": "null"
}
]
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"permissionMode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pinnedAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"promptTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"recoveryRevision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"recoveryState": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"recoveryTurnID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"snapshots": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"titled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"totalDuration": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"updatedAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionExtensionAISessionFieldsInput": {
"type": "object",
"properties": {
"agentRunning": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"alwaysAllow": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"commitTurnID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"completionTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"contextCachedTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"contextLimit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"contextTokenBreakdown": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"contextTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"createdAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"entries": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAISessionEntryInput"
}
},
{
"type": "null"
}
]
},
"expectedRevision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"lastCommittedTurnID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"messageHistory": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"messages": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionExtensionAIAgentMessageInput"
}
},
{
"type": "null"
}
]
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"permissionMode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pinnedAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"promptTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"recoveryRevision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"recoveryState": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"recoveryTurnID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"snapshots": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"titled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"totalDuration": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"updatedAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"AISessionFields": {
"type": "object",
"properties": {
"agentRunning": {
"type": "boolean"
},
"alwaysAllow": {
"type": "boolean"
},
"commitTurnID": {
"type": "string"
},
"completionTokens": {
"type": "integer"
},
"contextCachedTokens": {
"type": "integer"
},
"contextLimit": {
"type": "integer"
},
"contextTokenBreakdown": {
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
"contextTokens": {
"type": "integer"
},
"createdAt": {
"type": "integer"
},
"entries": {
"type": "array",
"items": {
"$ref": "#/$defs/AISessionEntry"
}
},
"expectedRevision": {
"type": "integer"
},
"id": {
"type": "string"
},
"lastCommittedTurnID": {
"type": "string"
},
"messageHistory": {
"type": "array",
"items": {
"type": "string"
}
},
"messages": {
"type": "array",
"items": {
"$ref": "#/$defs/AIAgentMessage"
}
},
"model": {
"type": "string"
},
"permissionMode": {
"type": "string"
},
"pinnedAt": {
"type": "integer"
},
"promptTokens": {
"type": "integer"
},
"recoveryRevision": {
"type": "integer"
},
"recoveryState": {
"type": "string"
},
"recoveryTurnID": {
"type": "string"
},
"revision": {
"type": "integer"
},
"snapshots": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
},
"titled": {
"type": "boolean"
},
"totalDuration": {
"type": "number"
},
"updatedAt": {
"type": "integer"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"AISessionFieldsInput": {
"type": "object",
"properties": {
"agentRunning": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"alwaysAllow": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"commitTurnID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"completionTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"contextCachedTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"contextLimit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"contextTokenBreakdown": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"contextTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"createdAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"entries": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISessionEntryInput"
}
},
{
"type": "null"
}
]
},
"expectedRevision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"lastCommittedTurnID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"messageHistory": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"messages": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AIAgentMessageInput"
}
},
{
"type": "null"
}
]
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"permissionMode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pinnedAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"promptTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"recoveryRevision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"recoveryState": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"recoveryTurnID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"snapshots": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"titled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"totalDuration": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"updatedAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"AISessionIDRequestInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AISessionIndex": {
"type": "object",
"properties": {
"agentRunning": {
"type": "boolean"
},
"createdAt": {
"type": "integer"
},
"id": {
"type": "string"
},
"pinnedAt": {
"type": "integer"
},
"title": {
"type": "string"
},
"updatedAt": {
"type": "integer"
}
},
"required": [
"createdAt",
"id",
"title",
"updatedAt"
],
"additionalProperties": false
},
"AISessionList": {
"type": "object",
"properties": {
"page": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"sessions": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AISessionIndex"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"total": {
"type": "integer"
}
},
"required": [
"page",
"pageSize",
"sessions",
"total"
],
"additionalProperties": false
},
"AISessionPinnedData": {
"type": "object",
"properties": {
"pinnedAt": {
"type": "integer"
}
},
"required": [
"pinnedAt"
],
"additionalProperties": false
},
"AISessionPinnedRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"pinned": {
"type": "boolean"
}
},
"required": [
"id",
"pinned"
],
"additionalProperties": false
},
"AISessionSaveData": {
"type": "object",
"properties": {
"revision": {
"type": "integer"
},
"session": {
"$ref": "#/$defs/AISessionExtensionAISessionFields"
}
},
"required": [
"revision"
],
"additionalProperties": false
},
"AISessionsRequestInput": {
"type": "object",
"properties": {
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"page": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"pageSize": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AISkillData": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"content",
"name"
],
"additionalProperties": false
},
"AISkillFileData": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"entries": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AISkillFileEntry"
}
},
{
"type": "null"
}
]
},
"readOnlyReason": {
"type": "string",
"enum": [
"binary",
"encoding",
"tooLarge"
]
},
"revision": {
"type": "string"
}
},
"additionalProperties": false
},
"AISkillFileEntry": {
"type": "object",
"properties": {
"editable": {
"type": "boolean"
},
"isDir": {
"type": "boolean"
},
"path": {
"type": "string"
}
},
"required": [
"editable",
"isDir",
"path"
],
"additionalProperties": false
},
"AISkillFileRequestInput": {
"type": "object",
"properties": {
"action": {
"type": "string"
},
"content": {
"type": "string"
},
"path": {
"type": "string"
},
"revision": {
"type": "string"
},
"target": {
"type": "string"
}
},
"required": [
"action"
],
"additionalProperties": false
},
"AISkillInfo": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"description",
"name"
],
"additionalProperties": false
},
"AISkillNameRequestInput": {
"type": "object",
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AISkillRenameRequestInput": {
"type": "object",
"properties": {
"newName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"oldName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AISkillSaveRequestInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AITitleRequestInput": {
"type": "object",
"properties": {
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIToolEffects": {
"type": "object",
"properties": {
"dataEgress": {
"type": "boolean"
},
"externalCost": {
"type": "boolean"
},
"localRead": {
"type": "boolean"
},
"localWrite": {
"type": "boolean"
}
},
"additionalProperties": false
},
"AIToolEffectsInput": {
"type": "object",
"properties": {
"dataEgress": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"externalCost": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"localRead": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"localWrite": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AIUserSkillInfo": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"shadowed": {
"type": "boolean"
}
},
"required": [
"description",
"enabled",
"id",
"name",
"shadowed"
],
"additionalProperties": false
},
"AVArchiveRenderData": {
"type": "object",
"properties": {
"colorOrder": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"customColors": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewCustomColor"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"defaultTemplateID": {
"type": "string"
},
"id": {
"type": "string"
},
"isMirror": {
"type": "boolean"
},
"name": {
"type": "string"
},
"newItemTemplates": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVNewItemTemplate"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"usedCustomColorIndexes": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"view": {
"$ref": "#/$defs/AVViewInstance"
},
"viewID": {
"type": "string"
},
"viewType": {
"type": "string",
"enum": [
"table",
"list",
"gallery",
"kanban",
"calendar"
]
},
"views": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewData"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"colorOrder",
"customColors",
"defaultTemplateID",
"id",
"isMirror",
"name",
"newItemTemplates",
"usedCustomColorIndexes",
"view",
"viewID",
"viewType",
"views"
],
"additionalProperties": false
},
"AVAttributeViewBacklink": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"avName": {
"type": "string"
},
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"boundBlockID": {
"type": "string"
},
"boxID": {
"type": "string"
},
"databaseBlockID": {
"type": "string"
},
"databasePath": {
"type": "string"
},
"icon": {
"type": "string"
},
"isDetached": {
"type": "boolean"
},
"itemID": {
"type": "string"
},
"relations": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewBacklinkRelation"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"valueID": {
"type": "string"
}
},
"required": [
"avID",
"avName",
"blockIDs",
"boundBlockID",
"boxID",
"databaseBlockID",
"databasePath",
"icon",
"isDetached",
"itemID",
"relations",
"title",
"valueID"
],
"additionalProperties": false
},
"AVAttributeViewBacklinkRelation": {
"type": "object",
"properties": {
"keyID": {
"type": "string"
},
"keyName": {
"type": "string"
},
"targetAvID": {
"type": "string"
},
"targetItemID": {
"type": "string"
}
},
"required": [
"keyID",
"keyName",
"targetAvID",
"targetItemID"
],
"additionalProperties": false
},
"AVAttributeViewBacklinks": {
"type": "object",
"properties": {
"items": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewBacklink"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"total": {
"type": "integer"
}
},
"required": [
"items",
"total"
],
"additionalProperties": false
},
"AVAttributeViewColor": {
"type": "object",
"properties": {
"dark": {
"$ref": "#/$defs/AVAttributeViewColorTheme"
},
"light": {
"$ref": "#/$defs/AVAttributeViewColorTheme"
}
},
"required": [
"dark",
"light"
],
"additionalProperties": false
},
"AVAttributeViewColorInput": {
"type": "object",
"properties": {
"dark": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewColorThemeInput"
},
{
"type": "null"
}
]
},
"light": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewColorThemeInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVAttributeViewColorTheme": {
"type": "object",
"properties": {
"backgroundColor": {
"type": "string"
},
"color": {
"type": "string"
}
},
"required": [
"backgroundColor",
"color"
],
"additionalProperties": false
},
"AVAttributeViewColorThemeInput": {
"type": "object",
"properties": {
"backgroundColor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVAttributeViewContextFilter": {
"type": "object",
"properties": {
"keyID": {
"type": "string"
},
"spec": {
"type": "integer",
"enum": [
1
]
}
},
"required": [
"keyID",
"spec"
],
"additionalProperties": false
},
"AVAttributeViewContextFilterField": {
"type": "object",
"properties": {
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"targetAvID": {
"type": "string"
}
},
"required": [
"icon",
"id",
"name",
"targetAvID"
],
"additionalProperties": false
},
"AVAttributeViewCustomColor": {
"type": "object",
"properties": {
"dark": {
"$ref": "#/$defs/AVAttributeViewColorTheme"
},
"hidden": {
"type": "boolean"
},
"index": {
"type": "integer"
},
"light": {
"$ref": "#/$defs/AVAttributeViewColorTheme"
}
},
"required": [
"dark",
"index",
"light"
],
"additionalProperties": false
},
"AVAttributeViewCustomColorInput": {
"type": "object",
"properties": {
"dark": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewColorThemeInput"
},
{
"type": "null"
}
]
},
"hidden": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"light": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewColorThemeInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVAttributeViewData": {
"type": "object",
"properties": {
"automations": {
"$ref": "#/$defs/AVAutomationConfig"
},
"cardCoverPositions": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AVCardCoverPosition"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"customColors": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewCustomColor"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"defaultTemplateID": {
"type": "string"
},
"id": {
"type": "string"
},
"keyIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"keyValues": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVKeyValues"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"newItemTemplates": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVNewItemTemplate"
},
{
"type": "null"
}
]
}
},
"spec": {
"type": "integer"
},
"viewID": {
"type": "string"
},
"views": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVView"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"customColors",
"id",
"keyIDs",
"keyValues",
"name",
"spec",
"viewID",
"views"
],
"additionalProperties": false
},
"AVAttributeViewFieldView": {
"type": "object",
"properties": {
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"table",
"list",
"gallery",
"kanban",
"calendar"
]
}
},
"required": [
"hidden",
"icon",
"id",
"name",
"type"
],
"additionalProperties": false
},
"AVAttributeViewGroupItemPosition": {
"type": "object",
"properties": {
"groupID": {
"type": "string"
},
"previousID": {
"type": "string"
}
},
"required": [
"groupID",
"previousID"
],
"additionalProperties": false
},
"AVAttributeViewItemPosition": {
"type": "object",
"properties": {
"groups": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewGroupItemPosition"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"previousID": {
"type": "string"
},
"viewID": {
"type": "string"
}
},
"required": [
"groups",
"previousID",
"viewID"
],
"additionalProperties": false
},
"AVAttributeViewRenderTarget": {
"type": "object",
"properties": {
"groupID": {
"type": "string"
},
"index": {
"type": "integer"
},
"itemID": {
"type": "string"
},
"offset": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"status": {
"type": "string",
"enum": [
"visible",
"filtered",
"itemNotFound",
"groupHidden"
]
}
},
"required": [
"index",
"itemID",
"offset",
"pageSize",
"status"
],
"additionalProperties": false
},
"AVAttributeViewSearchTarget": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"boundBlockID": {
"type": "string"
},
"databaseBlockID": {
"type": "string"
},
"groupID": {
"type": "string"
},
"isDetached": {
"type": "boolean"
},
"itemID": {
"type": "string"
},
"keywords": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"matchedKeyID": {
"type": "string"
},
"matchedValueID": {
"type": "string"
},
"notebookID": {
"type": "string"
},
"title": {
"type": "string"
},
"valueID": {
"type": "string"
},
"viewID": {
"type": "string"
}
},
"required": [
"avID",
"boundBlockID",
"databaseBlockID",
"isDetached",
"itemID",
"keywords",
"matchedKeyID",
"matchedValueID",
"notebookID",
"title",
"valueID"
],
"additionalProperties": false
},
"AVAutomationAction": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"fields": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AVAutomationValue"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"filters": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilter"
},
{
"type": "null"
}
]
}
},
"relationKeyID": {
"type": "string"
},
"target": {
"type": "string",
"enum": [
"current",
"related",
"filtered"
]
},
"type": {
"type": "string",
"enum": [
"add",
"edit",
"collect"
]
}
},
"required": [
"fields",
"target",
"type"
],
"additionalProperties": false
},
"AVAutomationActionInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"fields": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AVAutomationValueInput"
},
{
"type": "null"
}
]
}
},
"filters": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilterInput"
},
{
"type": "null"
}
]
}
},
"relationKeyID": {
"type": "string"
},
"target": {
"type": "string",
"enum": [
"current",
"related",
"filtered"
]
},
"type": {
"type": "string",
"enum": [
"add",
"edit",
"collect"
]
}
},
"required": [
"fields",
"target",
"type"
],
"additionalProperties": false
},
"AVAutomationBlockAttribute": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"nameOperator": {
"type": "string",
"enum": [
"",
"equals",
"contains",
"regex"
]
},
"operator": {
"type": "string",
"enum": [
"equals",
"contains",
"exists",
"notExists"
]
},
"value": {
"type": "string"
}
},
"required": [
"name",
"operator"
],
"additionalProperties": false
},
"AVAutomationBlockAttributeInput": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"nameOperator": {
"type": "string",
"enum": [
"",
"equals",
"contains",
"regex"
]
},
"operator": {
"type": "string",
"enum": [
"equals",
"contains",
"exists",
"notExists"
]
},
"value": {
"type": "string"
}
},
"required": [
"name",
"operator"
],
"additionalProperties": false
},
"AVAutomationBlockSource": {
"type": "object",
"properties": {
"attributeMatch": {
"type": "string",
"enum": [
"",
"and",
"or"
]
},
"attributes": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAutomationBlockAttribute"
},
{
"type": "null"
}
]
}
},
"documentDepth": {
"type": "integer"
},
"documentIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"includeSelectedDocuments": {
"type": "boolean"
},
"notebookIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"referenceID": {
"type": "string"
},
"tagMatch": {
"type": "string",
"enum": [
"",
"and",
"or"
]
},
"tagTarget": {
"type": "string",
"enum": [
"",
"block",
"container"
]
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"types": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"AVAutomationBlockSourceInput": {
"type": "object",
"properties": {
"attributeMatch": {
"type": "string",
"enum": [
"",
"and",
"or"
]
},
"attributes": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAutomationBlockAttributeInput"
},
{
"type": "null"
}
]
}
},
"documentDepth": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"documentIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"includeSelectedDocuments": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"notebookIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"referenceID": {
"type": "string"
},
"tagMatch": {
"type": "string",
"enum": [
"",
"and",
"or"
]
},
"tagTarget": {
"type": "string",
"enum": [
"",
"block",
"container"
]
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"types": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"AVAutomationConfig": {
"type": "object",
"properties": {
"rules": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAutomationRule"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"spec": {
"type": "integer"
}
},
"required": [
"rules",
"spec"
],
"additionalProperties": false
},
"AVAutomationConfigInput": {
"type": "object",
"properties": {
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAutomationRuleInput"
},
{
"type": "null"
}
]
}
},
"spec": {
"type": "integer"
}
},
"required": [
"rules",
"spec"
],
"additionalProperties": false
},
"AVAutomationRule": {
"type": "object",
"properties": {
"actions": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAutomationAction"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"blockSource": {
"$ref": "#/$defs/AVAutomationBlockSource"
},
"conditions": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilter"
},
{
"type": "null"
}
]
}
},
"enabled": {
"type": "boolean"
},
"id": {
"type": "string"
},
"keyID": {
"type": "string"
},
"name": {
"type": "string"
},
"notifyOnSuccess": {
"type": "boolean"
},
"timeZone": {
"type": "string"
},
"trigger": {
"type": "string",
"enum": [
"added",
"changed",
"block"
]
}
},
"required": [
"actions",
"enabled",
"id",
"name",
"trigger"
],
"additionalProperties": false
},
"AVAutomationRuleInput": {
"type": "object",
"properties": {
"actions": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAutomationActionInput"
},
{
"type": "null"
}
]
}
},
"blockSource": {
"anyOf": [
{
"$ref": "#/$defs/AVAutomationBlockSourceInput"
},
{
"type": "null"
}
]
},
"conditions": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilterInput"
},
{
"type": "null"
}
]
}
},
"enabled": {
"type": "boolean"
},
"id": {
"type": "string"
},
"keyID": {
"type": "string"
},
"name": {
"type": "string"
},
"notifyOnSuccess": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"timeZone": {
"type": "string"
},
"trigger": {
"type": "string",
"enum": [
"added",
"changed",
"block"
]
}
},
"required": [
"actions",
"enabled",
"id",
"name",
"trigger"
],
"additionalProperties": false
},
"AVAutomationTemplatePreviewRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"inputs": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"itemID": {
"type": "string"
},
"keyID": {
"type": "string"
},
"targetAvID": {
"type": "string"
},
"template": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"triggerTime": {
"type": "string"
}
},
"required": [
"avID",
"itemID",
"keyID",
"template",
"timeZone"
],
"additionalProperties": false
},
"AVAutomationValue": {
"type": "object",
"properties": {
"keyID": {
"type": "string"
},
"mode": {
"type": "string",
"enum": [
"static",
"source",
"currentTime",
"triggerItem",
"template"
]
},
"template": {
"type": "string"
},
"value": {
"$ref": "#/$defs/AVValue"
}
},
"required": [
"mode"
],
"additionalProperties": false
},
"AVAutomationValueInput": {
"type": "object",
"properties": {
"keyID": {
"type": "string"
},
"mode": {
"type": "string",
"enum": [
"static",
"source",
"currentTime",
"triggerItem",
"template"
]
},
"template": {
"type": "string"
},
"value": {
"anyOf": [
{
"$ref": "#/$defs/AVValueInput"
},
{
"type": "null"
}
]
}
},
"required": [
"mode"
],
"additionalProperties": false
},
"AVAvSearchResult": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"avName": {
"type": "string"
},
"blockID": {
"type": "string"
},
"children": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAvSearchResult"
},
{
"type": "null"
}
]
}
},
"hPath": {
"type": "string"
},
"matched": {
"type": "boolean"
},
"viewID": {
"type": "string"
},
"viewLayout": {
"type": "string",
"enum": [
"",
"table",
"list",
"gallery",
"kanban",
"calendar"
]
},
"viewName": {
"type": "string"
}
},
"required": [
"avID",
"avName",
"blockID",
"hPath",
"viewID",
"viewLayout",
"viewName"
],
"additionalProperties": false
},
"AVBlockAttributeViewKeys": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"avName": {
"type": "string"
},
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"customColors": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewCustomColor"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"itemPositions": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewItemPosition"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"keyValues": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVKeyValues"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"avID",
"avName",
"blockIDs",
"customColors",
"itemPositions",
"keyValues"
],
"additionalProperties": false
},
"AVBlockCollectionMatch": {
"type": "object",
"properties": {
"collected": {
"type": "boolean"
},
"content": {
"type": "string"
},
"hPath": {
"type": "string"
},
"id": {
"type": "string"
},
"rootID": {
"type": "string"
}
},
"required": [
"collected",
"content",
"hPath",
"id",
"rootID"
],
"additionalProperties": false
},
"AVBlockCollectionPreview": {
"type": "object",
"properties": {
"blocks": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVBlockCollectionMatch"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"blocks",
"hasMore"
],
"additionalProperties": false
},
"AVBlockCollectionPreviewRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"page": {
"type": "integer"
},
"ruleID": {
"type": "string"
}
},
"required": [
"avID",
"ruleID"
],
"additionalProperties": false
},
"AVBlockSourceInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isDetached": {
"type": "boolean"
},
"itemID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"isDetached"
],
"additionalProperties": false
},
"AVCalendarRange": {
"type": "object",
"properties": {
"end": {
"type": "integer"
},
"start": {
"type": "integer"
},
"timeZone": {
"type": "string"
}
},
"required": [
"end",
"start",
"timeZone"
],
"additionalProperties": false
},
"AVCalendarRangeInput": {
"type": "object",
"properties": {
"end": {
"type": "integer"
},
"start": {
"type": "integer"
},
"timeZone": {
"type": "string"
}
},
"required": [
"end",
"start",
"timeZone"
],
"additionalProperties": false
},
"AVCalendarSettings": {
"type": "object",
"properties": {
"colorKeyID": {
"type": "string"
},
"dateKeyID": {
"type": "string"
},
"displayFieldName": {
"type": "boolean"
},
"rowLimit": {
"type": "integer"
},
"weekStart": {
"type": "integer"
}
},
"required": [
"colorKeyID",
"dateKeyID",
"weekStart"
],
"additionalProperties": false
},
"AVCalendarSettingsInput": {
"type": "object",
"properties": {
"colorKeyID": {
"type": "string"
},
"dateKeyID": {
"type": "string"
},
"displayFieldName": {
"type": "boolean"
},
"rowLimit": {
"type": "integer"
},
"weekStart": {
"type": "integer"
}
},
"required": [
"colorKeyID",
"dateKeyID",
"weekStart"
],
"additionalProperties": false
},
"AVCalendarUndatedData": {
"type": "object",
"properties": {
"rows": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVTableRow"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"total": {
"type": "integer"
}
},
"required": [
"rows",
"total"
],
"additionalProperties": false
},
"AVCalendarUndatedRequestInput": {
"type": "object",
"properties": {
"blockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"page": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pageSize": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"search": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"viewID": {
"type": "string"
}
},
"required": [
"id",
"viewID"
],
"additionalProperties": false
},
"AVCardCoverPosition": {
"type": "object",
"properties": {
"image": {
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"image",
"x",
"y"
],
"additionalProperties": false
},
"AVCardCoverPositionInput": {
"type": "object",
"properties": {
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"x": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"y": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVCellUpdateInput": {
"type": "object",
"properties": {
"itemID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keyID": {
"type": "string"
},
"rowID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"value": {
"anyOf": [
{
"$ref": "#/$defs/AVValueInput"
},
{
"type": "null"
}
]
}
},
"required": [
"keyID"
],
"additionalProperties": false
},
"AVCollectBlocksInput": {
"type": "object",
"properties": {
"blockIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"ruleID": {
"type": "string"
}
},
"required": [
"blockIDs",
"ruleID"
],
"additionalProperties": false
},
"AVCollectionCleanupInput": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVCollectionCleanupItemInput"
},
{
"type": "null"
}
]
}
},
"ruleVersion": {
"type": "string"
}
},
"required": [
"items",
"ruleVersion"
],
"additionalProperties": false
},
"AVCollectionCleanupItemInput": {
"type": "object",
"properties": {
"blockID": {
"type": "string"
},
"itemID": {
"type": "string"
}
},
"required": [
"blockID",
"itemID"
],
"additionalProperties": false
},
"AVCollectionReview": {
"type": "object",
"properties": {
"hasMore": {
"type": "boolean"
},
"items": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVCollectionReviewItem"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"matched": {
"type": "integer"
},
"ruleVersion": {
"type": "string"
},
"unknown": {
"type": "integer"
},
"unmatched": {
"type": "integer"
}
},
"required": [
"hasMore",
"items",
"matched",
"ruleVersion",
"unknown",
"unmatched"
],
"additionalProperties": false
},
"AVCollectionReviewItem": {
"type": "object",
"properties": {
"blockID": {
"type": "string"
},
"content": {
"type": "string"
},
"hPath": {
"type": "string"
},
"isDetached": {
"type": "boolean"
},
"itemID": {
"type": "string"
},
"reason": {
"type": "string",
"enum": [
"invalidItem",
"detached",
"noRules",
"invalidRule",
"unavailable",
"unreadable"
]
},
"status": {
"type": "string",
"enum": [
"matched",
"unmatched",
"unknown"
]
}
},
"required": [
"blockID",
"content",
"hPath",
"isDetached",
"itemID",
"status"
],
"additionalProperties": false
},
"AVCollectionReviewRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"page": {
"type": "integer"
},
"status": {
"type": "string",
"enum": [
"",
"matched",
"unmatched",
"unknown"
]
}
},
"required": [
"avID"
],
"additionalProperties": false
},
"AVConditionalColorRule": {
"type": "object",
"properties": {
"color": {
"anyOf": [
{
"$ref": "#/$defs/AVValueSelect"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilter"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"matchOption": {
"type": "boolean"
},
"target": {
"type": "string",
"enum": [
"item",
"property"
]
}
},
"required": [
"color",
"filter",
"id",
"matchOption",
"target"
],
"additionalProperties": false
},
"AVConditionalColorRuleInput": {
"type": "object",
"properties": {
"color": {
"anyOf": [
{
"$ref": "#/$defs/AVValueSelectInput"
},
{
"type": "null"
}
]
},
"filter": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilterInput"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"matchOption": {
"type": "boolean"
},
"target": {
"type": "string",
"enum": [
"item",
"property"
]
}
},
"required": [
"color",
"filter",
"id",
"matchOption",
"target"
],
"additionalProperties": false
},
"AVContextFilterData": {
"type": "object",
"properties": {
"contextFilter": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewContextFilter"
},
{
"type": "null"
}
]
}
},
"required": [
"contextFilter"
],
"additionalProperties": false
},
"AVCreateAttributeViewItemDocsResult": {
"type": "object",
"properties": {
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"itemIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"skippedItemIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"blockIDs",
"itemIDs"
],
"additionalProperties": false
},
"AVCreateAttributeViewItemResult": {
"type": "object",
"properties": {
"blockID": {
"type": "string"
},
"content": {
"type": "string"
},
"isDetached": {
"type": "boolean"
},
"itemID": {
"type": "string"
},
"openAfterCreate": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"blockID",
"content",
"isDetached",
"itemID"
],
"additionalProperties": false
},
"AVCreateItemDocsResult": {
"anyOf": [
{
"$ref": "#/$defs/AVCreateAttributeViewItemDocsResult"
},
{
"$ref": "#/$defs/AVUnavailableNotebook"
}
]
},
"AVCreateItemResult": {
"anyOf": [
{
"$ref": "#/$defs/AVCreateAttributeViewItemResult"
},
{
"$ref": "#/$defs/AVUnavailableNotebook"
}
]
},
"AVCreated": {
"type": "object",
"properties": {
"includeTime": {
"type": "boolean"
}
},
"required": [
"includeTime"
],
"additionalProperties": false
},
"AVData": {
"type": "object",
"properties": {
"av": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewData"
},
{
"type": "null"
}
]
}
},
"required": [
"av"
],
"additionalProperties": false
},
"AVDate": {
"type": "object",
"properties": {
"autoFillNow": {
"type": "boolean"
},
"fillSpecificTime": {
"type": "boolean"
}
},
"required": [
"autoFillNow",
"fillSpecificTime"
],
"additionalProperties": false
},
"AVDuplicateData": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"blockID": {
"type": "string"
}
},
"required": [
"avID",
"blockID"
],
"additionalProperties": false
},
"AVFieldCalc": {
"type": "object",
"properties": {
"operator": {
"type": "string"
},
"result": {
"anyOf": [
{
"$ref": "#/$defs/AVValue"
},
{
"type": "null"
}
]
},
"template": {
"type": "string"
}
},
"required": [
"operator",
"result"
],
"additionalProperties": false
},
"AVFieldCalcInput": {
"type": "object",
"properties": {
"operator": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"result": {
"anyOf": [
{
"$ref": "#/$defs/AVValueInput"
},
{
"type": "null"
}
]
},
"template": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVFieldViewsData": {
"type": "object",
"properties": {
"views": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewFieldView"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"views"
],
"additionalProperties": false
},
"AVFilterSortData": {
"type": "object",
"properties": {
"filters": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilter"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"sorts": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewSort"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"filters",
"sorts"
],
"additionalProperties": false
},
"AVGallery": {
"anyOf": [
{
"type": "object",
"properties": {
"cardAspectRatio": {
"type": "integer"
},
"cardAspectRatioValue": {
"type": "number"
},
"cardCount": {
"type": "integer"
},
"cardLayout": {
"type": "integer"
},
"cardSize": {
"type": "integer"
},
"cardWidth": {
"type": "integer"
},
"cards": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVGalleryCard"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"conditionalColors": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVConditionalColorRule"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"coverFrom": {
"type": "integer"
},
"coverFromAssetKeyID": {
"type": "string"
},
"desc": {
"type": "string"
},
"displayEmptyFields": {
"type": "boolean"
},
"displayFieldName": {
"type": "boolean"
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVGalleryField"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"filters": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilter"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fitImage": {
"type": "boolean"
},
"group": {
"anyOf": [
{
"$ref": "#/$defs/AVViewGroup"
},
{
"type": "null"
}
]
},
"groupCalc": {
"$ref": "#/$defs/AVGroupCalc"
},
"groupFolded": {
"type": "boolean"
},
"groupHidden": {
"type": "integer"
},
"groupKey": {
"$ref": "#/$defs/AVKey"
},
"groupValue": {
"$ref": "#/$defs/AVValue"
},
"groups": {
"type": "array",
"items": {
"$ref": "#/$defs/AVViewInstance"
}
},
"hideAttrViewName": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"pageSize": {
"type": "integer"
},
"showIcon": {
"type": "boolean"
},
"sorts": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewSort"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"wrapField": {
"type": "boolean"
}
},
"required": [
"coverFrom",
"cardAspectRatio",
"cardAspectRatioValue",
"cardSize",
"cardWidth",
"cardLayout",
"fitImage",
"displayFieldName",
"displayEmptyFields",
"fields",
"cards",
"cardCount",
"conditionalColors",
"id",
"icon",
"name",
"desc",
"hideAttrViewName",
"filters",
"sorts",
"group",
"pageSize",
"showIcon",
"wrapField",
"groupFolded",
"groupHidden"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"cardAspectRatio": {
"type": "integer"
},
"cardAspectRatioValue": {
"type": "number"
},
"cardCount": {
"type": "integer"
},
"cardLayout": {
"type": "integer"
},
"cardSize": {
"type": "integer"
},
"cardWidth": {
"type": "integer"
},
"cards": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVGalleryCard"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"coverFrom": {
"type": "integer"
},
"coverFromAssetKeyID": {
"type": "string"
},
"displayEmptyFields": {
"type": "boolean"
},
"displayFieldName": {
"type": "boolean"
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVGalleryField"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fitImage": {
"type": "boolean"
}
},
"required": [
"coverFrom",
"cardAspectRatio",
"cardAspectRatioValue",
"cardSize",
"cardWidth",
"cardLayout",
"fitImage",
"displayFieldName",
"displayEmptyFields",
"fields",
"cards",
"cardCount"
],
"additionalProperties": false
}
]
},
"AVGalleryCard": {
"type": "object",
"properties": {
"conditionalColors": {
"$ref": "#/$defs/AVItemConditionalColors"
},
"coverContent": {
"type": "string"
},
"coverPosition": {
"$ref": "#/$defs/AVCardCoverPosition"
},
"coverURL": {
"type": "string"
},
"id": {
"type": "string"
},
"values": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVGalleryFieldValue"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"coverContent",
"coverURL",
"id",
"values"
],
"additionalProperties": false
},
"AVGalleryField": {
"anyOf": [
{
"type": "object",
"properties": {
"calc": {
"anyOf": [
{
"$ref": "#/$defs/AVFieldCalc"
},
{
"type": "null"
}
]
},
"created": {
"$ref": "#/$defs/AVCreated"
},
"date": {
"$ref": "#/$defs/AVDate"
},
"dateFormat": {
"type": "string",
"enum": [
"",
"full",
"month-day-year",
"day-month-year",
"year-month-day",
"lunar"
]
},
"desc": {
"type": "string"
},
"fullRow": {
"type": "boolean"
},
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"numberFormat": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVSelectOption"
},
{
"type": "null"
}
]
}
},
"relation": {
"$ref": "#/$defs/AVRelation"
},
"renderTemplate": {
"type": "string"
},
"rollup": {
"$ref": "#/$defs/AVRollup"
},
"template": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"block",
"text",
"number",
"date",
"select",
"mSelect",
"url",
"email",
"phone",
"location",
"mAsset",
"template",
"created",
"updated",
"checkbox",
"relation",
"rollup",
"lineNumber"
]
},
"updated": {
"$ref": "#/$defs/AVUpdated"
},
"wrap": {
"type": "boolean"
}
},
"required": [
"fullRow",
"id",
"name",
"type",
"icon",
"wrap",
"hidden",
"desc",
"calc",
"numberFormat",
"template"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"fullRow": {
"type": "boolean"
}
},
"required": [
"fullRow"
],
"additionalProperties": false
}
]
},
"AVGalleryFieldValue": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"value": {
"anyOf": [
{
"$ref": "#/$defs/AVValue"
},
{
"type": "null"
}
]
},
"valueType": {
"type": "string",
"enum": [
"block",
"text",
"number",
"date",
"select",
"mSelect",
"url",
"email",
"phone",
"location",
"mAsset",
"template",
"created",
"updated",
"checkbox",
"relation",
"rollup",
"lineNumber"
]
}
},
"required": [
"id",
"value",
"valueType"
],
"additionalProperties": false
},
{
"type": "object",
"additionalProperties": false
}
]
},
"AVGroupCalc": {
"type": "object",
"properties": {
"calc": {
"anyOf": [
{
"$ref": "#/$defs/AVFieldCalc"
},
{
"type": "null"
}
]
},
"field": {
"type": "string"
}
},
"required": [
"calc",
"field"
],
"additionalProperties": false
},
"AVGroupPagingInput": {
"type": "object",
"properties": {
"page": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pageSize": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVGroupRange": {
"type": "object",
"properties": {
"numEnd": {
"type": "number"
},
"numStart": {
"type": "number"
},
"numStep": {
"type": "number"
}
},
"required": [
"numEnd",
"numStart",
"numStep"
],
"additionalProperties": false
},
"AVGroupRangeInput": {
"type": "object",
"properties": {
"numEnd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"numStart": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"numStep": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVIDData": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"AVItemConditionalColors": {
"type": "object",
"properties": {
"background": {
"$ref": "#/$defs/AVValueSelect"
},
"properties": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AVValueSelect"
},
{
"type": "null"
}
]
}
}
},
"additionalProperties": false
},
"AVKanban": {
"anyOf": [
{
"type": "object",
"properties": {
"cardAspectRatio": {
"type": "integer"
},
"cardAspectRatioValue": {
"type": "number"
},
"cardCount": {
"type": "integer"
},
"cardLayout": {
"type": "integer"
},
"cardSize": {
"type": "integer"
},
"cardWidth": {
"type": "integer"
},
"cards": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVKanbanCard"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"conditionalColors": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVConditionalColorRule"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"coverFrom": {
"type": "integer"
},
"coverFromAssetKeyID": {
"type": "string"
},
"desc": {
"type": "string"
},
"displayEmptyFields": {
"type": "boolean"
},
"displayFieldName": {
"type": "boolean"
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVKanbanField"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fillColBackgroundColor": {
"type": "boolean"
},
"filters": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilter"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fitImage": {
"type": "boolean"
},
"group": {
"anyOf": [
{
"$ref": "#/$defs/AVViewGroup"
},
{
"type": "null"
}
]
},
"groupCalc": {
"$ref": "#/$defs/AVGroupCalc"
},
"groupFolded": {
"type": "boolean"
},
"groupHidden": {
"type": "integer"
},
"groupKey": {
"$ref": "#/$defs/AVKey"
},
"groupValue": {
"$ref": "#/$defs/AVValue"
},
"groups": {
"type": "array",
"items": {
"$ref": "#/$defs/AVViewInstance"
}
},
"hideAttrViewName": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"pageSize": {
"type": "integer"
},
"showIcon": {
"type": "boolean"
},
"sorts": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewSort"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"wrapField": {
"type": "boolean"
}
},
"required": [
"coverFrom",
"cardAspectRatio",
"cardAspectRatioValue",
"cardSize",
"cardWidth",
"cardLayout",
"fitImage",
"displayFieldName",
"displayEmptyFields",
"fillColBackgroundColor",
"fields",
"cards",
"cardCount",
"conditionalColors",
"id",
"icon",
"name",
"desc",
"hideAttrViewName",
"filters",
"sorts",
"group",
"pageSize",
"showIcon",
"wrapField",
"groupFolded",
"groupHidden"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"cardAspectRatio": {
"type": "integer"
},
"cardAspectRatioValue": {
"type": "number"
},
"cardCount": {
"type": "integer"
},
"cardLayout": {
"type": "integer"
},
"cardSize": {
"type": "integer"
},
"cardWidth": {
"type": "integer"
},
"cards": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVKanbanCard"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"coverFrom": {
"type": "integer"
},
"coverFromAssetKeyID": {
"type": "string"
},
"displayEmptyFields": {
"type": "boolean"
},
"displayFieldName": {
"type": "boolean"
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVKanbanField"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fillColBackgroundColor": {
"type": "boolean"
},
"fitImage": {
"type": "boolean"
}
},
"required": [
"coverFrom",
"cardAspectRatio",
"cardAspectRatioValue",
"cardSize",
"cardWidth",
"cardLayout",
"fitImage",
"displayFieldName",
"displayEmptyFields",
"fillColBackgroundColor",
"fields",
"cards",
"cardCount"
],
"additionalProperties": false
}
]
},
"AVKanbanCard": {
"type": "object",
"properties": {
"conditionalColors": {
"$ref": "#/$defs/AVItemConditionalColors"
},
"coverContent": {
"type": "string"
},
"coverPosition": {
"$ref": "#/$defs/AVCardCoverPosition"
},
"coverURL": {
"type": "string"
},
"id": {
"type": "string"
},
"values": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVKanbanFieldValue"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"coverContent",
"coverURL",
"id",
"values"
],
"additionalProperties": false
},
"AVKanbanField": {
"anyOf": [
{
"type": "object",
"properties": {
"calc": {
"anyOf": [
{
"$ref": "#/$defs/AVFieldCalc"
},
{
"type": "null"
}
]
},
"created": {
"$ref": "#/$defs/AVCreated"
},
"date": {
"$ref": "#/$defs/AVDate"
},
"dateFormat": {
"type": "string",
"enum": [
"",
"full",
"month-day-year",
"day-month-year",
"year-month-day",
"lunar"
]
},
"desc": {
"type": "string"
},
"fullRow": {
"type": "boolean"
},
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"numberFormat": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVSelectOption"
},
{
"type": "null"
}
]
}
},
"relation": {
"$ref": "#/$defs/AVRelation"
},
"renderTemplate": {
"type": "string"
},
"rollup": {
"$ref": "#/$defs/AVRollup"
},
"template": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"block",
"text",
"number",
"date",
"select",
"mSelect",
"url",
"email",
"phone",
"location",
"mAsset",
"template",
"created",
"updated",
"checkbox",
"relation",
"rollup",
"lineNumber"
]
},
"updated": {
"$ref": "#/$defs/AVUpdated"
},
"wrap": {
"type": "boolean"
}
},
"required": [
"fullRow",
"id",
"name",
"type",
"icon",
"wrap",
"hidden",
"desc",
"calc",
"numberFormat",
"template"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"fullRow": {
"type": "boolean"
}
},
"required": [
"fullRow"
],
"additionalProperties": false
}
]
},
"AVKanbanFieldValue": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"value": {
"anyOf": [
{
"$ref": "#/$defs/AVValue"
},
{
"type": "null"
}
]
},
"valueType": {
"type": "string",
"enum": [
"block",
"text",
"number",
"date",
"select",
"mSelect",
"url",
"email",
"phone",
"location",
"mAsset",
"template",
"created",
"updated",
"checkbox",
"relation",
"rollup",
"lineNumber"
]
}
},
"required": [
"id",
"value",
"valueType"
],
"additionalProperties": false
},
{
"type": "object",
"additionalProperties": false
}
]
},
"AVKey": {
"type": "object",
"properties": {
"attributePanelVisibility": {
"type": "string",
"enum": [
"",
"always",
"hide-empty",
"hide"
]
},
"created": {
"$ref": "#/$defs/AVCreated"
},
"date": {
"$ref": "#/$defs/AVDate"
},
"dateFormat": {
"type": "string",
"enum": [
"",
"full",
"month-day-year",
"day-month-year",
"year-month-day",
"lunar"
]
},
"desc": {
"type": "string"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"numberFormat": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVSelectOption"
},
{
"type": "null"
}
]
}
},
"relation": {
"$ref": "#/$defs/AVRelation"
},
"renderTemplate": {
"type": "string"
},
"rollup": {
"$ref": "#/$defs/AVRollup"
},
"template": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"block",
"text",
"number",
"date",
"select",
"mSelect",
"url",
"email",
"phone",
"location",
"mAsset",
"template",
"created",
"updated",
"checkbox",
"relation",
"rollup",
"lineNumber"
]
},
"updated": {
"$ref": "#/$defs/AVUpdated"
}
},
"required": [
"desc",
"icon",
"id",
"name",
"numberFormat",
"template",
"type"
],
"additionalProperties": false
},
"AVKeyValues": {
"type": "object",
"properties": {
"key": {
"anyOf": [
{
"$ref": "#/$defs/AVKey"
},
{
"type": "null"
}
]
},
"values": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVValue"
},
{
"type": "null"
}
]
}
}
},
"required": [
"key"
],
"additionalProperties": false
},
"AVKeysData": {
"type": "object",
"properties": {
"keys": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVKey"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"keys"
],
"additionalProperties": false
},
"AVLayoutCalendar": {
"anyOf": [
{
"type": "object",
"properties": {
"columns": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewTableColumn"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"rowIds": {
"type": "array",
"items": {
"type": "string"
}
},
"settings": {
"$ref": "#/$defs/AVCalendarSettings"
},
"showIcon": {
"type": "boolean"
},
"spec": {
"type": "integer"
},
"wrapField": {
"type": "boolean"
}
},
"required": [
"columns",
"settings",
"spec",
"id",
"showIcon",
"wrapField"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"columns": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewTableColumn"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"rowIds": {
"type": "array",
"items": {
"type": "string"
}
},
"settings": {
"$ref": "#/$defs/AVCalendarSettings"
}
},
"required": [
"columns",
"settings"
],
"additionalProperties": false
}
]
},
"AVLayoutGallery": {
"anyOf": [
{
"type": "object",
"properties": {
"cardAspectRatio": {
"type": "integer"
},
"cardAspectRatioValue": {
"type": "number"
},
"cardLayout": {
"type": "integer"
},
"cardSize": {
"type": "integer"
},
"cardWidth": {
"type": "integer"
},
"coverFrom": {
"type": "integer"
},
"coverFromAssetKeyID": {
"type": "string"
},
"displayEmptyFields": {
"type": "boolean"
},
"displayFieldName": {
"type": "boolean"
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewGalleryCardField"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fitImage": {
"type": "boolean"
},
"id": {
"type": "string"
},
"showIcon": {
"type": "boolean"
},
"spec": {
"type": "integer"
},
"wrapField": {
"type": "boolean"
}
},
"required": [
"coverFrom",
"cardAspectRatio",
"cardAspectRatioValue",
"cardSize",
"cardWidth",
"cardLayout",
"fitImage",
"displayFieldName",
"displayEmptyFields",
"fields",
"spec",
"id",
"showIcon",
"wrapField"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"cardAspectRatio": {
"type": "integer"
},
"cardAspectRatioValue": {
"type": "number"
},
"cardLayout": {
"type": "integer"
},
"cardSize": {
"type": "integer"
},
"cardWidth": {
"type": "integer"
},
"coverFrom": {
"type": "integer"
},
"coverFromAssetKeyID": {
"type": "string"
},
"displayEmptyFields": {
"type": "boolean"
},
"displayFieldName": {
"type": "boolean"
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewGalleryCardField"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fitImage": {
"type": "boolean"
}
},
"required": [
"coverFrom",
"cardAspectRatio",
"cardAspectRatioValue",
"cardSize",
"cardWidth",
"cardLayout",
"fitImage",
"displayFieldName",
"displayEmptyFields",
"fields"
],
"additionalProperties": false
}
]
},
"AVLayoutKanban": {
"anyOf": [
{
"type": "object",
"properties": {
"cardAspectRatio": {
"type": "integer"
},
"cardAspectRatioValue": {
"type": "number"
},
"cardLayout": {
"type": "integer"
},
"cardSize": {
"type": "integer"
},
"cardWidth": {
"type": "integer"
},
"coverFrom": {
"type": "integer"
},
"coverFromAssetKeyID": {
"type": "string"
},
"displayEmptyFields": {
"type": "boolean"
},
"displayFieldName": {
"type": "boolean"
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewKanbanField"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fillColBackgroundColor": {
"type": "boolean"
},
"fitImage": {
"type": "boolean"
},
"id": {
"type": "string"
},
"showIcon": {
"type": "boolean"
},
"spec": {
"type": "integer"
},
"wrapField": {
"type": "boolean"
}
},
"required": [
"coverFrom",
"cardAspectRatio",
"cardAspectRatioValue",
"cardSize",
"cardWidth",
"cardLayout",
"fitImage",
"displayFieldName",
"displayEmptyFields",
"fillColBackgroundColor",
"fields",
"spec",
"id",
"showIcon",
"wrapField"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"cardAspectRatio": {
"type": "integer"
},
"cardAspectRatioValue": {
"type": "number"
},
"cardLayout": {
"type": "integer"
},
"cardSize": {
"type": "integer"
},
"cardWidth": {
"type": "integer"
},
"coverFrom": {
"type": "integer"
},
"coverFromAssetKeyID": {
"type": "string"
},
"displayEmptyFields": {
"type": "boolean"
},
"displayFieldName": {
"type": "boolean"
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewKanbanField"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fillColBackgroundColor": {
"type": "boolean"
},
"fitImage": {
"type": "boolean"
}
},
"required": [
"coverFrom",
"cardAspectRatio",
"cardAspectRatioValue",
"cardSize",
"cardWidth",
"cardLayout",
"fitImage",
"displayFieldName",
"displayEmptyFields",
"fillColBackgroundColor",
"fields"
],
"additionalProperties": false
}
]
},
"AVLayoutTable": {
"anyOf": [
{
"type": "object",
"properties": {
"columns": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewTableColumn"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"showIcon": {
"type": "boolean"
},
"spec": {
"type": "integer"
},
"wrapField": {
"type": "boolean"
}
},
"required": [
"columns",
"spec",
"id",
"showIcon",
"wrapField"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"columns": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewTableColumn"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"columns"
],
"additionalProperties": false
}
]
},
"AVNewItemFieldValue": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"static",
"currentTime"
]
},
"value": {
"$ref": "#/$defs/AVValue"
}
},
"required": [
"mode"
],
"additionalProperties": false
},
"AVNewItemFieldValueInput": {
"type": "object",
"properties": {
"mode": {
"enum": [
"static",
"currentTime"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"value": {
"anyOf": [
{
"$ref": "#/$defs/AVValueInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVNewItemSaveLocation": {
"type": "object",
"properties": {
"boxID": {
"type": "string"
},
"pathTemplate": {
"type": "string"
}
},
"required": [
"pathTemplate"
],
"additionalProperties": false
},
"AVNewItemSaveLocationInput": {
"type": "object",
"properties": {
"boxID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pathTemplate": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVNewItemTemplate": {
"type": "object",
"properties": {
"contentTemplatePath": {
"type": "string"
},
"fieldValues": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AVNewItemFieldValue"
},
{
"type": "null"
}
]
}
},
"hideInFileTree": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"openAfterCreate": {
"type": "boolean"
},
"primaryKeyTemplate": {
"type": "string"
},
"saveLocation": {
"$ref": "#/$defs/AVNewItemSaveLocation"
},
"targetType": {
"type": "string",
"enum": [
"detached",
"document"
]
}
},
"required": [
"id",
"name",
"targetType"
],
"additionalProperties": false
},
"AVNewItemTemplateInput": {
"type": "object",
"properties": {
"contentTemplatePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"fieldValues": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AVNewItemFieldValueInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"hideInFileTree": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"icon": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"openAfterCreate": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"primaryKeyTemplate": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"saveLocation": {
"anyOf": [
{
"$ref": "#/$defs/AVNewItemSaveLocationInput"
},
{
"type": "null"
}
]
},
"targetType": {
"enum": [
"detached",
"document"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVPasteRowsData": {
"type": "object",
"properties": {
"inferableKeyIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"view": {
"anyOf": [
{
"$ref": "#/$defs/AVTable"
},
{
"type": "null"
}
]
}
},
"required": [
"inferableKeyIDs",
"view"
],
"additionalProperties": false
},
"AVPathsData": {
"type": "object",
"properties": {
"paths": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"paths"
],
"additionalProperties": false
},
"AVPrimaryValuesData": {
"type": "object",
"properties": {
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"rows": {
"anyOf": [
{
"$ref": "#/$defs/AVKeyValues"
},
{
"type": "null"
}
]
},
"total": {
"type": "integer"
}
},
"required": [
"blockIDs",
"name",
"rows",
"total"
],
"additionalProperties": false
},
"AVRelation": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"backKeyID": {
"type": "string"
},
"candidateFilters": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilter"
},
{
"type": "null"
}
]
}
},
"isTwoWay": {
"type": "boolean"
}
},
"required": [
"avID",
"backKeyID",
"isTwoWay"
],
"additionalProperties": false
},
"AVRelationCandidateSortInput": {
"type": "object",
"properties": {
"column": {
"type": "string"
},
"order": {
"type": "string"
}
},
"required": [
"column",
"order"
],
"additionalProperties": false
},
"AVRelationCandidatesData": {
"type": "object",
"properties": {
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"columns": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVTableColumn"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"customColors": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewCustomColor"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"newItemPreview": {
"$ref": "#/$defs/AVRelationItemPreview"
},
"notebookID": {
"type": "string"
},
"rows": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVTableRow"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"selectedRows": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVTableRow"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"total": {
"type": "integer"
}
},
"required": [
"blockIDs",
"columns",
"customColors",
"name",
"notebookID",
"rows",
"selectedRows",
"total"
],
"additionalProperties": false
},
"AVRelationItemCellInput": {
"type": "object",
"properties": {
"itemID": {
"type": "string"
},
"relatedItemIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"itemID",
"relatedItemIDs"
],
"additionalProperties": false
},
"AVRelationItemPreview": {
"type": "object",
"properties": {
"createdAt": {
"type": "integer"
},
"error": {
"type": "string"
},
"hasPrimaryKeyTemplate": {
"type": "boolean"
},
"inputPrimaryKey": {
"type": "string"
},
"primaryKey": {
"type": "string"
},
"templateID": {
"type": "string"
}
},
"required": [
"createdAt",
"inputPrimaryKey",
"primaryKey",
"templateID"
],
"additionalProperties": false
},
"AVRelationItemPreviewInput": {
"type": "object",
"properties": {
"createdAt": {
"type": "integer"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hasPrimaryKeyTemplate": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inputPrimaryKey": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"primaryKey": {
"type": "string"
},
"templateID": {
"type": "string"
}
},
"required": [
"createdAt",
"primaryKey",
"templateID"
],
"additionalProperties": false
},
"AVRelativeDate": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"direction": {
"type": "integer"
},
"unit": {
"type": "integer"
}
},
"required": [
"count",
"direction",
"unit"
],
"additionalProperties": false
},
"AVRelativeDateInput": {
"type": "object",
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"direction": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"unit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVRenderData": {
"type": "object",
"properties": {
"colorOrder": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"contextFilter": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewContextFilter"
},
{
"type": "null"
}
]
},
"contextFilterFields": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewContextFilterField"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"customColors": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewCustomColor"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"defaultTemplateID": {
"type": "string"
},
"id": {
"type": "string"
},
"isMirror": {
"type": "boolean"
},
"name": {
"type": "string"
},
"newItemTemplates": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVNewItemTemplate"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"target": {
"$ref": "#/$defs/AVAttributeViewRenderTarget"
},
"usedCustomColorIndexes": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"view": {
"$ref": "#/$defs/AVViewInstance"
},
"viewID": {
"type": "string"
},
"viewType": {
"type": "string",
"enum": [
"table",
"list",
"gallery",
"kanban",
"calendar"
]
},
"views": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewData"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"colorOrder",
"contextFilter",
"contextFilterFields",
"customColors",
"defaultTemplateID",
"id",
"isMirror",
"name",
"newItemTemplates",
"usedCustomColorIndexes",
"view",
"viewID",
"viewType",
"views"
],
"additionalProperties": false
},
"AVRenderResult": {
"anyOf": [
{
"$ref": "#/$defs/AVRenderData"
},
{
"$ref": "#/$defs/AVViewNotFound"
}
]
},
"AVRollup": {
"type": "object",
"properties": {
"calc": {
"anyOf": [
{
"$ref": "#/$defs/AVRollupCalc"
},
{
"type": "null"
}
]
},
"filters": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilter"
},
{
"type": "null"
}
]
}
},
"keyID": {
"type": "string"
},
"relationKeyID": {
"type": "string"
}
},
"required": [
"calc",
"keyID",
"relationKeyID"
],
"additionalProperties": false
},
"AVRollupCalc": {
"type": "object",
"properties": {
"operator": {
"type": "string"
},
"result": {
"anyOf": [
{
"$ref": "#/$defs/AVValue"
},
{
"type": "null"
}
]
}
},
"required": [
"operator",
"result"
],
"additionalProperties": false
},
"AVRollupCalcInput": {
"type": "object",
"properties": {
"operator": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"result": {
"anyOf": [
{
"$ref": "#/$defs/AVValueInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVRowOrder": {
"type": "object",
"properties": {
"groups": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"itemIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"sorts": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewSort"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"groups",
"itemIDs",
"sorts"
],
"additionalProperties": false
},
"AVRowOrderChange": {
"type": "object",
"properties": {
"expected": {
"anyOf": [
{
"$ref": "#/$defs/AVRowOrder"
},
{
"type": "null"
}
]
},
"rowOrder": {
"anyOf": [
{
"$ref": "#/$defs/AVRowOrder"
},
{
"type": "null"
}
]
},
"validateGroup": {
"type": "string"
}
},
"required": [
"expected",
"rowOrder"
],
"additionalProperties": false
},
"AVRowOrderChangeInput": {
"type": "object",
"properties": {
"expected": {
"anyOf": [
{
"$ref": "#/$defs/AVRowOrderInput"
},
{
"type": "null"
}
]
},
"rowOrder": {
"anyOf": [
{
"$ref": "#/$defs/AVRowOrderInput"
},
{
"type": "null"
}
]
},
"validateGroup": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"expected",
"rowOrder",
"validateGroup"
],
"additionalProperties": false
},
"AVRowOrderInput": {
"type": "object",
"properties": {
"groups": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"itemIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"sorts": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewSortInput"
},
{
"type": "null"
}
]
}
}
},
"required": [
"groups",
"itemIDs",
"sorts"
],
"additionalProperties": false
},
"AVRowSortOperation": {
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"sortAttrViewRow"
]
},
"avID": {
"type": "string"
},
"backRelationKeyID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/AVRowOrderChange"
},
{
"type": "null"
}
]
},
"deckID": {
"type": "string"
},
"format": {
"type": "string"
},
"groupID": {
"type": "string"
},
"id": {
"type": "string"
},
"ignoreDefaultFill": {
"type": "boolean"
},
"isDetached": {
"type": "boolean"
},
"isTwoWay": {
"type": "boolean"
},
"keyID": {
"type": "string"
},
"layout": {
"type": "string"
},
"name": {
"type": "string"
},
"nextID": {
"type": "string"
},
"parentID": {
"type": "string"
},
"previousID": {
"type": "string"
},
"removeDest": {
"type": "boolean"
},
"retData": {
"type": "null"
},
"rootID": {
"type": "string"
},
"rowID": {
"type": "string"
},
"srcIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"srcs": {
"type": "null"
},
"targetGroupID": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
""
]
},
"viewID": {
"type": "string"
},
"viewIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"action",
"avID",
"backRelationKeyID",
"blockID",
"blockIDs",
"context",
"data",
"deckID",
"format",
"groupID",
"id",
"ignoreDefaultFill",
"isDetached",
"isTwoWay",
"keyID",
"layout",
"name",
"nextID",
"parentID",
"previousID",
"removeDest",
"retData",
"rootID",
"rowID",
"srcIDs",
"srcs",
"targetGroupID",
"type",
"viewID"
],
"additionalProperties": false
},
"AVRowSortPreview": {
"type": "object",
"properties": {
"conflict": {
"type": "boolean"
},
"doOperations": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVRowSortOperation"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"undoOperations": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVRowSortOperation"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"conflict",
"doOperations",
"undoOperations"
],
"additionalProperties": false
},
"AVSearchData": {
"type": "object",
"properties": {
"results": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVAvSearchResult"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"results"
],
"additionalProperties": false
},
"AVSelectOption": {
"type": "object",
"properties": {
"color": {
"type": "string"
},
"desc": {
"type": "string"
},
"name": {
"type": "string"
},
"resolvedColor": {
"$ref": "#/$defs/AVAttributeViewColor"
}
},
"required": [
"color",
"desc",
"name"
],
"additionalProperties": false
},
"AVSelectOptionInput": {
"type": "object",
"properties": {
"color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"desc": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resolvedColor": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewColorInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVTable": {
"anyOf": [
{
"type": "object",
"properties": {
"calendar": {
"$ref": "#/$defs/AVCalendarSettings"
},
"calendarRange": {
"$ref": "#/$defs/AVCalendarRange"
},
"calendarTargetDate": {
"type": "integer"
},
"columns": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVTableColumn"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"conditionalColors": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVConditionalColorRule"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"desc": {
"type": "string"
},
"filters": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilter"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"group": {
"anyOf": [
{
"$ref": "#/$defs/AVViewGroup"
},
{
"type": "null"
}
]
},
"groupCalc": {
"$ref": "#/$defs/AVGroupCalc"
},
"groupFolded": {
"type": "boolean"
},
"groupHidden": {
"type": "integer"
},
"groupKey": {
"$ref": "#/$defs/AVKey"
},
"groupValue": {
"$ref": "#/$defs/AVValue"
},
"groups": {
"type": "array",
"items": {
"$ref": "#/$defs/AVViewInstance"
}
},
"hideAttrViewName": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"pageSize": {
"type": "integer"
},
"rowCount": {
"type": "integer"
},
"rows": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVTableRow"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"showIcon": {
"type": "boolean"
},
"sorts": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewSort"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"wrapField": {
"type": "boolean"
}
},
"required": [
"columns",
"rows",
"rowCount",
"conditionalColors",
"id",
"icon",
"name",
"desc",
"hideAttrViewName",
"filters",
"sorts",
"group",
"pageSize",
"showIcon",
"wrapField",
"groupFolded",
"groupHidden"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"calendar": {
"$ref": "#/$defs/AVCalendarSettings"
},
"calendarRange": {
"$ref": "#/$defs/AVCalendarRange"
},
"calendarTargetDate": {
"type": "integer"
},
"columns": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVTableColumn"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"rowCount": {
"type": "integer"
},
"rows": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVTableRow"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"columns",
"rows",
"rowCount"
],
"additionalProperties": false
}
]
},
"AVTableCell": {
"anyOf": [
{
"type": "object",
"properties": {
"bgColor": {
"type": "string"
},
"color": {
"type": "string"
},
"id": {
"type": "string"
},
"value": {
"anyOf": [
{
"$ref": "#/$defs/AVValue"
},
{
"type": "null"
}
]
},
"valueType": {
"type": "string",
"enum": [
"block",
"text",
"number",
"date",
"select",
"mSelect",
"url",
"email",
"phone",
"location",
"mAsset",
"template",
"created",
"updated",
"checkbox",
"relation",
"rollup",
"lineNumber"
]
}
},
"required": [
"color",
"bgColor",
"id",
"value",
"valueType"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"bgColor": {
"type": "string"
},
"color": {
"type": "string"
}
},
"required": [
"color",
"bgColor"
],
"additionalProperties": false
}
]
},
"AVTableColumn": {
"anyOf": [
{
"type": "object",
"properties": {
"align": {
"type": "string",
"enum": [
"",
"left",
"center",
"right"
]
},
"calc": {
"anyOf": [
{
"$ref": "#/$defs/AVFieldCalc"
},
{
"type": "null"
}
]
},
"created": {
"$ref": "#/$defs/AVCreated"
},
"date": {
"$ref": "#/$defs/AVDate"
},
"dateFormat": {
"type": "string",
"enum": [
"",
"full",
"month-day-year",
"day-month-year",
"year-month-day",
"lunar"
]
},
"desc": {
"type": "string"
},
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"numberFormat": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVSelectOption"
},
{
"type": "null"
}
]
}
},
"pin": {
"type": "boolean"
},
"relation": {
"$ref": "#/$defs/AVRelation"
},
"renderTemplate": {
"type": "string"
},
"rollup": {
"$ref": "#/$defs/AVRollup"
},
"template": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"block",
"text",
"number",
"date",
"select",
"mSelect",
"url",
"email",
"phone",
"location",
"mAsset",
"template",
"created",
"updated",
"checkbox",
"relation",
"rollup",
"lineNumber"
]
},
"updated": {
"$ref": "#/$defs/AVUpdated"
},
"width": {
"type": "string"
},
"wrap": {
"type": "boolean"
}
},
"required": [
"pin",
"width",
"align",
"id",
"name",
"type",
"icon",
"wrap",
"hidden",
"desc",
"calc",
"numberFormat",
"template"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"align": {
"type": "string",
"enum": [
"",
"left",
"center",
"right"
]
},
"pin": {
"type": "boolean"
},
"width": {
"type": "string"
}
},
"required": [
"pin",
"width",
"align"
],
"additionalProperties": false
}
]
},
"AVTableRow": {
"type": "object",
"properties": {
"cells": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVTableCell"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"conditionalColors": {
"$ref": "#/$defs/AVItemConditionalColors"
},
"id": {
"type": "string"
}
},
"required": [
"cells",
"id"
],
"additionalProperties": false
},
"AVUnavailableNotebook": {
"type": "object",
"properties": {
"unavailableNotebook": {
"type": "boolean",
"enum": [
true
]
}
},
"required": [
"unavailableNotebook"
],
"additionalProperties": false
},
"AVUpdated": {
"type": "object",
"properties": {
"includeTime": {
"type": "boolean"
}
},
"required": [
"includeTime"
],
"additionalProperties": false
},
"AVValue": {
"type": "object",
"properties": {
"block": {
"$ref": "#/$defs/AVValueBlock"
},
"blockID": {
"type": "string"
},
"checkbox": {
"$ref": "#/$defs/AVValueCheckbox"
},
"created": {
"$ref": "#/$defs/AVValueCreated"
},
"createdAt": {
"type": "integer"
},
"date": {
"$ref": "#/$defs/AVValueDate"
},
"email": {
"$ref": "#/$defs/AVValueEmail"
},
"hasRenderTemplate": {
"type": "boolean"
},
"id": {
"type": "string"
},
"isDetached": {
"type": "boolean"
},
"keyID": {
"type": "string"
},
"location": {
"$ref": "#/$defs/AVValueLocation"
},
"mAsset": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVValueAsset"
},
{
"type": "null"
}
]
}
},
"mSelect": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVValueSelect"
},
{
"type": "null"
}
]
}
},
"number": {
"$ref": "#/$defs/AVValueNumber"
},
"phone": {
"$ref": "#/$defs/AVValuePhone"
},
"relation": {
"$ref": "#/$defs/AVValueRelation"
},
"renderedContent": {
"type": "string"
},
"rollup": {
"$ref": "#/$defs/AVValueRollup"
},
"template": {
"$ref": "#/$defs/AVValueTemplate"
},
"text": {
"$ref": "#/$defs/AVValueText"
},
"type": {
"type": "string",
"enum": [
"block",
"text",
"number",
"date",
"select",
"mSelect",
"url",
"email",
"phone",
"location",
"mAsset",
"template",
"created",
"updated",
"checkbox",
"relation",
"rollup",
"lineNumber"
]
},
"updated": {
"$ref": "#/$defs/AVValueUpdated"
},
"updatedAt": {
"type": "integer"
},
"url": {
"$ref": "#/$defs/AVValueURL"
}
},
"additionalProperties": false
},
"AVValueAsset": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"file",
"image"
]
}
},
"required": [
"content",
"name",
"type"
],
"additionalProperties": false
},
"AVValueAssetInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"file",
"image"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueBlock": {
"type": "object",
"properties": {
"collectionRuleID": {
"type": "string"
},
"content": {
"type": "string"
},
"created": {
"type": "integer"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"refSubtype": {
"type": "string",
"enum": [
"s",
"d"
]
},
"updated": {
"type": "integer"
}
},
"required": [
"content"
],
"additionalProperties": false
},
"AVValueBlockInput": {
"type": "object",
"properties": {
"collectionRuleID": {
"type": "string"
},
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"icon": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"refSubtype": {
"enum": [
"s",
"d"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"updated": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueCheckbox": {
"type": "object",
"properties": {
"checked": {
"type": "boolean"
}
},
"required": [
"checked"
],
"additionalProperties": false
},
"AVValueCheckboxInput": {
"type": "object",
"properties": {
"checked": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueCreated": {
"type": "object",
"properties": {
"content": {
"type": "integer"
},
"content2": {
"type": "integer"
},
"formattedContent": {
"type": "string"
},
"isNotEmpty": {
"type": "boolean"
},
"isNotEmpty2": {
"type": "boolean"
}
},
"required": [
"content",
"content2",
"formattedContent",
"isNotEmpty",
"isNotEmpty2"
],
"additionalProperties": false
},
"AVValueCreatedInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"content2": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"formattedContent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNotEmpty": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"isNotEmpty2": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueData": {
"type": "object",
"properties": {
"value": {
"anyOf": [
{
"$ref": "#/$defs/AVValue"
},
{
"type": "null"
}
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"AVValueDate": {
"type": "object",
"properties": {
"content": {
"type": "integer"
},
"content2": {
"type": "integer"
},
"formattedContent": {
"type": "string"
},
"hasEndDate": {
"type": "boolean"
},
"isNotEmpty": {
"type": "boolean"
},
"isNotEmpty2": {
"type": "boolean"
},
"isNotTime": {
"type": "boolean"
}
},
"required": [
"content",
"content2",
"formattedContent",
"hasEndDate",
"isNotEmpty",
"isNotEmpty2",
"isNotTime"
],
"additionalProperties": false
},
"AVValueDateInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"content2": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"formattedContent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hasEndDate": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"isNotEmpty": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"isNotEmpty2": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"isNotTime": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueEmail": {
"type": "object",
"properties": {
"content": {
"type": "string"
}
},
"required": [
"content"
],
"additionalProperties": false
},
"AVValueEmailInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueInput": {
"type": "object",
"properties": {
"block": {
"anyOf": [
{
"$ref": "#/$defs/AVValueBlockInput"
},
{
"type": "null"
}
]
},
"blockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"checkbox": {
"anyOf": [
{
"$ref": "#/$defs/AVValueCheckboxInput"
},
{
"type": "null"
}
]
},
"created": {
"anyOf": [
{
"$ref": "#/$defs/AVValueCreatedInput"
},
{
"type": "null"
}
]
},
"createdAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"date": {
"anyOf": [
{
"$ref": "#/$defs/AVValueDateInput"
},
{
"type": "null"
}
]
},
"email": {
"anyOf": [
{
"$ref": "#/$defs/AVValueEmailInput"
},
{
"type": "null"
}
]
},
"hasRenderTemplate": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isDetached": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"keyID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"location": {
"anyOf": [
{
"$ref": "#/$defs/AVValueLocationInput"
},
{
"type": "null"
}
]
},
"mAsset": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVValueAssetInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"mSelect": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVValueSelectInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"number": {
"anyOf": [
{
"$ref": "#/$defs/AVValueNumberInput"
},
{
"type": "null"
}
]
},
"phone": {
"anyOf": [
{
"$ref": "#/$defs/AVValuePhoneInput"
},
{
"type": "null"
}
]
},
"relation": {
"anyOf": [
{
"$ref": "#/$defs/AVValueRelationInput"
},
{
"type": "null"
}
]
},
"renderedContent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"rollup": {
"anyOf": [
{
"$ref": "#/$defs/AVValueRollupInput"
},
{
"type": "null"
}
]
},
"template": {
"anyOf": [
{
"$ref": "#/$defs/AVValueTemplateInput"
},
{
"type": "null"
}
]
},
"text": {
"anyOf": [
{
"$ref": "#/$defs/AVValueTextInput"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"block",
"text",
"number",
"date",
"select",
"mSelect",
"url",
"email",
"phone",
"location",
"mAsset",
"template",
"created",
"updated",
"checkbox",
"relation",
"rollup",
"lineNumber"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"updated": {
"anyOf": [
{
"$ref": "#/$defs/AVValueUpdatedInput"
},
{
"type": "null"
}
]
},
"updatedAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"$ref": "#/$defs/AVValueURLInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueLocation": {
"type": "object",
"properties": {
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"name": {
"type": "string"
},
"originalInput": {
"type": "string"
}
},
"additionalProperties": false
},
"AVValueLocationInput": {
"type": "object",
"properties": {
"latitude": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"longitude": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"originalInput": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueNumber": {
"type": "object",
"properties": {
"content": {
"type": "number"
},
"format": {
"type": "string"
},
"formattedContent": {
"type": "string"
},
"isNotEmpty": {
"type": "boolean"
}
},
"required": [
"content",
"format",
"formattedContent",
"isNotEmpty"
],
"additionalProperties": false
},
"AVValueNumberInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"formattedContent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNotEmpty": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValuePhone": {
"type": "object",
"properties": {
"content": {
"type": "string"
}
},
"required": [
"content"
],
"additionalProperties": false
},
"AVValuePhoneInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueRelation": {
"type": "object",
"properties": {
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"contents": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVValue"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"blockIDs",
"contents"
],
"additionalProperties": false
},
"AVValueRelationInput": {
"type": "object",
"properties": {
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"contents": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVValueInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueRollup": {
"type": "object",
"properties": {
"contents": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVValue"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"contents"
],
"additionalProperties": false
},
"AVValueRollupInput": {
"type": "object",
"properties": {
"contents": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVValueInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueSelect": {
"type": "object",
"properties": {
"color": {
"type": "string"
},
"content": {
"type": "string"
},
"resolvedColor": {
"$ref": "#/$defs/AVAttributeViewColor"
}
},
"required": [
"color",
"content"
],
"additionalProperties": false
},
"AVValueSelectInput": {
"type": "object",
"properties": {
"color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resolvedColor": {
"anyOf": [
{
"$ref": "#/$defs/AVAttributeViewColorInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueTemplate": {
"type": "object",
"properties": {
"content": {
"type": "string"
}
},
"required": [
"content"
],
"additionalProperties": false
},
"AVValueTemplateInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueText": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"rich": {
"$ref": "#/$defs/AVValueTextRich"
}
},
"required": [
"content"
],
"additionalProperties": false
},
"AVValueTextInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"rich": {
"anyOf": [
{
"$ref": "#/$defs/AVValueTextRichInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueTextRich": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"format": {
"type": "string",
"enum": [
"kramdown"
]
},
"spec": {
"type": "integer",
"enum": [
1
]
}
},
"required": [
"content",
"format",
"spec"
],
"additionalProperties": false
},
"AVValueTextRichInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"format": {
"enum": [
"kramdown"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"spec": {
"enum": [
1
],
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueURL": {
"type": "object",
"properties": {
"content": {
"type": "string"
}
},
"required": [
"content"
],
"additionalProperties": false
},
"AVValueURLInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValueUpdated": {
"type": "object",
"properties": {
"content": {
"type": "integer"
},
"content2": {
"type": "integer"
},
"formattedContent": {
"type": "string"
},
"isNotEmpty": {
"type": "boolean"
},
"isNotEmpty2": {
"type": "boolean"
}
},
"required": [
"content",
"content2",
"formattedContent",
"isNotEmpty",
"isNotEmpty2"
],
"additionalProperties": false
},
"AVValueUpdatedInput": {
"type": "object",
"properties": {
"content": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"content2": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"formattedContent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNotEmpty": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"isNotEmpty2": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVValuesData": {
"type": "object",
"properties": {
"values": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AVValue"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"values"
],
"additionalProperties": false
},
"AVView": {
"type": "object",
"properties": {
"calendar": {
"$ref": "#/$defs/AVLayoutCalendar"
},
"conditionalColors": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVConditionalColorRule"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"desc": {
"type": "string"
},
"filters": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilter"
},
{
"type": "null"
}
]
}
},
"gallery": {
"$ref": "#/$defs/AVLayoutGallery"
},
"group": {
"$ref": "#/$defs/AVViewGroup"
},
"groupCalc": {
"$ref": "#/$defs/AVGroupCalc"
},
"groupCreated": {
"type": "integer"
},
"groupFolded": {
"type": "boolean"
},
"groupHidden": {
"type": "integer"
},
"groupItemIds": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"groupKey": {
"$ref": "#/$defs/AVKey"
},
"groupSort": {
"type": "integer"
},
"groupVal": {
"$ref": "#/$defs/AVValue"
},
"groups": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVView"
},
{
"type": "null"
}
]
}
},
"hideAttrViewName": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"itemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"kanban": {
"$ref": "#/$defs/AVLayoutKanban"
},
"list": {
"$ref": "#/$defs/AVLayoutTable"
},
"name": {
"type": "string"
},
"pageSize": {
"type": "integer"
},
"sorts": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewSort"
},
{
"type": "null"
}
]
}
},
"table": {
"$ref": "#/$defs/AVLayoutTable"
},
"type": {
"type": "string",
"enum": [
"table",
"list",
"gallery",
"kanban",
"calendar"
]
}
},
"required": [
"conditionalColors",
"desc",
"groupCreated",
"groupFolded",
"groupHidden",
"groupItemIds",
"groupSort",
"hideAttrViewName",
"icon",
"id",
"name",
"pageSize",
"type"
],
"additionalProperties": false
},
"AVViewData": {
"type": "object",
"properties": {
"desc": {
"type": "string"
},
"hideAttrViewName": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"pageSize": {
"type": "integer"
},
"type": {
"type": "string",
"enum": [
"table",
"list",
"gallery",
"kanban",
"calendar"
]
}
},
"required": [
"desc",
"hideAttrViewName",
"icon",
"id",
"name",
"pageSize",
"type"
],
"additionalProperties": false
},
"AVViewFilter": {
"type": "object",
"properties": {
"column": {
"type": "string"
},
"combination": {
"type": "string",
"enum": [
"and",
"or"
]
},
"dateEndpoint": {
"type": "string",
"enum": [
"start",
"end"
]
},
"filters": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilter"
},
{
"type": "null"
}
]
}
},
"operator": {
"type": "string",
"enum": [
"",
"=",
"!=",
"\u003e",
"\u003e=",
"\u003c",
"\u003c=",
"Contains",
"Does not contains",
"Contains any item",
"Does not contain any item",
"Is empty",
"Is not empty",
"Starts with",
"Ends with",
"Is between",
"Is true",
"Is false"
]
},
"quantifier": {
"type": "string"
},
"relativeDate": {
"$ref": "#/$defs/AVRelativeDate"
},
"relativeDate2": {
"$ref": "#/$defs/AVRelativeDate"
},
"value": {
"anyOf": [
{
"$ref": "#/$defs/AVValue"
},
{
"type": "null"
}
]
},
"valueSource": {
"type": "string",
"enum": [
"stored",
"rendered"
]
}
},
"required": [
"column",
"operator",
"value"
],
"additionalProperties": false
},
"AVViewFilterInput": {
"type": "object",
"properties": {
"column": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"combination": {
"enum": [
"and",
"or"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dateEndpoint": {
"enum": [
"start",
"end"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"filters": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilterInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"operator": {
"enum": [
"",
"=",
"!=",
"\u003e",
"\u003e=",
"\u003c",
"\u003c=",
"Contains",
"Does not contains",
"Contains any item",
"Does not contain any item",
"Is empty",
"Is not empty",
"Starts with",
"Ends with",
"Is between",
"Is true",
"Is false"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"quantifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"relativeDate": {
"anyOf": [
{
"$ref": "#/$defs/AVRelativeDateInput"
},
{
"type": "null"
}
]
},
"relativeDate2": {
"anyOf": [
{
"$ref": "#/$defs/AVRelativeDateInput"
},
{
"type": "null"
}
]
},
"value": {
"anyOf": [
{
"$ref": "#/$defs/AVValueInput"
},
{
"type": "null"
}
]
},
"valueSource": {
"enum": [
"stored",
"rendered"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVViewGalleryCardField": {
"anyOf": [
{
"type": "object",
"properties": {
"calc": {
"$ref": "#/$defs/AVFieldCalc"
},
"desc": {
"type": "string"
},
"fullRow": {
"type": "boolean"
},
"hidden": {
"type": "boolean"
},
"id": {
"type": "string"
},
"wrap": {
"type": "boolean"
}
},
"required": [
"fullRow",
"id",
"wrap",
"hidden"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"fullRow": {
"type": "boolean"
}
},
"required": [
"fullRow"
],
"additionalProperties": false
}
]
},
"AVViewGroup": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"hideEmpty": {
"type": "boolean"
},
"method": {
"type": "integer"
},
"order": {
"type": "integer"
},
"range": {
"$ref": "#/$defs/AVGroupRange"
},
"valueSource": {
"type": "string",
"enum": [
"stored",
"rendered"
]
}
},
"required": [
"field",
"hideEmpty",
"method",
"order"
],
"additionalProperties": false
},
"AVViewGroupInput": {
"type": "object",
"properties": {
"field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hideEmpty": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"method": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"order": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"range": {
"anyOf": [
{
"$ref": "#/$defs/AVGroupRangeInput"
},
{
"type": "null"
}
]
},
"valueSource": {
"enum": [
"stored",
"rendered"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVViewInstance": {
"anyOf": [
{
"$ref": "#/$defs/AVTable"
},
{
"$ref": "#/$defs/AVGallery"
},
{
"$ref": "#/$defs/AVKanban"
}
]
},
"AVViewKanbanField": {
"anyOf": [
{
"type": "object",
"properties": {
"calc": {
"$ref": "#/$defs/AVFieldCalc"
},
"desc": {
"type": "string"
},
"fullRow": {
"type": "boolean"
},
"hidden": {
"type": "boolean"
},
"id": {
"type": "string"
},
"wrap": {
"type": "boolean"
}
},
"required": [
"fullRow",
"id",
"wrap",
"hidden"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"fullRow": {
"type": "boolean"
}
},
"required": [
"fullRow"
],
"additionalProperties": false
}
]
},
"AVViewNotFound": {
"type": "object",
"properties": {
"error": {
"type": "string",
"enum": [
"viewNotFound"
]
}
},
"required": [
"error"
],
"additionalProperties": false
},
"AVViewSort": {
"type": "object",
"properties": {
"column": {
"type": "string"
},
"dateEndpoint": {
"type": "string",
"enum": [
"start",
"end"
]
},
"order": {
"type": "string",
"enum": [
"",
"ASC",
"DESC"
]
},
"valueSource": {
"type": "string",
"enum": [
"stored",
"rendered"
]
}
},
"required": [
"column",
"order"
],
"additionalProperties": false
},
"AVViewSortInput": {
"type": "object",
"properties": {
"column": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dateEndpoint": {
"enum": [
"start",
"end"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"order": {
"enum": [
"",
"ASC",
"DESC"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"valueSource": {
"enum": [
"stored",
"rendered"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AVViewTableColumn": {
"anyOf": [
{
"type": "object",
"properties": {
"align": {
"type": "string",
"enum": [
"",
"left",
"center",
"right"
]
},
"calc": {
"$ref": "#/$defs/AVFieldCalc"
},
"desc": {
"type": "string"
},
"hidden": {
"type": "boolean"
},
"id": {
"type": "string"
},
"pin": {
"type": "boolean"
},
"width": {
"type": "string"
},
"wrap": {
"type": "boolean"
}
},
"required": [
"pin",
"width",
"id",
"wrap",
"hidden"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"align": {
"type": "string",
"enum": [
"",
"left",
"center",
"right"
]
},
"calc": {
"$ref": "#/$defs/AVFieldCalc"
},
"pin": {
"type": "boolean"
},
"width": {
"type": "string"
}
},
"required": [
"pin",
"width"
],
"additionalProperties": false
}
]
},
"AccountLoginData": {
"type": "object",
"properties": {
"needCaptcha": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"userName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"needCaptcha",
"token",
"userName"
],
"additionalProperties": false
},
"AccountLoginRequestInput": {
"type": "object",
"properties": {
"captcha": {
"type": "string"
},
"cloudRegion": {
"type": "number"
},
"userName": {
"type": "string"
},
"userPassword": {
"type": "string"
}
},
"required": [
"captcha",
"cloudRegion",
"userName",
"userPassword"
],
"additionalProperties": false
},
"ActivationCodeRequestInput": {
"type": "object",
"properties": {
"data": {
"type": "string"
}
},
"required": [
"data"
],
"additionalProperties": false
},
"AddAttributeViewBlocksRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"blockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"groupID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ignoreDefaultFill": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"previousID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"srcs": {
"type": "array",
"items": {
"$ref": "#/$defs/AVBlockSourceInput"
}
},
"viewID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"avID",
"srcs"
],
"additionalProperties": false
},
"AddAttributeViewKeyRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"blockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keyID": {
"type": "string"
},
"keyIcon": {
"type": "string"
},
"keyName": {
"type": "string"
},
"keyType": {
"type": "string"
},
"previousKeyID": {
"type": "string"
}
},
"required": [
"avID",
"keyID",
"keyIcon",
"keyName",
"keyType",
"previousKeyID"
],
"additionalProperties": false
},
"AppendAttributeViewDetachedBlocksWithValuesRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"blocksValues": {
"type": "array",
"items": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVValueInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
}
},
"required": [
"avID",
"blocksValues"
],
"additionalProperties": false
},
"AppendBlockRequestInput": {
"type": "object",
"properties": {
"data": {
"type": "string"
},
"dataType": {
"type": "string"
},
"parentID": {
"type": "string"
}
},
"required": [
"data",
"dataType",
"parentID"
],
"additionalProperties": false
},
"AppendHeadingChildrenRequestInput": {
"type": "object",
"properties": {
"childrenDOM": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"childrenDOM",
"id"
],
"additionalProperties": false
},
"AssetAnnotationData": {
"type": "object",
"properties": {
"data": {
"type": "string"
}
},
"required": [
"data"
],
"additionalProperties": false
},
"AssetCloudUploadRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"ignorePushMsg": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"AssetContent": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"ext": {
"type": "string"
},
"hSize": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"size": {
"type": "integer"
},
"updated": {
"type": "integer"
}
},
"required": [
"content",
"ext",
"hSize",
"id",
"name",
"path",
"size",
"updated"
],
"additionalProperties": false
},
"AssetContentData": {
"type": "object",
"properties": {
"assetContent": {
"anyOf": [
{
"$ref": "#/$defs/AssetContent"
},
{
"type": "null"
}
]
}
},
"required": [
"assetContent"
],
"additionalProperties": false
},
"AssetContentRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"query": {
"type": "string"
},
"queryMethod": {
"type": "number"
}
},
"required": [
"id",
"query",
"queryMethod"
],
"additionalProperties": false
},
"AssetDocumentAssetsRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"retainQueryStr": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"AssetDocumentRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"AssetInsertCoverData": {
"type": "object",
"properties": {
"succFiles": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AssetUploadSuccess"
}
},
{
"type": "null"
}
]
},
"succMap": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"succFiles",
"succMap"
],
"additionalProperties": false
},
"AssetOCRData": {
"type": "object",
"properties": {
"ocrJSON": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"text": {
"type": "string"
}
},
"required": [
"ocrJSON",
"text"
],
"additionalProperties": false
},
"AssetOCRTextRequestInput": {
"type": "object",
"properties": {
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AssetPathData": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
},
"AssetPathRequestInput": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
},
"AssetPathsCloudUploadRequestInput": {
"type": "object",
"properties": {
"ignorePushMsg": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"paths": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"paths"
],
"additionalProperties": false
},
"AssetPathsData": {
"type": "object",
"properties": {
"paths": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"paths"
],
"additionalProperties": false
},
"AssetReference": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"notebook": {
"type": "string"
},
"oldPath": {
"type": "string"
},
"path": {
"type": "string"
},
"reason": {
"type": "string"
},
"reference": {
"type": "string"
},
"relinkable": {
"type": "boolean"
},
"replacement": {
"type": "string"
},
"rootID": {
"type": "string"
},
"type": {
"type": "string"
},
"valueID": {
"type": "string"
}
},
"required": [
"avID",
"blockID",
"notebook",
"path",
"reason",
"reference",
"relinkable",
"replacement",
"rootID",
"type",
"valueID"
],
"additionalProperties": false
},
"AssetReferencesData": {
"type": "object",
"properties": {
"dryRun": {
"type": "boolean"
},
"historyPath": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/AssetRelinkItemResult"
}
},
"references": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AssetReference"
}
},
{
"type": "null"
}
]
},
"skippedNotebooks": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"unavailableAttributeViews": {
"type": "array",
"items": {
"$ref": "#/$defs/UnavailableAssetAttributeView"
}
},
"updated": {
"type": "integer"
}
},
"required": [
"dryRun",
"historyPath",
"references",
"skippedNotebooks",
"updated"
],
"additionalProperties": false
},
"AssetRelinkItemResult": {
"type": "object",
"properties": {
"newPath": {
"type": "string"
},
"ok": {
"type": "boolean"
},
"oldPath": {
"type": "string"
},
"reason": {
"type": "string"
},
"references": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AssetReference"
}
},
{
"type": "null"
}
]
},
"updated": {
"type": "integer"
}
},
"required": [
"newPath",
"ok",
"oldPath",
"reason",
"references",
"updated"
],
"additionalProperties": false
},
"AssetRelinkMappingInput": {
"type": "object",
"properties": {
"newPath": {
"type": "string"
},
"oldPath": {
"type": "string"
}
},
"required": [
"newPath",
"oldPath"
],
"additionalProperties": false
},
"AssetRenameData": {
"type": "object",
"properties": {
"newPath": {
"type": "string"
}
},
"required": [
"newPath"
],
"additionalProperties": false
},
"AssetStatData": {
"type": "object",
"properties": {
"created": {
"type": "integer"
},
"downloaded": {
"type": "boolean",
"enum": [
false
]
},
"hCreated": {
"type": "string"
},
"hSize": {
"type": "string"
},
"hUpdated": {
"type": "string"
},
"size": {
"type": "integer"
},
"updated": {
"type": "integer"
}
},
"required": [
"created",
"hCreated",
"hSize",
"hUpdated",
"size",
"updated"
],
"additionalProperties": false
},
"AssetTextData": {
"type": "object",
"properties": {
"text": {
"type": "string"
}
},
"required": [
"text"
],
"additionalProperties": false
},
"AssetUnusedItem": {
"type": "object",
"properties": {
"blockIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"item": {
"type": "string"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"item",
"name"
],
"additionalProperties": false
},
"AssetUploadData": {
"type": "object",
"properties": {
"errFiles": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"failedFiles": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AssetUploadFailure"
}
},
{
"type": "null"
}
]
},
"succFiles": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/AssetUploadSuccess"
}
},
{
"type": "null"
}
]
},
"succMap": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"errFiles",
"failedFiles",
"succFiles",
"succMap"
],
"additionalProperties": false
},
"AssetUploadFailure": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"index": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"error",
"index",
"name"
],
"additionalProperties": false
},
"AssetUploadSuccess": {
"type": "object",
"properties": {
"index": {
"type": "integer"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"index",
"name",
"path"
],
"additionalProperties": false
},
"AttributeViewColorTheme": {
"type": "object",
"properties": {
"backgroundColor": {
"type": "string"
},
"color": {
"type": "string"
}
},
"required": [
"backgroundColor",
"color"
],
"additionalProperties": false
},
"AttributeViewColorThemeInput": {
"type": "object",
"properties": {
"backgroundColor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AttributeViewCustomColor": {
"type": "object",
"properties": {
"dark": {
"$ref": "#/$defs/AttributeViewColorTheme"
},
"hidden": {
"type": "boolean"
},
"index": {
"type": "integer"
},
"light": {
"$ref": "#/$defs/AttributeViewColorTheme"
}
},
"required": [
"dark",
"index",
"light"
],
"additionalProperties": false
},
"AttributeViewCustomColorInput": {
"type": "object",
"properties": {
"dark": {
"anyOf": [
{
"$ref": "#/$defs/AttributeViewColorThemeInput"
},
{
"type": "null"
}
]
},
"hidden": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"light": {
"anyOf": [
{
"$ref": "#/$defs/AttributeViewColorThemeInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"AutoLaunchRequestInput": {
"type": "object",
"properties": {
"autoLaunch": {
"type": "number"
}
},
"required": [
"autoLaunch"
],
"additionalProperties": false
},
"BacklinkAttributeViewMatch": {
"type": "object",
"properties": {
"defIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"itemID": {
"type": "string"
},
"keyID": {
"type": "string"
},
"keyName": {
"type": "string"
},
"title": {
"type": "string"
},
"valueID": {
"type": "string"
}
},
"required": [
"defIDs",
"itemID",
"keyID",
"keyName",
"title",
"valueID"
],
"additionalProperties": false
},
"BacklinkAttributeViewTarget": {
"type": "object",
"properties": {
"blockID": {
"type": "string"
},
"matches": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BacklinkAttributeViewMatch"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"blockID",
"matches"
],
"additionalProperties": false
},
"BacklinkContext": {
"type": "object",
"properties": {
"attributeViewTargets": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BacklinkAttributeViewTarget"
},
{
"type": "null"
}
]
}
},
"blockPaths": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BlockPath"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"dom": {
"type": "string"
},
"expand": {
"type": "boolean"
},
"id": {
"type": "string"
},
"referenceBlockID": {
"type": "string"
},
"revision": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"blockPaths",
"dom",
"expand",
"id",
"revision"
],
"additionalProperties": false
},
"BacklinkContextData": {
"type": "object",
"properties": {
"backlinks": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BacklinkContext"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"backmentions": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BacklinkContext"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"keywords": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"revision": {
"type": "string"
},
"unchanged": {
"type": "boolean"
}
},
"required": [
"backlinks",
"backmentions",
"keywords",
"revision",
"unchanged"
],
"additionalProperties": false
},
"BacklinkDatabase": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"keys": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVKey"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
}
},
"required": [
"id",
"keys",
"name"
],
"additionalProperties": false
},
"BacklinkDatabaseFilterInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"filters": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilterInput"
},
{
"type": "null"
}
]
}
}
},
"required": [
"avID",
"filters"
],
"additionalProperties": false
},
"BacklinkDatabasesRequestInput": {
"type": "object",
"properties": {
"containChildren": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"keyword": {
"type": "string"
},
"notebook": {
"type": "string"
},
"sourceFilter": {
"anyOf": [
{
"$ref": "#/$defs/BacklinkSourceFilterInput"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"BacklinkDocumentRequestInput": {
"type": "object",
"properties": {
"blockSort": {
"type": "integer"
},
"containChildren": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"defID": {
"type": "string"
},
"highlight": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"keyword": {
"type": "string"
},
"knownRevision": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebook": {
"type": "string"
},
"refTreeID": {
"type": "string"
},
"sourceFilter": {
"anyOf": [
{
"$ref": "#/$defs/BacklinkSourceFilterInput"
},
{
"type": "null"
}
]
}
},
"required": [
"defID",
"keyword",
"refTreeID"
],
"additionalProperties": false
},
"BacklinkList": {
"type": "object",
"properties": {
"backlinks": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BacklinkPath"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"backmentions": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BacklinkPath"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"box": {
"type": "string"
},
"k": {
"type": "string"
},
"linkRefsCount": {
"type": "integer"
},
"mentionsCount": {
"type": "integer"
},
"mk": {
"type": "string"
},
"revision": {
"type": "string"
},
"unchanged": {
"type": "boolean"
}
},
"required": [
"backlinks",
"backmentions",
"box",
"k",
"linkRefsCount",
"mentionsCount",
"mk",
"revision",
"unchanged"
],
"additionalProperties": false
},
"BacklinkListRequestInput": {
"type": "object",
"properties": {
"containChildren": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"includeBacklinks": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"includeMentions": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"k": {
"type": "string"
},
"knownRevision": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mSort": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mk": {
"type": "string"
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"refDefCandidates": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"sort": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceFilter": {
"anyOf": [
{
"$ref": "#/$defs/BacklinkSourceFilterInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"BacklinkPath": {
"type": "object",
"properties": {
"blocks": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SearchBlock"
},
{
"type": "null"
}
]
}
},
"box": {
"type": "string"
},
"children": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SearchPath"
},
{
"type": "null"
}
]
}
},
"count": {
"type": "integer"
},
"created": {
"type": "string"
},
"depth": {
"type": "integer"
},
"folded": {
"type": "boolean"
},
"hPath": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"nameIsHTML": {
"type": "boolean"
},
"nodeType": {
"type": "string"
},
"number": {
"type": "string"
},
"revision": {
"type": "string"
},
"subType": {
"type": "string"
},
"type": {
"type": "string"
},
"updated": {
"type": "string"
}
},
"required": [
"box",
"count",
"created",
"depth",
"folded",
"hPath",
"id",
"name",
"nodeType",
"revision",
"subType",
"type",
"updated"
],
"additionalProperties": false
},
"BacklinkRefDef": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"path": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"id",
"path",
"text"
],
"additionalProperties": false
},
"BacklinkRefDefs": {
"type": "object",
"properties": {
"refDefs": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BacklinkRefDef"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"refDefs"
],
"additionalProperties": false
},
"BacklinkSourceFilterInput": {
"type": "object",
"properties": {
"dailyNote": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"database": {
"anyOf": [
{
"$ref": "#/$defs/BacklinkDatabaseFilterInput"
},
{
"type": "null"
}
]
},
"excludeSelf": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"excludedNotebookIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"excludedRefDefIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"BackmentionDocumentRequestInput": {
"type": "object",
"properties": {
"containChildren": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"defID": {
"type": "string"
},
"highlight": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"keyword": {
"type": "string"
},
"knownRevision": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebook": {
"type": "string"
},
"refTreeID": {
"type": "string"
}
},
"required": [
"defID",
"keyword",
"refTreeID"
],
"additionalProperties": false
},
"BatchInsertBlockRequestInput": {
"type": "object",
"properties": {
"blocks": {
"type": "array",
"items": {
"$ref": "#/$defs/BlockInsertInputInput"
}
}
},
"required": [
"blocks"
],
"additionalProperties": false
},
"BatchParentBlockRequestInput": {
"type": "object",
"properties": {
"blocks": {
"type": "array",
"items": {
"$ref": "#/$defs/PrependBlockRequestInput"
}
}
},
"required": [
"blocks"
],
"additionalProperties": false
},
"BatchReplaceAttributeViewBlocksRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"isDetached": {
"type": "boolean"
},
"oldNew": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
}
}
},
"required": [
"avID",
"isDetached",
"oldNew"
],
"additionalProperties": false
},
"BatchSetAttributeViewBlockAttrsRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"values": {
"type": "array",
"items": {
"$ref": "#/$defs/AVCellUpdateInput"
}
}
},
"required": [
"avID",
"values"
],
"additionalProperties": false
},
"BatchSetBlockAttrsRequestInput": {
"type": "object",
"properties": {
"blockAttrs": {
"type": "array",
"items": {
"$ref": "#/$defs/SetBlockAttrsRequestInput"
}
}
},
"required": [
"blockAttrs"
],
"additionalProperties": false
},
"BatchTaskListMarkerRequestInput": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/TaskListMarkerRequestInput"
}
}
},
"required": [
"items"
],
"additionalProperties": false
},
"BatchUpdateBlockRequestInput": {
"type": "object",
"properties": {
"blocks": {
"type": "array",
"items": {
"$ref": "#/$defs/UpdateBlockRequestInput"
}
}
},
"required": [
"blocks"
],
"additionalProperties": false
},
"BatchUpdatePackageRequestInput": {
"type": "object",
"properties": {
"frontend": {
"type": "string"
}
},
"required": [
"frontend"
],
"additionalProperties": false
},
"BazaarAppearance": {
"type": "object",
"properties": {
"bodyGradient": {
"anyOf": [
{
"$ref": "#/$defs/BazaarBodyGradient"
},
{
"type": "null"
}
]
},
"closeButtonBehavior": {
"type": "integer"
},
"codeBlockThemeDark": {
"type": "string"
},
"codeBlockThemeLight": {
"type": "string"
},
"compactMode": {
"type": "boolean"
},
"darkThemes": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BazaarAppearanceTheme"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"entryVisibility": {
"anyOf": [
{
"$ref": "#/$defs/BazaarEntryVisibility"
},
{
"type": "null"
}
]
},
"globalFontFamilies": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BazaarEditorFont"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"hideStatusBar": {
"type": "boolean"
},
"hideToolbar": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"iconVer": {
"type": "string"
},
"icons": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BazaarAppearanceIcon"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"lang": {
"type": "string"
},
"lightThemes": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BazaarAppearanceTheme"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"lockScreenWallpaper": {
"type": "boolean"
},
"menuMouseScroll": {
"type": "boolean"
},
"mobileBars": {
"anyOf": [
{
"$ref": "#/$defs/BazaarMobileBars"
},
{
"type": "null"
}
]
},
"mode": {
"type": "integer"
},
"modeOS": {
"type": "boolean"
},
"notifications": {
"anyOf": [
{
"$ref": "#/$defs/BazaarNotifications"
},
{
"type": "null"
}
]
},
"outlineKeepCurrentExpand": {
"type": "boolean"
},
"pdfTheme": {
"anyOf": [
{
"$ref": "#/$defs/BazaarPDFTheme"
},
{
"type": "null"
}
]
},
"statusBar": {
"anyOf": [
{
"$ref": "#/$defs/BazaarStatusBar"
},
{
"type": "null"
}
]
},
"themeDark": {
"type": "string"
},
"themeJS": {
"type": "boolean"
},
"themeLight": {
"type": "string"
},
"themeVer": {
"type": "string"
}
},
"required": [
"bodyGradient",
"closeButtonBehavior",
"codeBlockThemeDark",
"codeBlockThemeLight",
"compactMode",
"darkThemes",
"entryVisibility",
"globalFontFamilies",
"hideStatusBar",
"hideToolbar",
"icon",
"iconVer",
"icons",
"lang",
"lightThemes",
"lockScreenWallpaper",
"menuMouseScroll",
"mobileBars",
"mode",
"modeOS",
"notifications",
"outlineKeepCurrentExpand",
"pdfTheme",
"statusBar",
"themeDark",
"themeJS",
"themeLight",
"themeVer"
],
"additionalProperties": false
},
"BazaarAppearanceIcon": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"label",
"name"
],
"additionalProperties": false
},
"BazaarAppearancePackagesData": {
"type": "object",
"properties": {
"appearance": {
"anyOf": [
{
"$ref": "#/$defs/BazaarAppearance"
},
{
"type": "null"
}
]
},
"packages": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BazaarPackage"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"appearance",
"packages"
],
"additionalProperties": false
},
"BazaarAppearanceTheme": {
"type": "object",
"properties": {
"frontends": {
"type": "array",
"items": {
"type": "string"
}
},
"label": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"label",
"name"
],
"additionalProperties": false
},
"BazaarBodyGradient": {
"type": "object",
"properties": {
"dark": {
"$ref": "#/$defs/BazaarBodyGradientColor"
},
"light": {
"$ref": "#/$defs/BazaarBodyGradientColor"
},
"mode": {
"type": "string"
}
},
"required": [
"dark",
"light",
"mode"
],
"additionalProperties": false
},
"BazaarBodyGradientColor": {
"type": "object",
"properties": {
"color": {
"type": "string"
},
"opacity": {
"type": "number"
}
},
"required": [
"color",
"opacity"
],
"additionalProperties": false
},
"BazaarEditorFont": {
"type": "object",
"properties": {
"displayName": {
"type": "string"
},
"family": {
"type": "string"
},
"weight": {
"type": "integer"
}
},
"required": [
"displayName",
"family",
"weight"
],
"additionalProperties": false
},
"BazaarEntryVisibility": {
"type": "object",
"properties": {
"active": {
"type": "string"
},
"profiles": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BazaarEntryVisibilityProfile"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"version": {
"type": "integer"
}
},
"required": [
"active",
"profiles",
"version"
],
"additionalProperties": false
},
"BazaarEntryVisibilityProfile": {
"type": "object",
"properties": {
"entries": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"orders": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"entries",
"id",
"name",
"orders"
],
"additionalProperties": false
},
"BazaarFunding": {
"type": "object",
"properties": {
"custom": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"github": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"$ref": "#/$defs/BazaarFundingLink"
}
},
"openCollective": {
"type": "string"
},
"patreon": {
"type": "string"
}
},
"required": [
"custom",
"github",
"openCollective",
"patreon"
],
"additionalProperties": false
},
"BazaarFundingLink": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"label",
"url"
],
"additionalProperties": false
},
"BazaarLocalInstallData": {
"type": "object",
"properties": {
"minAppVersion": {
"type": "string"
},
"packageName": {
"type": "string"
},
"packageType": {
"type": "string"
},
"updated": {
"type": "boolean"
}
},
"required": [
"packageName",
"packageType",
"updated"
],
"additionalProperties": false
},
"BazaarLocalInstallError": {
"type": "object",
"properties": {
"minAppVersion": {
"type": "string"
},
"packageName": {
"type": "string"
},
"packageType": {
"type": "string"
},
"reason": {
"type": "string",
"enum": [
"install-failed",
"package-exists",
"package-incompatible"
]
}
},
"required": [
"minAppVersion",
"packageName",
"packageType",
"reason"
],
"additionalProperties": false
},
"BazaarLocalInstallResult": {
"anyOf": [
{
"$ref": "#/$defs/BazaarLocalInstallData"
},
{
"$ref": "#/$defs/BazaarLocalInstallError"
}
]
},
"BazaarMobileBars": {
"type": "object",
"properties": {
"autoHide": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"sidebarButtons": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"sidebarSwipe": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"autoHide",
"sidebarButtons",
"sidebarSwipe"
],
"additionalProperties": false
},
"BazaarNotifications": {
"type": "object",
"properties": {
"browserCompatibility": {
"type": "boolean"
},
"docTreeMaxList": {
"type": "boolean"
},
"formatPainterTip": {
"type": "boolean"
},
"selectAllIncompleteTip": {
"type": "boolean"
},
"selectAllTip": {
"type": "boolean"
},
"tagMaxList": {
"type": "boolean"
},
"workspaceNotSSD": {
"type": "boolean"
}
},
"required": [
"browserCompatibility",
"docTreeMaxList",
"tagMaxList",
"workspaceNotSSD"
],
"additionalProperties": false
},
"BazaarPDFTheme": {
"type": "object",
"properties": {
"annoColor": {
"type": "string"
},
"dark": {
"type": "string"
},
"light": {
"type": "string"
}
},
"required": [
"annoColor",
"dark",
"light"
],
"additionalProperties": false
},
"BazaarPackage": {
"type": "object",
"properties": {
"author": {
"type": "string"
},
"backends": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"bazaarIncompatible": {
"type": "boolean"
},
"bootAppearances": {
"type": "array",
"items": {
"type": "string"
}
},
"choices": {
"type": "array",
"items": {
"$ref": "#/$defs/BazaarPackageChoice"
}
},
"current": {
"type": "boolean"
},
"deprecated": {
"type": "boolean"
},
"deprecatedReason": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"description": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"disabledInPublish": {
"type": "boolean"
},
"disallowInstall": {
"type": "boolean"
},
"disallowUpdate": {
"type": "boolean"
},
"displayName": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"downloads": {
"type": "integer"
},
"enabled": {
"type": "boolean"
},
"frontends": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"funding": {
"anyOf": [
{
"$ref": "#/$defs/BazaarFunding"
},
{
"type": "null"
}
]
},
"hInstallDate": {
"type": "string"
},
"hInstallSize": {
"type": "string"
},
"hSize": {
"type": "string"
},
"hUpdated": {
"type": "string"
},
"hasStorageData": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"iconURL": {
"type": "string"
},
"installSize": {
"type": "integer"
},
"installTime": {
"type": "integer"
},
"installed": {
"type": "boolean"
},
"installedIncompatible": {
"type": "boolean"
},
"invalidReason": {
"type": "string",
"enum": [
"missing-manifest",
"invalid-manifest",
"name-mismatch"
]
},
"kernels": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"keywords": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"minAppVersion": {
"type": "string"
},
"modes": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"openIssues": {
"type": "integer"
},
"outdated": {
"type": "boolean"
},
"preferredDeprecatedReason": {
"type": "string"
},
"preferredDesc": {
"type": "string"
},
"preferredFunding": {
"type": "string"
},
"preferredName": {
"type": "string"
},
"preferredReadme": {
"type": "string"
},
"preview": {
"type": "string"
},
"previewURL": {
"type": "string"
},
"rating": {
"$ref": "#/$defs/BazaarPackageRating"
},
"ratingAvailable": {
"type": "boolean"
},
"readme": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"repoHash": {
"type": "string"
},
"repoRef": {
"type": "string"
},
"repoURL": {
"type": "string"
},
"settingsWindow": {
"type": "boolean"
},
"size": {
"type": "integer"
},
"stars": {
"type": "integer"
},
"updateRequiredMinAppVer": {
"type": "string"
},
"updateTime": {
"type": "integer"
},
"updated": {
"type": "string"
},
"url": {
"type": "string"
},
"userDisabledInPublish": {
"type": "boolean"
},
"version": {
"type": "string"
}
},
"required": [
"author",
"backends",
"current",
"description",
"disabledInPublish",
"disallowInstall",
"disallowUpdate",
"displayName",
"downloads",
"frontends",
"funding",
"hInstallDate",
"hInstallSize",
"hSize",
"hUpdated",
"iconURL",
"installSize",
"installTime",
"installed",
"kernels",
"keywords",
"minAppVersion",
"name",
"openIssues",
"outdated",
"preferredDesc",
"preferredFunding",
"preferredName",
"preferredReadme",
"previewURL",
"ratingAvailable",
"readme",
"repoHash",
"repoURL",
"size",
"stars",
"updateTime",
"updated",
"url",
"version"
],
"additionalProperties": false
},
"BazaarPackageChoice": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"packageType": {
"type": "string"
}
},
"required": [
"name",
"packageType"
],
"additionalProperties": false
},
"BazaarPackageDetail": {
"type": "object",
"properties": {
"available": {
"anyOf": [
{
"$ref": "#/$defs/BazaarPackage"
},
{
"type": "null"
}
]
},
"installed": {
"anyOf": [
{
"$ref": "#/$defs/BazaarPackage"
},
{
"type": "null"
}
]
}
},
"required": [
"available",
"installed"
],
"additionalProperties": false
},
"BazaarPackageRating": {
"type": "object",
"properties": {
"average": {
"type": "number"
},
"count": {
"type": "integer"
},
"distribution": {
"type": "array",
"items": {
"type": "integer"
},
"minItems": 5,
"maxItems": 5
}
},
"required": [
"average",
"count",
"distribution"
],
"additionalProperties": false
},
"BazaarPackageSizeData": {
"type": "object",
"properties": {
"hInstallSize": {
"type": "string"
},
"installSize": {
"type": "integer"
}
},
"required": [
"hInstallSize",
"installSize"
],
"additionalProperties": false
},
"BazaarPackagesData": {
"type": "object",
"properties": {
"packages": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BazaarPackage"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"packages"
],
"additionalProperties": false
},
"BazaarREADMEData": {
"type": "object",
"properties": {
"html": {
"type": "string"
}
},
"required": [
"html"
],
"additionalProperties": false
},
"BazaarRatingData": {
"type": "object",
"properties": {
"rating": {
"$ref": "#/$defs/BazaarPackageRating"
},
"ratingAvailable": {
"type": "boolean"
},
"userRating": {
"type": "integer"
}
},
"required": [
"ratingAvailable",
"userRating"
],
"additionalProperties": false
},
"BazaarRatingError": {
"type": "object",
"properties": {
"errorCode": {
"type": "string",
"enum": [
"bazaarRatingRateLimited",
"bazaarPackagePending"
]
}
},
"required": [
"errorCode"
],
"additionalProperties": false
},
"BazaarRatingResult": {
"anyOf": [
{
"$ref": "#/$defs/BazaarRatingData"
},
{
"$ref": "#/$defs/BazaarRatingError"
}
]
},
"BazaarRatingsData": {
"type": "object",
"properties": {
"eligiblePackageNames": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"ratings": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/BazaarPackageRating"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"eligiblePackageNames",
"ratings"
],
"additionalProperties": false
},
"BazaarStatusBar": {
"type": "object",
"properties": {
"msgDataSyncDisabled": {
"type": "boolean"
},
"msgTaskAssetDatabaseIndexCommitDisabled": {
"type": "boolean"
},
"msgTaskDatabaseIndexCommitDisabled": {
"type": "boolean"
},
"msgTaskHistoryDatabaseIndexCommitDisabled": {
"type": "boolean"
},
"msgTaskHistoryGenerateFileDisabled": {
"type": "boolean"
},
"version": {
"type": "integer"
}
},
"required": [
"msgDataSyncDisabled",
"msgTaskAssetDatabaseIndexCommitDisabled",
"msgTaskDatabaseIndexCommitDisabled",
"msgTaskHistoryDatabaseIndexCommitDisabled",
"msgTaskHistoryGenerateFileDisabled",
"version"
],
"additionalProperties": false
},
"BazaarUpdatedData": {
"type": "object",
"properties": {
"icons": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BazaarPackageDetail"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"plugins": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BazaarPackageDetail"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"templates": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BazaarPackageDetail"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"themes": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BazaarPackageDetail"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"widgets": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BazaarPackageDetail"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"icons",
"plugins",
"templates",
"themes",
"widgets"
],
"additionalProperties": false
},
"BazaarUserRatingsData": {
"type": "object",
"properties": {
"eligiblePackageNames": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"userRatings": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
{
"type": "null"
}
]
}
},
"required": [
"eligiblePackageNames",
"userRatings"
],
"additionalProperties": false
},
"BazaarUserRatingsResult": {
"anyOf": [
{
"$ref": "#/$defs/BazaarUserRatingsData"
},
{
"$ref": "#/$defs/BazaarRatingError"
}
]
},
"BlockBreadcrumbChildren": {
"type": "object",
"properties": {
"hasMore": {
"type": "boolean"
},
"items": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BlockPath"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"hasMore",
"items"
],
"additionalProperties": false
},
"BlockBreadcrumbChildrenRequestInput": {
"type": "object",
"properties": {
"excludeTypes": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"limit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"offset": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"BlockBreadcrumbRequestInput": {
"type": "object",
"properties": {
"excludeTypes": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"BlockDOMData": {
"type": "object",
"properties": {
"dom": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"dom",
"id"
],
"additionalProperties": false
},
"BlockDeleteData": {
"type": "object",
"properties": {
"createEmptyParagraph": {
"type": "boolean"
}
},
"required": [
"createEmptyParagraph"
],
"additionalProperties": false
},
"BlockDeleteDataInput": {
"type": "object",
"properties": {
"createEmptyParagraph": {
"type": "boolean"
}
},
"required": [
"createEmptyParagraph"
],
"additionalProperties": false
},
"BlockFoldData": {
"type": "object",
"properties": {
"isFolded": {
"type": "boolean"
},
"isRoot": {
"type": "boolean"
}
},
"required": [
"isFolded",
"isRoot"
],
"additionalProperties": false
},
"BlockIDRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"BlockIDsRequestInput": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"ids"
],
"additionalProperties": false
},
"BlockInfoData": {
"anyOf": [
{
"$ref": "#/$defs/FullBlockInfo"
},
{
"$ref": "#/$defs/PublishedBlockInfo"
}
]
},
"BlockInfoRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"BlockInsertInputInput": {
"type": "object",
"properties": {
"data": {
"type": "string"
},
"dataType": {
"type": "string"
},
"nextID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"parentID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"previousID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"data",
"dataType"
],
"additionalProperties": false
},
"BlockKramdownData": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"kramdown": {
"type": "string"
}
},
"required": [
"id",
"kramdown"
],
"additionalProperties": false
},
"BlockKramdownRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"BlockOperation": {
"anyOf": [
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"update"
]
},
"avID": {
"type": "string"
},
"backRelationKeyID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"data": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deckID": {
"type": "string"
},
"format": {
"type": "string"
},
"groupID": {
"type": "string"
},
"id": {
"type": "string"
},
"ignoreDefaultFill": {
"type": "boolean"
},
"isDetached": {
"type": "boolean"
},
"isTwoWay": {
"type": "boolean"
},
"keyID": {
"type": "string"
},
"layout": {
"type": "string"
},
"name": {
"type": "string"
},
"nextID": {
"type": "string"
},
"parentID": {
"type": "string"
},
"previousID": {
"type": "string"
},
"removeDest": {
"type": "boolean"
},
"retData": {
"anyOf": [
{
"type": "null"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"rootID": {
"type": "string"
},
"rowID": {
"type": "string"
},
"srcIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"srcs": {
"type": "null"
},
"targetGroupID": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
""
]
},
"viewID": {
"type": "string"
},
"viewIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"action",
"data",
"id",
"rootID",
"parentID",
"previousID",
"nextID",
"retData",
"blockIDs",
"blockID",
"deckID",
"avID",
"srcIDs",
"srcs",
"isDetached",
"name",
"type",
"format",
"keyID",
"rowID",
"isTwoWay",
"backRelationKeyID",
"removeDest",
"layout",
"groupID",
"targetGroupID",
"viewID",
"ignoreDefaultFill",
"context"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"insert"
]
},
"avID": {
"type": "string"
},
"backRelationKeyID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"data": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deckID": {
"type": "string"
},
"format": {
"type": "string"
},
"groupID": {
"type": "string"
},
"id": {
"type": "string"
},
"ignoreDefaultFill": {
"type": "boolean"
},
"isDetached": {
"type": "boolean"
},
"isTwoWay": {
"type": "boolean"
},
"keyID": {
"type": "string"
},
"layout": {
"type": "string"
},
"name": {
"type": "string"
},
"nextID": {
"type": "string"
},
"parentID": {
"type": "string"
},
"previousID": {
"type": "string"
},
"removeDest": {
"type": "boolean"
},
"retData": {
"anyOf": [
{
"type": "null"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"rootID": {
"type": "string"
},
"rowID": {
"type": "string"
},
"srcIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"srcs": {
"type": "null"
},
"targetGroupID": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
""
]
},
"viewID": {
"type": "string"
},
"viewIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"action",
"data",
"id",
"rootID",
"parentID",
"previousID",
"nextID",
"retData",
"blockIDs",
"blockID",
"deckID",
"avID",
"srcIDs",
"srcs",
"isDetached",
"name",
"type",
"format",
"keyID",
"rowID",
"isTwoWay",
"backRelationKeyID",
"removeDest",
"layout",
"groupID",
"targetGroupID",
"viewID",
"ignoreDefaultFill",
"context"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"delete"
]
},
"avID": {
"type": "string"
},
"backRelationKeyID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/BlockDeleteDataInput"
},
{
"type": "null"
}
]
},
"deckID": {
"type": "string"
},
"format": {
"type": "string"
},
"groupID": {
"type": "string"
},
"id": {
"type": "string"
},
"ignoreDefaultFill": {
"type": "boolean"
},
"isDetached": {
"type": "boolean"
},
"isTwoWay": {
"type": "boolean"
},
"keyID": {
"type": "string"
},
"layout": {
"type": "string"
},
"name": {
"type": "string"
},
"nextID": {
"type": "string"
},
"parentID": {
"type": "string"
},
"previousID": {
"type": "string"
},
"removeDest": {
"type": "boolean"
},
"retData": {
"anyOf": [
{
"type": "null"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"rootID": {
"type": "string"
},
"rowID": {
"type": "string"
},
"srcIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"srcs": {
"type": "null"
},
"targetGroupID": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
""
]
},
"viewID": {
"type": "string"
},
"viewIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"action",
"data",
"id",
"rootID",
"parentID",
"previousID",
"nextID",
"retData",
"blockIDs",
"blockID",
"deckID",
"avID",
"srcIDs",
"srcs",
"isDetached",
"name",
"type",
"format",
"keyID",
"rowID",
"isTwoWay",
"backRelationKeyID",
"removeDest",
"layout",
"groupID",
"targetGroupID",
"viewID",
"ignoreDefaultFill",
"context"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"moveOutlineHeading"
]
},
"avID": {
"type": "string"
},
"backRelationKeyID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"data": {
"type": "null"
},
"deckID": {
"type": "string"
},
"format": {
"type": "string"
},
"groupID": {
"type": "string"
},
"id": {
"type": "string"
},
"ignoreDefaultFill": {
"type": "boolean"
},
"isDetached": {
"type": "boolean"
},
"isTwoWay": {
"type": "boolean"
},
"keyID": {
"type": "string"
},
"layout": {
"type": "string"
},
"name": {
"type": "string"
},
"nextID": {
"type": "string"
},
"parentID": {
"type": "string"
},
"previousID": {
"type": "string"
},
"removeDest": {
"type": "boolean"
},
"retData": {
"anyOf": [
{
"type": "null"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"rootID": {
"type": "string"
},
"rowID": {
"type": "string"
},
"srcIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"srcs": {
"type": "null"
},
"targetGroupID": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
""
]
},
"viewID": {
"type": "string"
},
"viewIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"action",
"data",
"id",
"rootID",
"parentID",
"previousID",
"nextID",
"retData",
"blockIDs",
"blockID",
"deckID",
"avID",
"srcIDs",
"srcs",
"isDetached",
"name",
"type",
"format",
"keyID",
"rowID",
"isTwoWay",
"backRelationKeyID",
"removeDest",
"layout",
"groupID",
"targetGroupID",
"viewID",
"ignoreDefaultFill",
"context"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"appendInsert"
]
},
"avID": {
"type": "string"
},
"backRelationKeyID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"data": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deckID": {
"type": "string"
},
"format": {
"type": "string"
},
"groupID": {
"type": "string"
},
"id": {
"type": "string"
},
"ignoreDefaultFill": {
"type": "boolean"
},
"isDetached": {
"type": "boolean"
},
"isTwoWay": {
"type": "boolean"
},
"keyID": {
"type": "string"
},
"layout": {
"type": "string"
},
"name": {
"type": "string"
},
"nextID": {
"type": "string"
},
"parentID": {
"type": "string"
},
"previousID": {
"type": "string"
},
"removeDest": {
"type": "boolean"
},
"retData": {
"anyOf": [
{
"type": "null"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"rootID": {
"type": "string"
},
"rowID": {
"type": "string"
},
"srcIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"srcs": {
"type": "null"
},
"targetGroupID": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
""
]
},
"viewID": {
"type": "string"
},
"viewIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"action",
"data",
"id",
"rootID",
"parentID",
"previousID",
"nextID",
"retData",
"blockIDs",
"blockID",
"deckID",
"avID",
"srcIDs",
"srcs",
"isDetached",
"name",
"type",
"format",
"keyID",
"rowID",
"isTwoWay",
"backRelationKeyID",
"removeDest",
"layout",
"groupID",
"targetGroupID",
"viewID",
"ignoreDefaultFill",
"context"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"prependInsert"
]
},
"avID": {
"type": "string"
},
"backRelationKeyID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"data": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deckID": {
"type": "string"
},
"format": {
"type": "string"
},
"groupID": {
"type": "string"
},
"id": {
"type": "string"
},
"ignoreDefaultFill": {
"type": "boolean"
},
"isDetached": {
"type": "boolean"
},
"isTwoWay": {
"type": "boolean"
},
"keyID": {
"type": "string"
},
"layout": {
"type": "string"
},
"name": {
"type": "string"
},
"nextID": {
"type": "string"
},
"parentID": {
"type": "string"
},
"previousID": {
"type": "string"
},
"removeDest": {
"type": "boolean"
},
"retData": {
"anyOf": [
{
"type": "null"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"rootID": {
"type": "string"
},
"rowID": {
"type": "string"
},
"srcIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"srcs": {
"type": "null"
},
"targetGroupID": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
""
]
},
"viewID": {
"type": "string"
},
"viewIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"action",
"data",
"id",
"rootID",
"parentID",
"previousID",
"nextID",
"retData",
"blockIDs",
"blockID",
"deckID",
"avID",
"srcIDs",
"srcs",
"isDetached",
"name",
"type",
"format",
"keyID",
"rowID",
"isTwoWay",
"backRelationKeyID",
"removeDest",
"layout",
"groupID",
"targetGroupID",
"viewID",
"ignoreDefaultFill",
"context"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"foldHeading"
]
},
"avID": {
"type": "string"
},
"backRelationKeyID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"data": {
"type": "null"
},
"deckID": {
"type": "string"
},
"format": {
"type": "string"
},
"groupID": {
"type": "string"
},
"id": {
"type": "string"
},
"ignoreDefaultFill": {
"type": "boolean"
},
"isDetached": {
"type": "boolean"
},
"isTwoWay": {
"type": "boolean"
},
"keyID": {
"type": "string"
},
"layout": {
"type": "string"
},
"name": {
"type": "string"
},
"nextID": {
"type": "string"
},
"parentID": {
"type": "string"
},
"previousID": {
"type": "string"
},
"removeDest": {
"type": "boolean"
},
"retData": {
"anyOf": [
{
"type": "null"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"rootID": {
"type": "string"
},
"rowID": {
"type": "string"
},
"srcIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"srcs": {
"type": "null"
},
"targetGroupID": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
""
]
},
"viewID": {
"type": "string"
},
"viewIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"action",
"data",
"id",
"rootID",
"parentID",
"previousID",
"nextID",
"retData",
"blockIDs",
"blockID",
"deckID",
"avID",
"srcIDs",
"srcs",
"isDetached",
"name",
"type",
"format",
"keyID",
"rowID",
"isTwoWay",
"backRelationKeyID",
"removeDest",
"layout",
"groupID",
"targetGroupID",
"viewID",
"ignoreDefaultFill",
"context"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"unfoldHeading"
]
},
"avID": {
"type": "string"
},
"backRelationKeyID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"data": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deckID": {
"type": "string"
},
"format": {
"type": "string"
},
"groupID": {
"type": "string"
},
"id": {
"type": "string"
},
"ignoreDefaultFill": {
"type": "boolean"
},
"isDetached": {
"type": "boolean"
},
"isTwoWay": {
"type": "boolean"
},
"keyID": {
"type": "string"
},
"layout": {
"type": "string"
},
"name": {
"type": "string"
},
"nextID": {
"type": "string"
},
"parentID": {
"type": "string"
},
"previousID": {
"type": "string"
},
"removeDest": {
"type": "boolean"
},
"retData": {
"anyOf": [
{
"type": "null"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"rootID": {
"type": "string"
},
"rowID": {
"type": "string"
},
"srcIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"srcs": {
"type": "null"
},
"targetGroupID": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
""
]
},
"viewID": {
"type": "string"
},
"viewIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"action",
"data",
"id",
"rootID",
"parentID",
"previousID",
"nextID",
"retData",
"blockIDs",
"blockID",
"deckID",
"avID",
"srcIDs",
"srcs",
"isDetached",
"name",
"type",
"format",
"keyID",
"rowID",
"isTwoWay",
"backRelationKeyID",
"removeDest",
"layout",
"groupID",
"targetGroupID",
"viewID",
"ignoreDefaultFill",
"context"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"setAttrs"
]
},
"avID": {
"type": "string"
},
"backRelationKeyID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"data": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deckID": {
"type": "string"
},
"format": {
"type": "string"
},
"groupID": {
"type": "string"
},
"id": {
"type": "string"
},
"ignoreDefaultFill": {
"type": "boolean"
},
"isDetached": {
"type": "boolean"
},
"isTwoWay": {
"type": "boolean"
},
"keyID": {
"type": "string"
},
"layout": {
"type": "string"
},
"name": {
"type": "string"
},
"nextID": {
"type": "string"
},
"parentID": {
"type": "string"
},
"previousID": {
"type": "string"
},
"removeDest": {
"type": "boolean"
},
"retData": {
"anyOf": [
{
"type": "null"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"rootID": {
"type": "string"
},
"rowID": {
"type": "string"
},
"srcIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"srcs": {
"type": "null"
},
"targetGroupID": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
""
]
},
"viewID": {
"type": "string"
},
"viewIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"action",
"data",
"id",
"rootID",
"parentID",
"previousID",
"nextID",
"retData",
"blockIDs",
"blockID",
"deckID",
"avID",
"srcIDs",
"srcs",
"isDetached",
"name",
"type",
"format",
"keyID",
"rowID",
"isTwoWay",
"backRelationKeyID",
"removeDest",
"layout",
"groupID",
"targetGroupID",
"viewID",
"ignoreDefaultFill",
"context"
],
"additionalProperties": false
}
]
},
"BlockPath": {
"type": "object",
"properties": {
"children": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BlockPath"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"documentTitle": {
"type": "string"
},
"hasChildren": {
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"subType": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"children",
"id",
"name",
"subType",
"type"
],
"additionalProperties": false
},
"BlockQueryRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"BlockRelevantData": {
"type": "object",
"properties": {
"nextID": {
"type": "string"
},
"parentID": {
"type": "string"
},
"previousID": {
"type": "string"
}
},
"required": [
"nextID",
"parentID",
"previousID"
],
"additionalProperties": false
},
"BlockReminderRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"timed": {
"type": "string"
}
},
"required": [
"id",
"timed"
],
"additionalProperties": false
},
"BlockSiblingData": {
"type": "object",
"properties": {
"next": {
"type": "string"
},
"parent": {
"type": "string"
},
"previous": {
"type": "string"
}
},
"required": [
"next",
"parent",
"previous"
],
"additionalProperties": false
},
"BlockStat": {
"type": "object",
"properties": {
"blockCount": {
"type": "integer"
},
"imageCount": {
"type": "integer"
},
"linkCount": {
"type": "integer"
},
"refCount": {
"type": "integer"
},
"runeCount": {
"type": "integer"
},
"wordCount": {
"type": "integer"
}
},
"required": [
"blockCount",
"imageCount",
"linkCount",
"refCount",
"runeCount",
"wordCount"
],
"additionalProperties": false
},
"BlockTransaction": {
"type": "object",
"properties": {
"doOperations": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BlockOperation"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"templateDocTreePlanID": {
"type": "string"
},
"timestamp": {
"type": "integer"
},
"undoOperations": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BlockOperation"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"doOperations",
"timestamp",
"undoOperations"
],
"additionalProperties": false
},
"BlockTreeInfo": {
"type": "object",
"properties": {
"headingChildren": {
"type": "boolean"
},
"id": {
"type": "string"
},
"nextID": {
"type": "string"
},
"nextType": {
"type": "string"
},
"parentID": {
"type": "string"
},
"parentType": {
"type": "string"
},
"previousID": {
"type": "string"
},
"previousType": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"nextID",
"nextType",
"parentID",
"parentType",
"previousID",
"previousType",
"type"
],
"additionalProperties": false
},
"BlocksKramdownRequestInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"ids"
],
"additionalProperties": false
},
"BlocksQueryRequestInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"ids"
],
"additionalProperties": false
},
"BlocksWordCountRequestInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reqId": {
"anyOf": [
{
"$ref": "#/$defs/JSONValue"
},
{
"type": "null"
}
]
}
},
"required": [
"ids"
],
"additionalProperties": false
},
"Bookmark": {
"type": "object",
"properties": {
"blocks": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SearchBlock"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"count": {
"type": "integer"
},
"depth": {
"type": "integer"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"blocks",
"count",
"depth",
"name",
"type"
],
"additionalProperties": false
},
"BootProgressData": {
"type": "object",
"properties": {
"details": {
"type": "string"
},
"progress": {
"type": "integer"
}
},
"required": [
"details",
"progress"
],
"additionalProperties": false
},
"BroadcastChannel": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"count",
"name"
],
"additionalProperties": false
},
"BroadcastChannelData": {
"type": "object",
"properties": {
"channel": {
"anyOf": [
{
"$ref": "#/$defs/BroadcastChannel"
},
{
"type": "null"
}
]
}
},
"required": [
"channel"
],
"additionalProperties": false
},
"BroadcastChannelRequestInput": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"additionalProperties": false
},
"BroadcastChannelsData": {
"type": "object",
"properties": {
"channels": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BroadcastChannel"
},
{
"type": "null"
}
]
}
}
},
"required": [
"channels"
],
"additionalProperties": false
},
"BroadcastMessageRequestInput": {
"type": "object",
"properties": {
"channel": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"channel",
"message"
],
"additionalProperties": false
},
"BroadcastPublishData": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BroadcastPublishResult"
},
{
"type": "null"
}
]
}
}
},
"required": [
"results"
],
"additionalProperties": false
},
"BroadcastPublishMessage": {
"type": "object",
"properties": {
"filename": {
"type": "string"
},
"size": {
"type": "integer"
},
"type": {
"type": "string",
"enum": [
"string",
"binary"
]
}
},
"required": [
"filename",
"size",
"type"
],
"additionalProperties": false
},
"BroadcastPublishResult": {
"type": "object",
"properties": {
"channel": {
"$ref": "#/$defs/BroadcastChannel"
},
"code": {
"type": "integer"
},
"message": {
"$ref": "#/$defs/BroadcastPublishMessage"
},
"msg": {
"type": "string"
}
},
"required": [
"channel",
"code",
"message",
"msg"
],
"additionalProperties": false
},
"CancelSyncCheckoutData": {
"type": "object",
"properties": {
"requested": {
"type": "boolean"
}
},
"required": [
"requested"
],
"additionalProperties": false
},
"CancelSyncCheckoutRequestInput": {
"type": "object",
"properties": {
"taskID": {
"type": "string"
}
},
"required": [
"taskID"
],
"additionalProperties": false
},
"ChangeAttrViewLayoutRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"layoutType": {
"type": "string"
}
},
"required": [
"avID",
"blockID",
"layoutType"
],
"additionalProperties": false
},
"ChangeMasterPasswordRequestInput": {
"type": "object",
"properties": {
"newPassword": {
"type": "string"
},
"oldPassword": {
"type": "string"
}
},
"required": [
"newPassword",
"oldPassword"
],
"additionalProperties": false
},
"ChangeSortNotebookRequestInput": {
"type": "object",
"properties": {
"notebooks": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"notebooks"
],
"additionalProperties": false
},
"ChatGPTAccount": {
"type": "object",
"properties": {
"connected": {
"type": "boolean"
},
"email": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"sharing": {
"type": "boolean"
}
},
"required": [
"connected",
"email",
"id",
"name",
"sharing"
],
"additionalProperties": false
},
"ChatGPTAccountRequestInput": {
"type": "object",
"properties": {
"accountID": {
"type": "string"
}
},
"additionalProperties": false
},
"ChatGPTLogin": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"url"
],
"additionalProperties": false
},
"ChatGPTLoginRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"ChatGPTLoginStatus": {
"type": "object",
"properties": {
"accountID": {
"type": "string"
},
"error": {
"type": "string"
},
"state": {
"type": "string"
}
},
"required": [
"accountID",
"error",
"state"
],
"additionalProperties": false
},
"ChatGPTLogoutResult": {
"type": "object",
"properties": {
"revoked": {
"type": "boolean"
}
},
"required": [
"revoked"
],
"additionalProperties": false
},
"ChatGPTTransferRequestInput": {
"type": "object",
"properties": {
"accountID": {
"type": "string"
},
"data": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": [
"password"
],
"additionalProperties": false
},
"CheckActivationCodeRequestInput": {
"type": "object",
"properties": {
"data": {
"type": "string"
}
},
"required": [
"data"
],
"additionalProperties": false
},
"CheckBlockRefRequestInput": {
"type": "object",
"properties": {
"deletedIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"exactIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"paths": {
"type": "array",
"items": {
"type": "string"
}
},
"scope": {
"type": "string"
}
},
"additionalProperties": false
},
"CheckBlocksExistRequestInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ids": {
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"ids"
],
"additionalProperties": false
},
"CheckSnapshotData": {
"type": "object",
"properties": {
"changed": {
"type": "boolean"
}
},
"required": [
"changed"
],
"additionalProperties": false
},
"CheckoutRepoRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"sessionID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"ChildBlock": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"id": {
"type": "string"
},
"markdown": {
"type": "string"
},
"subType": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"additionalProperties": false
},
"CleanupRichTextRequestInput": {
"type": "object",
"properties": {
"batch": {
"type": "string"
},
"groups": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"batch",
"groups"
],
"additionalProperties": false
},
"ClearSyncProviderConfigData": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"local": {
"$ref": "#/$defs/SyncLocal"
},
"s3": {
"$ref": "#/$defs/SyncS3"
},
"webdav": {
"$ref": "#/$defs/SyncWebDAV"
}
},
"required": [
"enabled"
],
"additionalProperties": false
},
"ClearSyncProviderConfigRequestInput": {
"type": "object",
"properties": {
"provider": {
"type": "integer"
}
},
"required": [
"provider"
],
"additionalProperties": false
},
"ClipboardFile": {
"type": "object",
"properties": {
"isDir": {
"type": "boolean"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"size": {
"type": "integer"
},
"updated": {
"type": "integer"
}
},
"required": [
"isDir",
"name",
"path",
"size",
"updated"
],
"additionalProperties": false
},
"ClipboardPathRequestInput": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
},
"CloseNotebookRequestInput": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
}
},
"required": [
"notebook"
],
"additionalProperties": false
},
"CloudBackup": {
"type": "object",
"properties": {
"hSize": {
"type": "string"
},
"saveDir": {
"type": "string"
},
"size": {
"type": "integer"
},
"updated": {
"type": "string"
}
},
"required": [
"hSize",
"saveDir",
"size",
"updated"
],
"additionalProperties": false
},
"CloudReminderRequestInput": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"id": {
"type": "string"
},
"timed": {
"type": "string"
}
},
"required": [
"content",
"id",
"timed"
],
"additionalProperties": false
},
"CloudSpaceData": {
"type": "object",
"properties": {
"backup": {
"anyOf": [
{
"$ref": "#/$defs/CloudBackup"
},
{
"type": "null"
}
]
},
"hAssetSize": {
"type": "string"
},
"hExchangeSize": {
"type": "string"
},
"hSize": {
"type": "string"
},
"hTotalSize": {
"type": "string"
},
"hTrafficAPIGet": {
"type": "string"
},
"hTrafficAPIPut": {
"type": "string"
},
"hTrafficDownloadSize": {
"type": "string"
},
"hTrafficUploadSize": {
"type": "string"
},
"sync": {
"anyOf": [
{
"$ref": "#/$defs/CloudSync"
},
{
"type": "null"
}
]
}
},
"required": [
"backup",
"hAssetSize",
"hExchangeSize",
"hSize",
"hTotalSize",
"hTrafficAPIGet",
"hTrafficAPIPut",
"hTrafficDownloadSize",
"hTrafficUploadSize",
"sync"
],
"additionalProperties": false
},
"CloudSync": {
"type": "object",
"properties": {
"cloudName": {
"type": "string"
},
"hSize": {
"type": "string"
},
"saveDir": {
"type": "string"
},
"size": {
"type": "integer"
},
"updated": {
"type": "string"
}
},
"required": [
"cloudName",
"hSize",
"saveDir",
"size",
"updated"
],
"additionalProperties": false
},
"CloudSyncDir": {
"type": "object",
"properties": {
"cloudName": {
"type": "string"
},
"hSize": {
"type": "string"
},
"saveDir": {
"type": "string"
},
"size": {
"type": "integer"
},
"updated": {
"type": "string"
}
},
"required": [
"cloudName",
"hSize",
"saveDir",
"size",
"updated"
],
"additionalProperties": false
},
"CloudSyncDirsData": {
"type": "object",
"properties": {
"checkedSyncDir": {
"type": "string"
},
"hSize": {
"type": "string"
},
"syncDirs": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/CloudSyncDir"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"checkedSyncDir",
"hSize",
"syncDirs"
],
"additionalProperties": false
},
"CommitDataImportRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"mode": {
"type": "string",
"enum": [
"skip",
"overwrite"
]
},
"password": {
"type": "string"
}
},
"required": [
"id",
"mode"
],
"additionalProperties": false
},
"CommitNotebookArchiveRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"saved": {
"type": "boolean"
}
},
"required": [
"id",
"saved"
],
"additionalProperties": false
},
"ConfirmSettingsResetRequestInput": {
"type": "object",
"properties": {
"saved": {
"type": "boolean"
},
"token": {
"type": "string"
}
},
"required": [
"saved",
"token"
],
"additionalProperties": false
},
"ConfirmSyncCheckoutRequestInput": {
"type": "object",
"properties": {
"saved": {
"type": "boolean"
},
"taskID": {
"type": "string"
},
"token": {
"type": "string"
}
},
"required": [
"saved",
"taskID",
"token"
],
"additionalProperties": false
},
"ContentWordCountRequestInput": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"reqId": {
"anyOf": [
{
"$ref": "#/$defs/JSONValue"
},
{
"type": "null"
}
]
}
},
"required": [
"content"
],
"additionalProperties": false
},
"ContinueImportSYRequestInput": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
},
"token": {
"type": "string"
}
},
"required": [
"notebook",
"token"
],
"additionalProperties": false
},
"CopyExportFileRequestInput": {
"type": "object",
"properties": {
"dest": {
"type": "string"
},
"srcPath": {
"type": "string"
}
},
"required": [
"dest",
"srcPath"
],
"additionalProperties": false
},
"CopyFileRequestInput": {
"type": "object",
"properties": {
"dest": {
"type": "string"
},
"src": {
"type": "string"
}
},
"required": [
"dest",
"src"
],
"additionalProperties": false
},
"CopyFilesRequestInput": {
"type": "object",
"properties": {
"destDir": {
"type": "string"
},
"srcs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"destDir",
"srcs"
],
"additionalProperties": false
},
"CopyStdMarkdownRequestInput": {
"type": "object",
"properties": {
"adjustHeadingLevel": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"assetsDestSpace2Underscore": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"fillCSSVar": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"imgTag": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"CreateAssetHistoryRequestInput": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
},
"CreateAttributeViewItemDocsRequestInput": {
"type": "object",
"properties": {
"app": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"avID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"itemIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"saveMode": {
"type": "string"
},
"session": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"avID",
"blockID",
"itemIDs",
"saveMode"
],
"additionalProperties": false
},
"CreateAttributeViewItemRequestInput": {
"type": "object",
"properties": {
"app": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"avID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"calendarDate": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"groupID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"previousID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"session": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"templateID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"viewID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"avID",
"blockID"
],
"additionalProperties": false
},
"CreateAttributeViewItemWithMarkdownRequestInput": {
"type": "object",
"properties": {
"app": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"avID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"clippingHref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"groupID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"listDocTree": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"markdown": {
"type": "string"
},
"previousID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"session": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tags": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"templateID": {
"type": "string"
},
"title": {
"type": "string"
},
"viewID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"withMath": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"avID",
"blockID",
"markdown",
"templateID",
"title"
],
"additionalProperties": false
},
"CreateAttributeViewRelationItemRequestInput": {
"type": "object",
"properties": {
"app": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"avID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"cells": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVRelationItemCellInput"
},
{
"type": "null"
}
]
}
},
"keyID": {
"type": "string"
},
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"preview": {
"anyOf": [
{
"$ref": "#/$defs/AVRelationItemPreviewInput"
},
{
"type": "null"
}
]
},
"session": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"useInputName": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"avID",
"blockID",
"cells",
"keyID",
"preview"
],
"additionalProperties": false
},
"CreateDocByParentRequest": {
"type": "object",
"properties": {
"clippingHref": {
"type": "string"
},
"docCreateTemplatePath": {
"type": "string"
},
"expectedParentRevision": {
"type": "string"
},
"expectedTarget": {
"$ref": "#/$defs/DocumentTargetRevision"
},
"id": {
"type": "string"
},
"listDocTree": {
"type": "boolean"
},
"markdown": {
"type": "string"
},
"nameConditions": {
"type": "array",
"items": {
"$ref": "#/$defs/DocumentNameCondition"
}
},
"notebook": {
"type": "string"
},
"parentID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sortPosition": {
"type": "string",
"enum": [
"before",
"after"
]
},
"sortTargetID": {
"type": "string"
},
"sorts": {
"type": "array",
"items": {
"type": "string"
}
},
"tags": {
"type": "string"
},
"title": {
"$ref": "#/$defs/DocumentCreateTitle"
},
"withMath": {
"type": "boolean"
}
},
"required": [
"notebook",
"parentID",
"id",
"title",
"markdown"
],
"additionalProperties": false
},
"CreateDocByParentRequestInput": {
"type": "object",
"properties": {
"clippingHref": {
"type": "string"
},
"docCreateTemplatePath": {
"type": "string"
},
"expectedParentRevision": {
"type": "string"
},
"expectedTarget": {
"$ref": "#/$defs/DocumentTargetRevisionInput"
},
"id": {
"type": "string"
},
"listDocTree": {
"type": "boolean"
},
"markdown": {
"type": "string"
},
"nameConditions": {
"type": "array",
"items": {
"$ref": "#/$defs/DocumentNameConditionInput"
}
},
"notebook": {
"type": "string"
},
"parentID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sortPosition": {
"type": "string",
"enum": [
"before",
"after"
]
},
"sortTargetID": {
"type": "string"
},
"sorts": {
"type": "array",
"items": {
"type": "string"
}
},
"tags": {
"type": "string"
},
"title": {
"$ref": "#/$defs/DocumentCreateTitleInput"
},
"withMath": {
"type": "boolean"
}
},
"required": [
"notebook",
"parentID",
"id",
"title",
"markdown"
],
"additionalProperties": false
},
"CreateDocByParentResult": {
"anyOf": [
{
"$ref": "#/$defs/CreatedDocumentData"
},
{
"$ref": "#/$defs/DocumentCreateFailure"
}
]
},
"CreateDocHistoryRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"CreateEncryptedNotebookRequestInput": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": [
"name",
"password"
],
"additionalProperties": false
},
"CreateNotebookData": {
"type": "object",
"properties": {
"notebook": {
"anyOf": [
{
"$ref": "#/$defs/Notebook"
},
{
"type": "null"
}
]
}
},
"required": [
"notebook"
],
"additionalProperties": false
},
"CreateNotebookRequestInput": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"additionalProperties": false
},
"CreateRiffDeckRequestInput": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"additionalProperties": false
},
"CreateSnapshotData": {
"type": "object",
"properties": {
"created": {
"type": "boolean"
},
"id": {
"type": "string"
}
},
"required": [
"created",
"id"
],
"additionalProperties": false
},
"CreateSnapshotRequestInput": {
"type": "object",
"properties": {
"fullCheck": {
"type": "boolean"
},
"memo": {
"type": "string"
}
},
"additionalProperties": false
},
"CreatedDocumentData": {
"type": "object",
"properties": {
"document": {
"$ref": "#/$defs/DocumentPath"
},
"id": {
"type": "string"
}
},
"required": [
"document",
"id"
],
"additionalProperties": false
},
"Criterion": {
"type": "object",
"properties": {
"group": {
"type": "integer"
},
"hPath": {
"type": "string"
},
"hasReplace": {
"type": "boolean"
},
"idPath": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"k": {
"type": "string"
},
"method": {
"type": "integer"
},
"name": {
"type": "string"
},
"r": {
"type": "string"
},
"replaceTypes": {
"anyOf": [
{
"$ref": "#/$defs/CriterionReplaceTypes"
},
{
"type": "null"
}
]
},
"sort": {
"type": "integer"
},
"subTypes": {
"$ref": "#/$defs/SearchSubTypes"
},
"types": {
"anyOf": [
{
"$ref": "#/$defs/CriterionTypes"
},
{
"type": "null"
}
]
}
},
"required": [
"group",
"hPath",
"hasReplace",
"idPath",
"k",
"method",
"name",
"r",
"replaceTypes",
"sort",
"subTypes",
"types"
],
"additionalProperties": false
},
"CriterionInput": {
"type": "object",
"properties": {
"group": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"hPath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hasReplace": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"idPath": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"k": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"method": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"r": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"replaceTypes": {
"anyOf": [
{
"$ref": "#/$defs/CriterionReplaceTypesInput"
},
{
"type": "null"
}
]
},
"sort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"subTypes": {
"anyOf": [
{
"$ref": "#/$defs/SearchSubTypesInput"
},
{
"type": "null"
}
]
},
"types": {
"anyOf": [
{
"$ref": "#/$defs/CriterionTypesInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"CriterionReplaceTypes": {
"type": "object",
"properties": {
"aHref": {
"type": "boolean"
},
"aText": {
"type": "boolean"
},
"aTitle": {
"type": "boolean"
},
"blockRef": {
"type": "boolean"
},
"code": {
"type": "boolean"
},
"codeBlock": {
"type": "boolean"
},
"docTitle": {
"type": "boolean"
},
"em": {
"type": "boolean"
},
"fileAnnotationRef": {
"type": "boolean"
},
"htmlBlock": {
"type": "boolean"
},
"imgSrc": {
"type": "boolean"
},
"imgText": {
"type": "boolean"
},
"imgTitle": {
"type": "boolean"
},
"inlineMath": {
"type": "boolean"
},
"inlineMemo": {
"type": "boolean"
},
"kbd": {
"type": "boolean"
},
"mark": {
"type": "boolean"
},
"mathBlock": {
"type": "boolean"
},
"s": {
"type": "boolean"
},
"strong": {
"type": "boolean"
},
"sub": {
"type": "boolean"
},
"sup": {
"type": "boolean"
},
"tag": {
"type": "boolean"
},
"text": {
"type": "boolean"
},
"u": {
"type": "boolean"
}
},
"required": [
"aHref",
"aText",
"aTitle",
"blockRef",
"code",
"codeBlock",
"docTitle",
"em",
"fileAnnotationRef",
"htmlBlock",
"imgSrc",
"imgText",
"imgTitle",
"inlineMath",
"inlineMemo",
"kbd",
"mark",
"mathBlock",
"s",
"strong",
"sub",
"sup",
"tag",
"text",
"u"
],
"additionalProperties": false
},
"CriterionReplaceTypesInput": {
"type": "object",
"properties": {
"aHref": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"aText": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"aTitle": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"blockRef": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"code": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"docTitle": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"em": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"fileAnnotationRef": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"htmlBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"imgSrc": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"imgText": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"imgTitle": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineMath": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineMemo": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"kbd": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mark": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mathBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"s": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"strong": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"sub": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"sup": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tag": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"text": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"u": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"CriterionTypes": {
"type": "object",
"properties": {
"audioBlock": {
"type": "boolean"
},
"blockquote": {
"type": "boolean"
},
"callout": {
"type": "boolean"
},
"codeBlock": {
"type": "boolean"
},
"customBlock": {
"type": "boolean"
},
"databaseBlock": {
"type": "boolean"
},
"document": {
"type": "boolean"
},
"embedBlock": {
"type": "boolean"
},
"heading": {
"type": "boolean"
},
"htmlBlock": {
"type": "boolean"
},
"iframeBlock": {
"type": "boolean"
},
"list": {
"type": "boolean"
},
"listItem": {
"type": "boolean"
},
"mathBlock": {
"type": "boolean"
},
"mindmap": {
"type": "boolean"
},
"mindmapItem": {
"type": "boolean"
},
"paragraph": {
"type": "boolean"
},
"superBlock": {
"type": "boolean"
},
"tabItem": {
"type": "boolean"
},
"table": {
"type": "boolean"
},
"tabs": {
"type": "boolean"
},
"videoBlock": {
"type": "boolean"
},
"widgetBlock": {
"type": "boolean"
}
},
"required": [
"audioBlock",
"blockquote",
"callout",
"codeBlock",
"databaseBlock",
"document",
"embedBlock",
"heading",
"htmlBlock",
"iframeBlock",
"list",
"listItem",
"mathBlock",
"paragraph",
"superBlock",
"tabItem",
"table",
"tabs",
"videoBlock",
"widgetBlock"
],
"additionalProperties": false
},
"CriterionTypesInput": {
"type": "object",
"properties": {
"audioBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"blockquote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"callout": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"customBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"databaseBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"document": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"embedBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"heading": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"htmlBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"iframeBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"list": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"listItem": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mathBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mindmap": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mindmapItem": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"paragraph": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"superBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tabItem": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"table": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tabs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"videoBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"widgetBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"DOMData": {
"type": "object",
"properties": {
"dom": {
"type": "string"
}
},
"required": [
"dom"
],
"additionalProperties": false
},
"DOMTextRequestInput": {
"type": "object",
"properties": {
"dom": {
"type": "string"
}
},
"required": [
"dom"
],
"additionalProperties": false
},
"DailyNoteBlockRequestInput": {
"type": "object",
"properties": {
"data": {
"type": "string"
},
"dataType": {
"type": "string"
},
"notebook": {
"type": "string"
}
},
"required": [
"data",
"dataType",
"notebook"
],
"additionalProperties": false
},
"DailyNoteInfo": {
"type": "object",
"properties": {
"existed": {
"type": "boolean"
},
"hPath": {
"type": "string"
},
"id": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"existed",
"hPath",
"id",
"title"
],
"additionalProperties": false
},
"DailyNoteInfoRequestInput": {
"type": "object",
"properties": {
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebook": {
"type": "string"
}
},
"required": [
"notebook"
],
"additionalProperties": false
},
"DataImportPlan": {
"type": "object",
"properties": {
"conflicts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"encrypted": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
}
},
"required": [
"conflicts",
"encrypted",
"id"
],
"additionalProperties": false
},
"DataImportRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"DataImportResult": {
"type": "object",
"properties": {
"skipped": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"skipped"
],
"additionalProperties": false
},
"DeleteBlockRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"DiffDocVersionsRequestInput": {
"type": "object",
"properties": {
"left": {
"$ref": "#/$defs/DocVersionRefInput"
},
"right": {
"$ref": "#/$defs/DocVersionRefInput"
}
},
"required": [
"left",
"right"
],
"additionalProperties": false
},
"DiffRepoSnapshotsRequestInput": {
"type": "object",
"properties": {
"left": {
"type": "string"
},
"right": {
"type": "string"
}
},
"required": [
"left",
"right"
],
"additionalProperties": false
},
"DirectoryEntry": {
"type": "object",
"properties": {
"isDir": {
"type": "boolean"
},
"isSymlink": {
"type": "boolean"
},
"name": {
"type": "string"
},
"updated": {
"type": "integer"
}
},
"required": [
"isDir",
"isSymlink",
"name",
"updated"
],
"additionalProperties": false
},
"DocAttrView": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
"DocHeadingLevelData": {
"type": "object",
"properties": {
"counts": {
"type": "array",
"items": {
"type": "integer"
}
},
"title": {
"type": "string"
},
"transaction": {
"anyOf": [
{
"$ref": "#/$defs/BlockTransaction"
},
{
"type": "null"
}
]
},
"withSubheadingCounts": {
"type": "array",
"items": {
"type": "integer"
}
}
},
"required": [
"counts",
"title",
"transaction",
"withSubheadingCounts"
],
"additionalProperties": false
},
"DocHeadingLevelRequestInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"target": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"withSubheadings": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"DocHistoryContentData": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"id": {
"type": "string"
},
"isLargeDoc": {
"type": "boolean"
},
"rootID": {
"type": "string"
}
},
"required": [
"content",
"id",
"isLargeDoc",
"rootID"
],
"additionalProperties": false
},
"DocHistoryContentRequestInput": {
"type": "object",
"properties": {
"highlight": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"historyPath": {
"type": "string"
},
"k": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"historyPath"
],
"additionalProperties": false
},
"DocHistorySnapshot": {
"type": "object",
"properties": {
"created": {
"type": "integer"
},
"fileID": {
"type": "string"
},
"id": {
"type": "string"
},
"memo": {
"type": "string"
},
"tags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"created",
"fileID",
"id",
"memo",
"tags"
],
"additionalProperties": false
},
"DocHistorySnapshotEntry": {
"type": "object",
"properties": {
"created": {
"type": "string"
},
"historyPath": {
"type": "string"
},
"snapshots": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/DocHistorySnapshot"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"created",
"historyPath",
"snapshots"
],
"additionalProperties": false
},
"DocHistorySnapshotsData": {
"type": "object",
"properties": {
"histories": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/DocHistorySnapshotEntry"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"histories"
],
"additionalProperties": false
},
"DocHistorySnapshotsRequestInput": {
"type": "object",
"properties": {
"created": {
"type": "array",
"items": {
"type": "string"
}
},
"id": {
"type": "string"
},
"op": {
"type": "string"
}
},
"required": [
"created",
"id"
],
"additionalProperties": false
},
"DocInfo": {
"type": "object",
"properties": {
"attrViews": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/DocAttrView"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"ial": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"refCount": {
"type": "integer"
},
"refIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"rootID": {
"type": "string"
},
"subFileCount": {
"type": "integer"
}
},
"required": [
"attrViews",
"ial",
"icon",
"id",
"name",
"refCount",
"refIDs",
"rootID",
"subFileCount"
],
"additionalProperties": false
},
"DocOrdersRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"DocVersionDiffContent": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"id": {
"type": "string"
},
"rootID": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"content",
"id",
"rootID",
"title"
],
"additionalProperties": false
},
"DocVersionDiffResult": {
"type": "object",
"properties": {
"differences": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/DocVersionDifference"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fallback": {
"type": "boolean"
},
"large": {
"type": "boolean"
},
"left": {
"anyOf": [
{
"$ref": "#/$defs/DocVersionDiffContent"
},
{
"type": "null"
}
]
},
"message": {
"type": "string"
},
"right": {
"anyOf": [
{
"$ref": "#/$defs/DocVersionDiffContent"
},
{
"type": "null"
}
]
},
"titleModified": {
"type": "boolean"
}
},
"required": [
"differences",
"fallback",
"large",
"left",
"message",
"right",
"titleModified"
],
"additionalProperties": false
},
"DocVersionDifference": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"statuses": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"statuses"
],
"additionalProperties": false
},
"DocVersionRefInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"snapshot": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"additionalProperties": false
},
"DocsInfoRequestInput": {
"type": "object",
"properties": {
"av": {
"type": "boolean"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"refCount": {
"type": "boolean"
}
},
"required": [
"av",
"ids",
"refCount"
],
"additionalProperties": false
},
"DocumentAddressingFailure": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"enum": [
"invalidTitle",
"parentUnavailable",
"planChanged",
"documentIDConflict",
"legacyPathUnsupported",
"pathAmbiguous",
"indexUnavailable",
"unsupportedTitleFormat",
"targetModeUnsupported",
"writeFailed"
]
}
},
"required": [
"reason"
],
"additionalProperties": false
},
"DocumentCapabilities": {
"type": "object",
"properties": {
"indexState": {
"type": "string",
"enum": [
"missing",
"building",
"ready",
"error"
]
},
"literalSlash": {
"type": "boolean"
},
"revision": {
"type": "string"
},
"structuredPaths": {
"type": "boolean"
},
"titleFormats": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"indexState",
"literalSlash",
"revision",
"structuredPaths",
"titleFormats"
],
"additionalProperties": false
},
"DocumentCreateFailure": {
"type": "object",
"properties": {
"commitState": {
"type": "string",
"enum": [
"none",
"committed",
"unknown"
]
},
"completed": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"reason": {
"type": "string",
"enum": [
"invalidTitle",
"parentUnavailable",
"planChanged",
"documentIDConflict",
"indexUnavailable",
"unsupportedTitleFormat",
"writeFailed"
]
},
"stage": {
"type": "string"
}
},
"required": [
"commitState",
"completed",
"reason",
"stage"
],
"additionalProperties": false
},
"DocumentCreatePlan": {
"type": "object",
"properties": {
"existingID": {
"type": "string"
},
"notebook": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"$ref": "#/$defs/CreateDocByParentRequest"
}
},
"title": {
"type": "string"
}
},
"required": [
"notebook",
"steps",
"title"
],
"additionalProperties": false
},
"DocumentCreateTarget": {
"anyOf": [
{
"$ref": "#/$defs/LegacyDocumentTarget"
},
{
"$ref": "#/$defs/StructuredDocumentTarget"
}
]
},
"DocumentCreateTargetData": {
"type": "object",
"properties": {
"docCreateTemplatePath": {
"type": "string"
},
"revision": {
"type": "string"
},
"target": {
"$ref": "#/$defs/DocumentCreateTarget"
}
},
"required": [
"docCreateTemplatePath",
"revision",
"target"
],
"additionalProperties": false
},
"DocumentCreateTitle": {
"type": "object",
"properties": {
"format": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"format",
"text"
],
"additionalProperties": false
},
"DocumentCreateTitleInput": {
"type": "object",
"properties": {
"format": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"format",
"text"
],
"additionalProperties": false
},
"DocumentLocation": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebook": {
"type": "string"
},
"revision": {
"type": "string"
}
},
"required": [
"id",
"notebook",
"revision"
],
"additionalProperties": false
},
"DocumentNameCondition": {
"type": "object",
"properties": {
"expectedID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"parentID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
}
},
"required": [
"expectedID",
"parentID",
"title"
],
"additionalProperties": false
},
"DocumentNameConditionInput": {
"type": "object",
"properties": {
"expectedID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"parentID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
}
},
"required": [
"expectedID",
"parentID",
"title"
],
"additionalProperties": false
},
"DocumentPath": {
"type": "object",
"properties": {
"depth": {
"type": "integer"
},
"displayPath": {
"type": "string"
},
"id": {
"type": "string"
},
"notebook": {
"type": "string"
},
"parentID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"type": "string"
},
"revision": {
"type": "string"
},
"segments": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/DocumentPathSegment"
}
},
{
"type": "null"
}
]
},
"title": {
"$ref": "#/$defs/DocumentTitle"
}
},
"required": [
"depth",
"displayPath",
"id",
"notebook",
"parentID",
"path",
"revision",
"segments",
"title"
],
"additionalProperties": false
},
"DocumentPathSegment": {
"type": "object",
"properties": {
"empty": {
"type": "boolean"
},
"id": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"empty",
"id",
"text"
],
"additionalProperties": false
},
"DocumentPathStartInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"root",
"document"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
"DocumentPathsData": {
"type": "object",
"properties": {
"documents": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/DocumentPath"
}
},
{
"type": "null"
}
]
},
"missingIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"documents",
"missingIDs"
],
"additionalProperties": false
},
"DocumentPathsResult": {
"anyOf": [
{
"$ref": "#/$defs/DocumentPathsData"
},
{
"$ref": "#/$defs/DocumentAddressingFailure"
}
]
},
"DocumentPreviewImage": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
},
"src": {
"type": "string"
},
"video": {
"type": "string"
}
},
"required": [
"notebook",
"src"
],
"additionalProperties": false
},
"DocumentTargetAnchor": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"notebookRoot",
"context",
"document"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
"DocumentTargetAnchorInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"notebookRoot",
"context",
"document"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
"DocumentTargetRevision": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
},
"purpose": {
"type": "string",
"enum": [
"document",
"reference",
"dailyNote"
]
},
"revision": {
"type": "string"
}
},
"required": [
"notebook",
"purpose",
"revision"
],
"additionalProperties": false
},
"DocumentTargetRevisionInput": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
},
"purpose": {
"type": "string",
"enum": [
"document",
"reference",
"dailyNote"
]
},
"revision": {
"type": "string"
}
},
"required": [
"notebook",
"purpose",
"revision"
],
"additionalProperties": false
},
"DocumentTitle": {
"type": "object",
"properties": {
"empty": {
"type": "boolean"
},
"format": {
"type": "string",
"enum": [
"plain"
]
},
"text": {
"type": "string"
}
},
"required": [
"empty",
"format",
"text"
],
"additionalProperties": false
},
"DownloadCloudSnapshotRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"required": [
"id",
"tag"
],
"additionalProperties": false
},
"DownloadInstallPkgRequestInput": {
"type": "object",
"properties": {
"downloadInstallPkg": {
"type": "boolean"
}
},
"required": [
"downloadInstallPkg"
],
"additionalProperties": false
},
"DuplicateAttributeViewBlockRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
}
},
"required": [
"avID"
],
"additionalProperties": false
},
"EditorReadOnlyRequestInput": {
"type": "object",
"properties": {
"readonly": {
"type": "boolean"
}
},
"required": [
"readonly"
],
"additionalProperties": false
},
"EmbedBlock": {
"type": "object",
"properties": {
"allowChildOperation": {
"type": "boolean"
},
"block": {
"anyOf": [
{
"$ref": "#/$defs/SearchBlock"
},
{
"type": "null"
}
]
},
"blockPaths": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BlockPath"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"allowChildOperation",
"block",
"blockPaths"
],
"additionalProperties": false
},
"EmbedBlocksData": {
"type": "object",
"properties": {
"blocks": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/EmbedBlock"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"blocks"
],
"additionalProperties": false
},
"EmbedStat": {
"type": "object",
"properties": {
"complete": {
"type": "boolean"
},
"cycleCount": {
"type": "integer"
},
"depthLimitCount": {
"type": "integer"
},
"failedQueryCount": {
"type": "integer"
},
"failedResultCount": {
"type": "integer"
},
"jsEmbedCount": {
"type": "integer"
},
"queryEmbedCount": {
"type": "integer"
},
"resultCount": {
"type": "integer"
},
"truncatedQueryCount": {
"type": "integer"
}
},
"required": [
"complete",
"cycleCount",
"depthLimitCount",
"failedQueryCount",
"failedResultCount",
"jsEmbedCount",
"queryEmbedCount",
"resultCount",
"truncatedQueryCount"
],
"additionalProperties": false
},
"EmptyRequestInput": {
"type": "object",
"additionalProperties": false
},
"EncryptedBoxAssetsRequestInput": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
}
},
"required": [
"notebook"
],
"additionalProperties": false
},
"EncryptedNotebookFollowSystemLockRequestInput": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
},
"required": [
"enabled"
],
"additionalProperties": false
},
"EncryptedNotebookStatus": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"state": {
"type": "string",
"enum": [
"Locked",
"Unlocking",
"Unlocked",
"Locking",
"Error"
]
},
"unlocked": {
"type": "boolean"
}
},
"required": [
"id",
"name",
"state",
"unlocked"
],
"additionalProperties": false
},
"EncryptedNotebookStatusData": {
"type": "object",
"properties": {
"boxes": {
"type": "array",
"items": {
"$ref": "#/$defs/EncryptedNotebookStatus"
}
},
"count": {
"type": "integer"
},
"enabled": {
"type": "boolean"
},
"hasHistoryDependency": {
"type": "boolean"
},
"migrationBoxes": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"migrationPending": {
"type": "boolean"
},
"state": {
"type": "string",
"enum": [
"Disabled",
"Enabled",
"RecoveryRequired"
]
}
},
"required": [
"boxes",
"count",
"enabled",
"hasHistoryDependency",
"migrationBoxes",
"migrationPending",
"state"
],
"additionalProperties": false
},
"ExportAsFileRequestInput": {
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "binary"
},
"type": {
"type": "string"
}
},
"required": [
"file",
"type"
],
"additionalProperties": false
},
"ExportAttributeViewRequestInput": {
"type": "object",
"properties": {
"blockID": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"blockID",
"id"
],
"additionalProperties": false
},
"ExportBrowserHTMLRequestInput": {
"type": "object",
"properties": {
"folder": {
"type": "string"
},
"html": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"folder",
"html",
"name"
],
"additionalProperties": false
},
"ExportDocumentsMarkdownRequestInput": {
"type": "object",
"properties": {
"addTitle": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"blockEmbedMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"blockRefMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"blockRefTextLeft": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"blockRefTextRight": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"fileAnnotationRefMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"includeRelatedDocs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"includeSubDocs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineMemo": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"markdownYFM": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"removeAssetsID": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tagCloseMarker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tagOpenMarker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"ids"
],
"additionalProperties": false
},
"ExportDocxRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"merge": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mergeContentHeadingMode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mergeDocHeadingMode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"removeAssets": {
"type": "boolean"
},
"savePath": {
"type": "string"
}
},
"required": [
"id",
"removeAssets",
"savePath"
],
"additionalProperties": false
},
"ExportFileData": {
"type": "object",
"properties": {
"file": {
"type": "string"
}
},
"required": [
"file"
],
"additionalProperties": false
},
"ExportFolderRequestInput": {
"type": "object",
"properties": {
"folder": {
"type": "string"
}
},
"required": [
"folder"
],
"additionalProperties": false
},
"ExportHTMLData": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"folder": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"content",
"id",
"name"
],
"additionalProperties": false
},
"ExportHTMLRequestInput": {
"type": "object",
"properties": {
"addTitle": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"customTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"keepFold": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"merge": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mergeContentHeadingMode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mergeDocHeadingMode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pdf": {
"type": "boolean"
},
"savePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"pdf"
],
"additionalProperties": false
},
"ExportIDRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"ExportIDsRequestInput": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"ids"
],
"additionalProperties": false
},
"ExportMarkdownContentData": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"hPath": {
"type": "string"
}
},
"required": [
"content",
"hPath"
],
"additionalProperties": false
},
"ExportMarkdownContentRequestInput": {
"type": "object",
"properties": {
"addTitle": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"adjustHeadingLevel": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"embedMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"fillCSSVar": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"imgTag": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"preserveTaskMarkers": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"refMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"yfm": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"ExportMarkdownHTMLRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"savePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"ExportMarkdownRequestInput": {
"type": "object",
"properties": {
"addTitle": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"blockEmbedMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"blockRefMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"blockRefTextLeft": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"blockRefTextRight": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"fileAnnotationRefMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"includeRelatedDocs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"includeSubDocs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineMemo": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"markdownYFM": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"removeAssetsID": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tagCloseMarker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tagOpenMarker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"ExportNameData": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"additionalProperties": false
},
"ExportNamedZipData": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"zip": {
"type": "string"
}
},
"required": [
"name",
"zip"
],
"additionalProperties": false
},
"ExportNotebookMarkdownRequestInput": {
"type": "object",
"properties": {
"addTitle": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"blockEmbedMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"blockRefMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"blockRefTextLeft": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"blockRefTextRight": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"fileAnnotationRefMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"includeRelatedDocs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"includeSubDocs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineMemo": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"markdownYFM": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"notebook": {
"type": "string"
},
"removeAssetsID": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tagCloseMarker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tagOpenMarker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"notebook"
],
"additionalProperties": false
},
"ExportNotebooksMarkdownRequestInput": {
"type": "object",
"properties": {
"addTitle": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"blockEmbedMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"blockRefMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"blockRefTextLeft": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"blockRefTextRight": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"fileAnnotationRefMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"includeRelatedDocs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"includeSubDocs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineMemo": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"markdownYFM": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"notebooks": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"removeAssetsID": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tagCloseMarker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tagOpenMarker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"ExportNotebooksRequestInput": {
"type": "object",
"properties": {
"notebooks": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"ExportPathData": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
},
"ExportPreviewData": {
"type": "object",
"properties": {
"fillCSSVar": {
"type": "boolean"
},
"html": {
"type": "string"
}
},
"required": [
"fillCSSVar",
"html"
],
"additionalProperties": false
},
"ExportPreviewHTMLData": {
"type": "object",
"properties": {
"attrs": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"content": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"attrs",
"content",
"id",
"name",
"type"
],
"additionalProperties": false
},
"ExportPreviewHTMLRequestInput": {
"type": "object",
"properties": {
"addTitle": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"customTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"excludeTitleImage": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"image": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"keepFold": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"keepJSEmbed": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"merge": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mergeContentHeadingMode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mergeDocHeadingMode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pdf": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"ExportRepoFileRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"ExportResourcesRequestInput": {
"type": "object",
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"paths": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"ExportTempContentRequestInput": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"content"
],
"additionalProperties": false
},
"ExportURLData": {
"type": "object",
"properties": {
"url": {
"type": "string"
}
},
"required": [
"url"
],
"additionalProperties": false
},
"ExportZipData": {
"type": "object",
"properties": {
"zip": {
"type": "string"
}
},
"required": [
"zip"
],
"additionalProperties": false
},
"ExtensionCopyData": {
"type": "object",
"properties": {
"md": {
"type": "string"
},
"withMath": {
"type": "boolean"
}
},
"required": [
"md",
"withMath"
],
"additionalProperties": false
},
"FileAnnotationRefRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"FilePathData": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
},
"FilePathRequestInput": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
},
"FileTreeAuthPublishRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": [
"id",
"password"
],
"additionalProperties": false
},
"FileTreeChangeSortRequestInput": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
},
"paths": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"notebook",
"paths"
],
"additionalProperties": false
},
"FileTreeCreateData": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"FileTreeCreateMarkdownRequestInput": {
"type": "object",
"properties": {
"clippingHref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"docCreateTemplatePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"listDocTree": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"markdown": {
"type": "string"
},
"notebook": {
"type": "string"
},
"parentID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"type": "string"
},
"sortPosition": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sortTargetID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tags": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"titleEmpty": {
"type": "boolean"
},
"withMath": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"markdown",
"notebook",
"path"
],
"additionalProperties": false
},
"FileTreeCreateRequestInput": {
"type": "object",
"properties": {
"docCreateTemplatePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"listDocTree": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"md": {
"type": "string"
},
"notebook": {
"type": "string"
},
"path": {
"type": "string"
},
"sortPosition": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sortTargetID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sorts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
}
},
"required": [
"md",
"notebook",
"path",
"title"
],
"additionalProperties": false
},
"FileTreeCreateSavePathData": {
"type": "object",
"properties": {
"box": {
"type": "string"
},
"docCreateTemplatePath": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"box",
"docCreateTemplatePath",
"path"
],
"additionalProperties": false
},
"FileTreeCreateSavePathResult": {
"anyOf": [
{
"$ref": "#/$defs/FileTreeCreateSavePathData"
},
{
"$ref": "#/$defs/StructuredTemplateRequired"
}
]
},
"FileTreeDailyNoteRequestInput": {
"type": "object",
"properties": {
"app": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebook": {
"type": "string"
}
},
"required": [
"notebook"
],
"additionalProperties": false
},
"FileTreeDocFile": {
"type": "object",
"properties": {
"children": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/FileTreeDocFile"
},
{
"type": "null"
}
]
}
},
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"FileTreeDocHeadingData": {
"type": "object",
"properties": {
"srcTreeBox": {
"type": "string"
},
"srcTreePath": {
"type": "string"
}
},
"required": [
"srcTreeBox",
"srcTreePath"
],
"additionalProperties": false
},
"FileTreeDocHeadingRequestInput": {
"type": "object",
"properties": {
"after": {
"type": "boolean"
},
"srcID": {
"type": "string"
},
"targetID": {
"type": "string"
}
},
"required": [
"after",
"srcID",
"targetID"
],
"additionalProperties": false
},
"FileTreeDocPathData": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"notebook",
"path"
],
"additionalProperties": false
},
"FileTreeDocTreeData": {
"type": "object",
"properties": {
"tree": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/FileTreeDocFile"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"tree"
],
"additionalProperties": false
},
"FileTreeDuplicateData": {
"type": "object",
"properties": {
"hPath": {
"type": "string"
},
"id": {
"type": "string"
},
"notebook": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"hPath",
"id",
"notebook",
"path"
],
"additionalProperties": false
},
"FileTreeFile": {
"type": "object",
"properties": {
"alias": {
"type": "string"
},
"bookmark": {
"type": "string"
},
"childrenSortMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"count": {
"type": "integer"
},
"ctime": {
"type": "integer"
},
"dueFlashcardCount": {
"type": "integer"
},
"flashcardCount": {
"type": "integer"
},
"hCtime": {
"type": "string"
},
"hMtime": {
"type": "string"
},
"hSize": {
"type": "string"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"memo": {
"type": "string"
},
"mtime": {
"type": "integer"
},
"name": {
"type": "string"
},
"name1": {
"type": "string"
},
"newFlashcardCount": {
"type": "integer"
},
"path": {
"type": "string"
},
"size": {
"type": "integer"
},
"sort": {
"type": "integer"
},
"subFileCount": {
"type": "integer"
},
"titleEmpty": {
"type": "boolean"
}
},
"required": [
"alias",
"bookmark",
"childrenSortMode",
"count",
"ctime",
"dueFlashcardCount",
"flashcardCount",
"hCtime",
"hMtime",
"hSize",
"icon",
"id",
"memo",
"mtime",
"name",
"name1",
"newFlashcardCount",
"path",
"size",
"sort",
"subFileCount"
],
"additionalProperties": false
},
"FileTreeGetDocData": {
"type": "object",
"properties": {
"blockCount": {
"type": "integer"
},
"box": {
"type": "string"
},
"content": {
"type": "string"
},
"docInfo": {
"$ref": "#/$defs/DocInfo"
},
"eof": {
"type": "boolean"
},
"headingNumbers": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"isBacklinkExpand": {
"type": "boolean"
},
"isSyncing": {
"type": "boolean"
},
"keywords": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"mode": {
"type": "integer"
},
"parent2ID": {
"type": "string"
},
"parentID": {
"type": "string"
},
"path": {
"type": "string"
},
"publishAccessRequired": {
"type": "boolean"
},
"reqId": {
"$ref": "#/$defs/JSONValue"
},
"rootID": {
"type": "string"
},
"scroll": {
"type": "boolean"
},
"type": {
"type": "string"
}
},
"required": [
"blockCount",
"box",
"content",
"eof",
"headingNumbers",
"id",
"isBacklinkExpand",
"isSyncing",
"keywords",
"mode",
"parent2ID",
"parentID",
"path",
"publishAccessRequired",
"reqId",
"rootID",
"scroll",
"type"
],
"additionalProperties": false
},
"FileTreeGetDocRequestInput": {
"type": "object",
"properties": {
"endID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"highlight": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"includeDocInfo": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"index": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"isBacklink": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"originalRefBlockIDs": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"queryMethod": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"querySubTypes": {
"anyOf": [
{
"$ref": "#/$defs/SearchSubtypeFilterInput"
},
{
"type": "null"
}
]
},
"queryTypes": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
},
"reqId": {
"anyOf": [
{
"$ref": "#/$defs/JSONValue"
},
{
"type": "null"
}
]
},
"size": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"startID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"FileTreeHeadingDocRequestInput": {
"type": "object",
"properties": {
"previousPath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"srcHeadingID": {
"type": "string"
},
"targetNoteBook": {
"type": "string"
},
"targetPath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"toTop": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"srcHeadingID",
"targetNoteBook"
],
"additionalProperties": false
},
"FileTreeIDRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"FileTreeListData": {
"type": "object",
"properties": {
"box": {
"type": "string"
},
"effectiveSortMode": {
"type": "integer"
},
"files": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/FileTreeFile"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"path": {
"type": "string"
}
},
"required": [
"box",
"effectiveSortMode",
"files",
"path"
],
"additionalProperties": false
},
"FileTreeListItemDocRequestInput": {
"type": "object",
"properties": {
"previousPath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"srcListItemID": {
"type": "string"
},
"targetNoteBook": {
"type": "string"
},
"targetPath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"toTop": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"srcListItemID",
"targetNoteBook"
],
"additionalProperties": false
},
"FileTreeListRequestInput": {
"type": "object",
"properties": {
"app": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"flashcard": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"ignoreMaxListHint": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"maxListCount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"notebook": {
"type": "string"
},
"path": {
"type": "string"
},
"showHidden": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"sort": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"notebook",
"path"
],
"additionalProperties": false
},
"FileTreeMoveIDsRequestInput": {
"type": "object",
"properties": {
"callback": {
"anyOf": [
{
"$ref": "#/$defs/JSONValue"
},
{
"type": "null"
}
]
},
"fromIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"toID": {
"type": "string"
}
},
"required": [
"fromIDs",
"toID"
],
"additionalProperties": false
},
"FileTreeMoveRequestInput": {
"type": "object",
"properties": {
"callback": {
"anyOf": [
{
"$ref": "#/$defs/JSONValue"
},
{
"type": "null"
}
]
},
"fromPaths": {
"type": "array",
"items": {
"type": "string"
}
},
"toNotebook": {
"type": "string"
},
"toPath": {
"type": "string"
}
},
"required": [
"fromPaths",
"toNotebook",
"toPath"
],
"additionalProperties": false
},
"FileTreeNotebookRequestInput": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
}
},
"required": [
"notebook"
],
"additionalProperties": false
},
"FileTreeOptionalIDRequestInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"FileTreeOptionalPathRequestInput": {
"type": "object",
"properties": {
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"FileTreePathRequestInput": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"notebook",
"path"
],
"additionalProperties": false
},
"FileTreePathsRequestInput": {
"type": "object",
"properties": {
"paths": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"paths"
],
"additionalProperties": false
},
"FileTreePublishData": {
"type": "object",
"properties": {
"publishAccess": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/FileTreePublishItem"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"publishAccess"
],
"additionalProperties": false
},
"FileTreePublishIDsRequestInput": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"ids"
],
"additionalProperties": false
},
"FileTreePublishItem": {
"type": "object",
"properties": {
"disable": {
"type": "boolean"
},
"id": {
"type": "string"
},
"password": {
"type": "string"
},
"visible": {
"type": "boolean"
}
},
"required": [
"disable",
"id",
"password",
"visible"
],
"additionalProperties": false
},
"FileTreeRenameIDRequestInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
}
},
"required": [
"title"
],
"additionalProperties": false
},
"FileTreeRenameRequestInput": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"notebook",
"path",
"title"
],
"additionalProperties": false
},
"FileTreeReorderData": {
"type": "object",
"properties": {
"changed": {
"type": "boolean"
},
"conflict": {
"type": "boolean"
},
"notebook": {
"type": "string"
},
"parentPath": {
"type": "string"
}
},
"required": [
"changed"
],
"additionalProperties": false
},
"FileTreeReorderRequestInput": {
"type": "object",
"properties": {
"position": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"preview": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"removeSorts": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"respectSort": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"sourceIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"targetID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"FileTreeSavePathData": {
"type": "object",
"properties": {
"box": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"box",
"path"
],
"additionalProperties": false
},
"FileTreeSavePathResult": {
"anyOf": [
{
"$ref": "#/$defs/FileTreeSavePathData"
},
{
"$ref": "#/$defs/StructuredTemplateRequired"
}
]
},
"FileTreeSearchDoc": {
"type": "object",
"properties": {
"alias": {
"type": "string"
},
"box": {
"type": "string"
},
"boxIcon": {
"type": "string"
},
"dueFlashcardCount": {
"type": "string"
},
"flashcardCount": {
"type": "string"
},
"hPath": {
"type": "string"
},
"name": {
"type": "string"
},
"newFlashcardCount": {
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"box",
"boxIcon",
"hPath",
"path"
],
"additionalProperties": false
},
"FileTreeSearchRequestInput": {
"type": "object",
"properties": {
"excludeIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"flashcard": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"k": {
"type": "string"
}
},
"required": [
"k"
],
"additionalProperties": false
},
"FileTreeSetPublishRequestInput": {
"type": "object",
"properties": {
"disable": {
"type": "boolean"
},
"id": {
"type": "string"
},
"password": {
"type": "string"
},
"visible": {
"type": "boolean"
}
},
"required": [
"disable",
"id",
"password",
"visible"
],
"additionalProperties": false
},
"FileTreeSetSortData": {
"type": "object",
"properties": {
"docIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"notebookIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"docIDs",
"notebookIDs"
],
"additionalProperties": false
},
"FileTreeSetSortRequestInput": {
"type": "object",
"properties": {
"docSorts": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/FileTreeSortItemInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"notebookSorts": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/FileTreeSortItemInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"FileTreeSortItemInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"FileTreeSortModeData": {
"type": "object",
"properties": {
"box": {
"type": "string"
},
"effectiveSortMode": {
"type": "integer"
},
"id": {
"type": "string"
},
"path": {
"type": "string"
},
"sortMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"box",
"effectiveSortMode",
"id",
"path",
"sortMode"
],
"additionalProperties": false
},
"FileTreeSortModeRequestInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sortMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"sortMode"
],
"additionalProperties": false
},
"FileTreeTrimIDRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"FindAssetReferencesRequestInput": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"paths": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"FindReplaceRequestInput": {
"type": "object",
"properties": {
"groupBy": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"k": {
"type": "string"
},
"method": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"orderBy": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"page": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pageSize": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"paths": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"r": {
"type": "string"
},
"replaceTypes": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
},
"subTypes": {
"anyOf": [
{
"$ref": "#/$defs/SearchSubtypeFilterInput"
},
{
"type": "null"
}
]
},
"types": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
}
},
"required": [
"ids",
"k",
"r"
],
"additionalProperties": false
},
"FinishLivePhotoPreviewRequestInput": {
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "binary"
},
"id": {
"type": "string"
}
},
"required": [
"file",
"id"
],
"additionalProperties": false
},
"FullBlockInfo": {
"type": "object",
"properties": {
"box": {
"type": "string"
},
"path": {
"type": "string"
},
"rootChildID": {
"type": "string"
},
"rootID": {
"type": "string"
},
"rootIcon": {
"type": "string"
},
"rootTitle": {
"type": "string"
},
"rootTitleEmpty": {
"type": "boolean"
}
},
"required": [
"box",
"path",
"rootChildID",
"rootID",
"rootIcon",
"rootTitle",
"rootTitleEmpty"
],
"additionalProperties": false
},
"FullTextSearchBlockData": {
"type": "object",
"properties": {
"blocks": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SearchBlock"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"docMode": {
"type": "boolean"
},
"matchedBlockCount": {
"type": "integer"
},
"matchedRootCount": {
"type": "integer"
},
"pageCount": {
"type": "integer"
}
},
"required": [
"blocks",
"docMode",
"matchedBlockCount",
"matchedRootCount",
"pageCount"
],
"additionalProperties": false
},
"FullTextSearchBlockRequestInput": {
"type": "object",
"properties": {
"groupBy": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"method": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"orderBy": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"page": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pageSize": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"paths": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"searchHPath": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"subTypes": {
"anyOf": [
{
"$ref": "#/$defs/SearchSubtypeFilterInput"
},
{
"type": "null"
}
]
},
"types": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetAttributeViewAddingBlockDefaultValuesRequestInput": {
"type": "object",
"properties": {
"addingBlockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"avID": {
"type": "string"
},
"blockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"groupID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"previousID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"viewID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"avID"
],
"additionalProperties": false
},
"GetAttributeViewBacklinksRequestInput": {
"type": "object",
"properties": {
"avID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"itemID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"valueID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetAttributeViewBoundBlockIDsByItemIDsRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"itemIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"avID",
"itemIDs"
],
"additionalProperties": false
},
"GetAttributeViewFieldViewsRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"keyID": {
"type": "string"
}
},
"required": [
"avID",
"keyID"
],
"additionalProperties": false
},
"GetAttributeViewFilterSortRequestInput": {
"type": "object",
"properties": {
"blockID": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"blockID",
"id"
],
"additionalProperties": false
},
"GetAttributeViewItemIDsByBoundIDsRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"blockIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"avID",
"blockIDs"
],
"additionalProperties": false
},
"GetAttributeViewItemStatusesRequestInput": {
"type": "object",
"properties": {
"blockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"itemIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"viewID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"itemIDs"
],
"additionalProperties": false
},
"GetAttributeViewKeysByAvIDRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
}
},
"required": [
"avID"
],
"additionalProperties": false
},
"GetAttributeViewKeysByIDRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"keyIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"avID",
"keyIDs"
],
"additionalProperties": false
},
"GetAttributeViewKeysRequestInput": {
"type": "object",
"properties": {
"avID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"itemID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"valueID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetAttributeViewPasteRowsRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"count": {
"type": "number"
},
"groupID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"startItemID": {
"type": "string"
},
"viewID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"avID",
"blockID",
"count",
"startItemID"
],
"additionalProperties": false
},
"GetAttributeViewPrimaryKeyValuesRequestInput": {
"type": "object",
"properties": {
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"page": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pageSize": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"GetAttributeViewRelationCandidatesRequestInput": {
"type": "object",
"properties": {
"avID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"blockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"includeNewItemPreview": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"keyID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"page": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pageSize": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"selectedBlockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"sort": {
"anyOf": [
{
"$ref": "#/$defs/AVRelationCandidateSortInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetAttributeViewRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"GetAttributeViewRowSortRequestInput": {
"type": "object",
"properties": {
"avID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"blockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"groupID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"itemIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"nextID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"previousID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"viewID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetAttributeViewSearchTargetRequestInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keywords": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetBazaarIconRequestInput": {
"type": "object",
"properties": {
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetBazaarPackageREADMERequestInput": {
"type": "object",
"properties": {
"packageType": {
"type": "string"
},
"repoHash": {
"type": "string"
},
"repoURL": {
"type": "string"
}
},
"required": [
"packageType",
"repoHash",
"repoURL"
],
"additionalProperties": false
},
"GetBazaarPackageRatingRequestInput": {
"type": "object",
"properties": {
"packageName": {
"type": "string"
},
"packageType": {
"type": "string"
}
},
"required": [
"packageName",
"packageType"
],
"additionalProperties": false
},
"GetBazaarPackageRatingsRequestInput": {
"type": "object",
"properties": {
"packageNames": {
"type": "array",
"items": {
"type": "string"
}
},
"packageType": {
"type": "string"
}
},
"required": [
"packageNames",
"packageType"
],
"additionalProperties": false
},
"GetBazaarPackageRequestInput": {
"type": "object",
"properties": {
"frontend": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"packageName": {
"type": "string"
},
"packageType": {
"type": "string"
}
},
"required": [
"packageName",
"packageType"
],
"additionalProperties": false
},
"GetBazaarPackageUserRatingsRequestInput": {
"type": "object",
"properties": {
"packageNames": {
"type": "array",
"items": {
"type": "string"
}
},
"packageType": {
"type": "string"
}
},
"required": [
"packageNames",
"packageType"
],
"additionalProperties": false
},
"GetBazaarPluginRequestInput": {
"type": "object",
"properties": {
"frontend": {
"type": "string"
},
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"frontend"
],
"additionalProperties": false
},
"GetBazaarTemplateRequestInput": {
"type": "object",
"properties": {
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetBazaarThemeRequestInput": {
"type": "object",
"properties": {
"frontend": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetBazaarWidgetRequestInput": {
"type": "object",
"properties": {
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetCloudRepoSnapshotsRequestInput": {
"type": "object",
"properties": {
"endTime": {
"type": "integer"
},
"page": {
"type": "number"
},
"startTime": {
"type": "integer"
}
},
"required": [
"page"
],
"additionalProperties": false
},
"GetCurrentAttrViewImagesRequestInput": {
"type": "object",
"properties": {
"blockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"groupID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"viewID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"GetDocCreateTargetRequestInput": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
},
"purpose": {
"type": "string",
"enum": [
"document",
"reference",
"dailyNote"
]
}
},
"required": [
"notebook",
"purpose"
],
"additionalProperties": false
},
"GetDocPathsRequestInput": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"notebook": {
"type": "string"
}
},
"required": [
"ids",
"notebook"
],
"additionalProperties": false
},
"GetEmbedBlockRequestInput": {
"type": "object",
"properties": {
"breadcrumb": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"embedBlockID": {
"type": "string"
},
"headingMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"includeIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"embedBlockID",
"includeIDs"
],
"additionalProperties": false
},
"GetInstalledIconRequestInput": {
"type": "object",
"properties": {
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetInstalledPackageSizeRequestInput": {
"type": "object",
"properties": {
"packageName": {
"type": "string"
},
"packageType": {
"type": "string"
}
},
"required": [
"packageName",
"packageType"
],
"additionalProperties": false
},
"GetInstalledPluginRequestInput": {
"type": "object",
"properties": {
"frontend": {
"type": "string"
},
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"frontend"
],
"additionalProperties": false
},
"GetInstalledTemplateRequestInput": {
"type": "object",
"properties": {
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetInstalledThemeRequestInput": {
"type": "object",
"properties": {
"frontend": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetInstalledWidgetRequestInput": {
"type": "object",
"properties": {
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetMirrorDatabaseBlocksRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
}
},
"required": [
"avID"
],
"additionalProperties": false
},
"GetRepoDocHistoryRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"page": {
"type": "number"
}
},
"required": [
"id",
"page"
],
"additionalProperties": false
},
"GetRepoFileRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"GetRepoSnapshotsRequestInput": {
"type": "object",
"properties": {
"endTime": {
"type": "integer"
},
"id": {
"type": "string"
},
"includeFiles": {
"type": "boolean"
},
"page": {
"type": "number"
},
"startTime": {
"type": "integer"
}
},
"required": [
"page"
],
"additionalProperties": false
},
"GetSnippetRequestInput": {
"type": "object",
"properties": {
"enabled": {
"type": "number"
},
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"type": {
"type": "string"
}
},
"required": [
"enabled",
"type"
],
"additionalProperties": false
},
"GetTagRequestInput": {
"type": "object",
"properties": {
"app": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ignoreMaxListHint": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"sort": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GetUpdatedPackageRequestInput": {
"type": "object",
"properties": {
"frontend": {
"type": "string"
}
},
"required": [
"frontend"
],
"additionalProperties": false
},
"GlobalBacklinkContextData": {
"type": "object",
"properties": {
"expired": {
"type": "boolean"
},
"items": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/BacklinkContext"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"expired",
"items"
],
"additionalProperties": false
},
"GlobalBacklinkContextRequestInput": {
"type": "object",
"properties": {
"containChildren": {
"type": "boolean"
},
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"keyword": {
"type": "string"
},
"notebook": {
"type": "string"
},
"snapshot": {
"type": "string"
},
"sort": {
"type": "integer"
},
"sourceFilter": {
"anyOf": [
{
"$ref": "#/$defs/BacklinkSourceFilterInput"
},
{
"type": "null"
}
]
}
},
"required": [
"containChildren",
"id",
"ids",
"snapshot",
"sort"
],
"additionalProperties": false
},
"GlobalBacklinkItem": {
"type": "object",
"properties": {
"anchor": {
"type": "string"
},
"box": {
"type": "string"
},
"hPath": {
"type": "string"
},
"id": {
"type": "string"
},
"rootID": {
"type": "string"
}
},
"required": [
"anchor",
"box",
"hPath",
"id",
"rootID"
],
"additionalProperties": false
},
"GlobalBacklinkListData": {
"type": "object",
"properties": {
"expired": {
"type": "boolean"
},
"items": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/GlobalBacklinkItem"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"offset": {
"type": "integer"
},
"snapshot": {
"type": "string"
},
"total": {
"type": "integer"
}
},
"required": [
"expired",
"items",
"offset",
"snapshot",
"total"
],
"additionalProperties": false
},
"GlobalBacklinkListRequestInput": {
"type": "object",
"properties": {
"anchorID": {
"type": "string"
},
"containChildren": {
"type": "boolean"
},
"id": {
"type": "string"
},
"keyword": {
"type": "string"
},
"notebook": {
"type": "string"
},
"offset": {
"type": "integer"
},
"snapshot": {
"type": "string"
},
"sort": {
"type": "integer"
},
"sourceFilter": {
"anyOf": [
{
"$ref": "#/$defs/BacklinkSourceFilterInput"
},
{
"type": "null"
}
]
}
},
"required": [
"containChildren",
"id",
"sort"
],
"additionalProperties": false
},
"GlobalGraphConf": {
"type": "object",
"properties": {
"d3": {
"anyOf": [
{
"$ref": "#/$defs/GraphD3"
},
{
"type": "null"
}
]
},
"dailyNote": {
"type": "boolean"
},
"minRefs": {
"type": "integer"
},
"type": {
"anyOf": [
{
"$ref": "#/$defs/GraphTypeFilter"
},
{
"type": "null"
}
]
}
},
"required": [
"d3",
"dailyNote",
"minRefs",
"type"
],
"additionalProperties": false
},
"GlobalGraphRequestInput": {
"type": "object",
"properties": {
"conf": {
"$ref": "#/$defs/GraphConfigurationFieldsInput"
},
"k": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reqId": {
"anyOf": [
{
"$ref": "#/$defs/JSONValue"
},
{
"type": "null"
}
]
}
},
"required": [
"conf"
],
"additionalProperties": false
},
"GlobalGraphResult": {
"type": "object",
"properties": {
"box": {
"type": "string"
},
"conf": {
"$ref": "#/$defs/GlobalGraphConf"
},
"links": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/GraphLink"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"nodes": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/GraphNode"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"reqId": {
"$ref": "#/$defs/JSONValue"
}
},
"required": [
"box",
"conf",
"links",
"nodes",
"reqId"
],
"additionalProperties": false
},
"GraphArrows": {
"type": "object",
"properties": {
"to": {
"anyOf": [
{
"$ref": "#/$defs/GraphArrowsTo"
},
{
"type": "null"
}
]
}
},
"required": [
"to"
],
"additionalProperties": false
},
"GraphArrowsTo": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
},
"required": [
"enabled"
],
"additionalProperties": false
},
"GraphConfigurationFieldsInput": {
"type": "object",
"properties": {
"d3": {
"anyOf": [
{
"$ref": "#/$defs/GraphD3Input"
},
{
"type": "null"
}
]
},
"dailyNote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"minRefs": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"type": {
"anyOf": [
{
"$ref": "#/$defs/GraphTypeFilterInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GraphCorrelation": {
"type": "object",
"properties": {
"reqId": {
"$ref": "#/$defs/JSONValue"
}
},
"required": [
"reqId"
],
"additionalProperties": false
},
"GraphD3": {
"type": "object",
"properties": {
"arrow": {
"type": "boolean"
},
"centerStrength": {
"type": "number"
},
"collideRadius": {
"type": "number"
},
"collideStrength": {
"type": "number"
},
"lineOpacity": {
"type": "number"
},
"linkDistance": {
"type": "integer"
},
"linkWidth": {
"type": "number"
},
"nodeSize": {
"type": "number"
}
},
"required": [
"arrow",
"centerStrength",
"collideRadius",
"collideStrength",
"lineOpacity",
"linkDistance",
"linkWidth",
"nodeSize"
],
"additionalProperties": false
},
"GraphD3Input": {
"type": "object",
"properties": {
"arrow": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"centerStrength": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"collideRadius": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"collideStrength": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lineOpacity": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"linkDistance": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"linkWidth": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"nodeSize": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"GraphLink": {
"type": "object",
"properties": {
"arrows": {
"anyOf": [
{
"$ref": "#/$defs/GraphArrows"
},
{
"type": "null"
}
]
},
"from": {
"type": "string"
},
"ref": {
"type": "boolean"
},
"to": {
"type": "string"
}
},
"required": [
"arrows",
"from",
"ref",
"to"
],
"additionalProperties": false
},
"GraphNode": {
"type": "object",
"properties": {
"box": {
"type": "string"
},
"defs": {
"type": "integer"
},
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"path": {
"type": "string"
},
"refs": {
"type": "integer"
},
"size": {
"type": "number"
},
"title": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"box",
"defs",
"id",
"label",
"path",
"refs",
"size",
"type"
],
"additionalProperties": false
},
"GraphTypeFilter": {
"type": "object",
"properties": {
"blockquote": {
"type": "boolean"
},
"callout": {
"type": "boolean"
},
"code": {
"type": "boolean"
},
"heading": {
"type": "boolean"
},
"list": {
"type": "boolean"
},
"listItem": {
"type": "boolean"
},
"math": {
"type": "boolean"
},
"paragraph": {
"type": "boolean"
},
"super": {
"type": "boolean"
},
"table": {
"type": "boolean"
},
"tag": {
"type": "boolean"
}
},
"required": [
"blockquote",
"callout",
"code",
"heading",
"list",
"listItem",
"math",
"paragraph",
"super",
"table",
"tag"
],
"additionalProperties": false
},
"GraphTypeFilterInput": {
"type": "object",
"properties": {
"blockquote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"callout": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"code": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"heading": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"list": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"listItem": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"math": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"paragraph": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"super": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"table": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tag": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"HTMLClipboardPreflight": {
"type": "object",
"properties": {
"converted": {
"type": "boolean"
},
"dom": {
"type": "string"
},
"normalizedHTML": {
"type": "string"
},
"useHTML": {
"type": "boolean"
}
},
"required": [
"converted",
"useHTML"
],
"additionalProperties": false
},
"HTMLClipboardRequestInput": {
"type": "object",
"properties": {
"dom": {
"type": "string"
},
"mathML": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"office": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"officeMathHTML": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"preflight": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"preparedHTML": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"preserveSourceFormat": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"skipBase64Assets": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"skipInlineSVGAssets": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"skipLocalAssets": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"wps": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"dom"
],
"additionalProperties": false
},
"HTMLData": {
"type": "object",
"properties": {
"html": {
"type": "string"
}
},
"required": [
"html"
],
"additionalProperties": false
},
"HeadingChildrenRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"removeFoldAttr": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"HeadingFoldRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"scope": {
"type": "string"
}
},
"required": [
"id",
"scope"
],
"additionalProperties": false
},
"HeadingLevelRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"level": {
"type": "number"
}
},
"required": [
"level"
],
"additionalProperties": false
},
"HeadingNumbersRequestInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"History": {
"type": "object",
"properties": {
"hCreated": {
"type": "string"
},
"items": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/HistoryItem"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"hCreated",
"items"
],
"additionalProperties": false
},
"HistoryItem": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"notebook": {
"type": "string"
},
"op": {
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"notebook",
"op",
"path",
"title"
],
"additionalProperties": false
},
"HistoryItemsData": {
"type": "object",
"properties": {
"items": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/HistoryItem"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"items"
],
"additionalProperties": false
},
"HistoryItemsRequestInput": {
"type": "object",
"properties": {
"created": {
"type": "string"
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"op": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"type": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"created"
],
"additionalProperties": false
},
"HistoryPathRequestInput": {
"type": "object",
"properties": {
"historyPath": {
"type": "string"
}
},
"required": [
"historyPath"
],
"additionalProperties": false
},
"ImageOCRTextData": {
"type": "object",
"properties": {
"failed": {
"type": "boolean"
},
"text": {
"type": "string"
}
},
"required": [
"failed",
"text"
],
"additionalProperties": false
},
"ImportAutoDocument": {
"type": "object",
"properties": {
"token": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"document"
]
}
},
"required": [
"type"
],
"additionalProperties": false
},
"ImportAutoNotebook": {
"type": "object",
"properties": {
"notebook": {
"anyOf": [
{
"$ref": "#/$defs/Notebook"
},
{
"type": "null"
}
]
},
"type": {
"type": "string",
"enum": [
"notebook"
]
}
},
"required": [
"notebook",
"type"
],
"additionalProperties": false
},
"ImportAutoNotebooks": {
"type": "object",
"properties": {
"notebooks": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/Notebook"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"type": {
"type": "string",
"enum": [
"notebooks"
]
}
},
"required": [
"notebooks",
"type"
],
"additionalProperties": false
},
"ImportDataRequestInput": {
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "binary"
}
},
"additionalProperties": false
},
"ImportDocumentData": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"document"
]
}
},
"required": [
"type"
],
"additionalProperties": false
},
"ImportMarkdownRequestInput": {
"type": "object",
"properties": {
"localPath": {
"type": "string"
},
"notebook": {
"type": "string"
},
"skipRoot": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"toPath": {
"type": "string"
}
},
"required": [
"localPath",
"notebook",
"toPath"
],
"additionalProperties": false
},
"ImportNotebookArchiveRequestInput": {
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "binary"
},
"key": {
"type": "string",
"format": "binary"
},
"password": {
"type": "string"
}
},
"required": [
"file",
"password"
],
"additionalProperties": false
},
"ImportNotebookCryptoBackupRequestInput": {
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "binary"
},
"password": {
"type": "string"
}
},
"required": [
"file"
],
"additionalProperties": false
},
"ImportOCRModelsRequestInput": {
"type": "object",
"properties": {
"detector": {
"type": "string",
"format": "binary"
},
"detectorConfig": {
"type": "string",
"format": "binary"
},
"recognizer": {
"type": "string",
"format": "binary"
},
"recognizerConfig": {
"type": "string",
"format": "binary"
}
},
"required": [
"detector",
"detectorConfig",
"recognizer",
"recognizerConfig"
],
"additionalProperties": false
},
"ImportRepoKeyRequestInput": {
"type": "object",
"properties": {
"key": {
"type": "string"
}
},
"required": [
"key"
],
"additionalProperties": false
},
"ImportSYRequestInput": {
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "binary"
},
"notebook": {
"type": "string"
},
"toPath": {
"type": "string"
}
},
"additionalProperties": false
},
"ImportTokenRequestInput": {
"type": "object",
"properties": {
"token": {
"type": "string"
}
},
"required": [
"token"
],
"additionalProperties": false
},
"ImportZipMarkdownRequestInput": {
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "binary"
},
"notebook": {
"type": "string"
},
"skipRoot": {
"type": "string"
},
"toPath": {
"type": "string"
}
},
"additionalProperties": false
},
"ImportedNotebook": {
"type": "object",
"properties": {
"notebook": {
"anyOf": [
{
"$ref": "#/$defs/Notebook"
},
{
"type": "null"
}
]
}
},
"required": [
"notebook"
],
"additionalProperties": false
},
"ImportedNotebooks": {
"type": "object",
"properties": {
"notebooks": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/Notebook"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"notebooks"
],
"additionalProperties": false
},
"InitRepoKeyFromPassphraseRequestInput": {
"type": "object",
"properties": {
"pass": {
"type": "string"
}
},
"required": [
"pass"
],
"additionalProperties": false
},
"InlineStyle": {
"type": "object",
"properties": {
"dark": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleTheme"
},
{
"type": "null"
}
]
},
"hidden": {
"type": "boolean"
},
"id": {
"type": "string"
},
"light": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleTheme"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
}
},
"required": [
"dark",
"id",
"light",
"name"
],
"additionalProperties": false
},
"InlineStyleAV": {
"type": "object",
"properties": {
"colors": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AttributeViewCustomColor"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"order": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"colors",
"order"
],
"additionalProperties": false
},
"InlineStyleAVInput": {
"type": "object",
"properties": {
"colors": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AttributeViewCustomColorInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"order": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"InlineStyleBuiltin": {
"type": "object",
"properties": {
"colors": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleBuiltinColor"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"hidden": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleBuiltinHidden"
},
{
"type": "null"
}
]
},
"styles": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleBuiltinStyle"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"colors",
"hidden",
"styles"
],
"additionalProperties": false
},
"InlineStyleBuiltinColor": {
"type": "object",
"properties": {
"dark": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleTheme"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer"
},
"light": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleTheme"
},
{
"type": "null"
}
]
}
},
"required": [
"dark",
"index",
"light"
],
"additionalProperties": false
},
"InlineStyleBuiltinColorInput": {
"type": "object",
"properties": {
"dark": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleThemeInput"
},
{
"type": "null"
}
]
},
"index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"light": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleThemeInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"InlineStyleBuiltinHidden": {
"type": "object",
"properties": {
"av": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"backgroundColor": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"color": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"style1": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"av",
"backgroundColor",
"color",
"style1"
],
"additionalProperties": false
},
"InlineStyleBuiltinHiddenInput": {
"type": "object",
"properties": {
"av": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"backgroundColor": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"color": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"style1": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"InlineStyleBuiltinInput": {
"type": "object",
"properties": {
"colors": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleBuiltinColorInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"hidden": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleBuiltinHiddenInput"
},
{
"type": "null"
}
]
},
"styles": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleBuiltinStyleInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"InlineStyleBuiltinStyle": {
"type": "object",
"properties": {
"dark": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleTheme"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"light": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleTheme"
},
{
"type": "null"
}
]
}
},
"required": [
"dark",
"id",
"light"
],
"additionalProperties": false
},
"InlineStyleBuiltinStyleInput": {
"type": "object",
"properties": {
"dark": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleThemeInput"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"light": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleThemeInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"InlineStyleInput": {
"type": "object",
"properties": {
"dark": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleThemeInput"
},
{
"type": "null"
}
]
},
"hidden": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"light": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleThemeInput"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"InlineStyleOrder": {
"type": "object",
"properties": {
"backgroundColor": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"color": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"style1": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"backgroundColor",
"color",
"style1"
],
"additionalProperties": false
},
"InlineStyleOrderInput": {
"type": "object",
"properties": {
"backgroundColor": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"color": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"style1": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"InlineStyleTheme": {
"type": "object",
"properties": {
"backgroundColor": {
"type": "string"
},
"color": {
"type": "string"
}
},
"additionalProperties": false
},
"InlineStyleThemeInput": {
"type": "object",
"properties": {
"backgroundColor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"InlineStyles": {
"type": "object",
"properties": {
"av": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleAV"
},
{
"type": "null"
}
]
},
"builtin": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleBuiltin"
},
{
"type": "null"
}
]
},
"order": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleOrder"
},
{
"type": "null"
}
]
},
"styles": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyle"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"version": {
"type": "integer"
}
},
"required": [
"av",
"builtin",
"order",
"styles",
"version"
],
"additionalProperties": false
},
"InsertBlockRequestInput": {
"type": "object",
"properties": {
"data": {
"type": "string"
},
"dataType": {
"type": "string"
},
"nextID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"parentID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"previousID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"data",
"dataType"
],
"additionalProperties": false
},
"InsertCoverRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
"InsertLocalAssetsRequestInput": {
"type": "object",
"properties": {
"assetPaths": {
"type": "array",
"items": {
"type": "string"
}
},
"fromHTMLPaste": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isUpload": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"assetPaths"
],
"additionalProperties": false
},
"InstallBazaarIconRequestInput": {
"type": "object",
"properties": {
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"packageName": {
"type": "string"
},
"repoHash": {
"type": "string"
},
"repoRef": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"repoURL": {
"type": "string"
}
},
"required": [
"packageName",
"repoHash",
"repoURL"
],
"additionalProperties": false
},
"InstallBazaarPluginRequestInput": {
"type": "object",
"properties": {
"frontend": {
"type": "string"
},
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"packageName": {
"type": "string"
},
"repoHash": {
"type": "string"
},
"repoRef": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"repoURL": {
"type": "string"
}
},
"required": [
"frontend",
"packageName",
"repoHash",
"repoURL"
],
"additionalProperties": false
},
"InstallBazaarTemplateRequestInput": {
"type": "object",
"properties": {
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"packageName": {
"type": "string"
},
"repoHash": {
"type": "string"
},
"repoRef": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"repoURL": {
"type": "string"
}
},
"required": [
"packageName",
"repoHash",
"repoURL"
],
"additionalProperties": false
},
"InstallBazaarThemeRequestInput": {
"type": "object",
"properties": {
"frontend": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mode": {
"type": "number"
},
"modeOS": {
"type": "boolean"
},
"packageName": {
"type": "string"
},
"repoHash": {
"type": "string"
},
"repoRef": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"repoURL": {
"type": "string"
}
},
"required": [
"packageName",
"repoHash",
"repoURL"
],
"additionalProperties": false
},
"InstallBazaarWidgetRequestInput": {
"type": "object",
"properties": {
"keyword": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"packageName": {
"type": "string"
},
"repoHash": {
"type": "string"
},
"repoRef": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"repoURL": {
"type": "string"
}
},
"required": [
"packageName",
"repoHash",
"repoURL"
],
"additionalProperties": false
},
"InstallLocalBazaarPackageRequestInput": {
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "binary"
},
"frontend": {
"type": "string"
},
"overwrite": {
"type": "string"
}
},
"additionalProperties": false
},
"JSONValue": {
"anyOf": [
{
"type": "null"
},
{
"type": "boolean"
},
{
"type": "number"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
}
]
},
"KernelPetal": {
"type": "object",
"properties": {
"existed": {
"type": "boolean"
},
"incompatible": {
"type": "boolean"
},
"js": {
"type": "string"
}
},
"required": [
"existed",
"incompatible",
"js"
],
"additionalProperties": false
},
"LegacyDocumentTarget": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
},
"path": {
"type": "string"
},
"version": {
"type": "integer",
"enum": [
1
]
}
},
"required": [
"notebook",
"path",
"version"
],
"additionalProperties": false
},
"LegacyPathDocumentResult": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/LegacyPathUnsupported"
}
]
},
"LegacyPathIDsResult": {
"anyOf": [
{
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
{
"$ref": "#/$defs/LegacyPathUnsupported"
}
]
},
"LegacyPathUnsupported": {
"type": "object",
"properties": {
"cleanIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string",
"enum": [
"legacyPathUnsupported",
"pathAmbiguous",
"indexUnavailable"
]
},
"unsupportedIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"reason"
],
"additionalProperties": false
},
"ListNotebooksData": {
"type": "object",
"properties": {
"boxDocEnabled": {
"type": "boolean"
},
"notebooks": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/Notebook"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"boxDocEnabled",
"notebooks"
],
"additionalProperties": false
},
"ListNotebooksRequestInput": {
"type": "object",
"properties": {
"flashcard": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"LivePhotoColor": {
"type": "object",
"properties": {
"fullRange": {
"type": "boolean"
},
"matrix": {
"type": "integer"
},
"primaries": {
"type": "integer"
},
"transfer": {
"type": "integer"
}
},
"required": [
"fullRange",
"matrix",
"primaries",
"transfer"
],
"additionalProperties": false
},
"LivePhotoFrameRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"index": {
"type": "integer"
}
},
"required": [
"id",
"index"
],
"additionalProperties": false
},
"LivePhotoFrameTime": {
"type": "object",
"properties": {
"duration": {
"type": "integer"
},
"timestamp": {
"type": "integer"
}
},
"required": [
"duration",
"timestamp"
],
"additionalProperties": false
},
"LivePhotoPreviewRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"LivePhotoPreviewSession": {
"type": "object",
"properties": {
"color": {
"$ref": "#/$defs/LivePhotoColor"
},
"encode": {
"type": "boolean"
},
"frames": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/LivePhotoFrameTime"
}
},
{
"type": "null"
}
]
},
"height": {
"type": "integer"
},
"id": {
"type": "string"
},
"width": {
"type": "integer"
}
},
"required": [
"color",
"encode",
"frames",
"height",
"id",
"width"
],
"additionalProperties": false
},
"LoadPetalsRequestInput": {
"type": "object",
"properties": {
"frontend": {
"type": "string"
},
"settingsWindow": {
"type": "boolean"
}
},
"required": [
"frontend"
],
"additionalProperties": false
},
"LoadedPlugin": {
"type": "object",
"properties": {
"methods": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/PluginRPCMethod"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"state": {
"type": "string"
},
"stateCode": {
"type": "integer"
}
},
"required": [
"methods",
"name",
"state",
"stateCode"
],
"additionalProperties": false
},
"LoadedPluginRequestInput": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"additionalProperties": false
},
"LocalGraphConf": {
"type": "object",
"properties": {
"d3": {
"anyOf": [
{
"$ref": "#/$defs/GraphD3"
},
{
"type": "null"
}
]
},
"dailyNote": {
"type": "boolean"
},
"type": {
"anyOf": [
{
"$ref": "#/$defs/GraphTypeFilter"
},
{
"type": "null"
}
]
}
},
"required": [
"d3",
"dailyNote",
"type"
],
"additionalProperties": false
},
"LocalGraphRequestInput": {
"type": "object",
"properties": {
"conf": {
"$ref": "#/$defs/GraphConfigurationFieldsInput"
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"k": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reqId": {
"anyOf": [
{
"$ref": "#/$defs/JSONValue"
},
{
"type": "null"
}
]
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"LocalGraphResult": {
"type": "object",
"properties": {
"box": {
"type": "string"
},
"conf": {
"$ref": "#/$defs/LocalGraphConf"
},
"id": {
"type": "string"
},
"links": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/GraphLink"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"nodes": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/GraphNode"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"reqId": {
"$ref": "#/$defs/JSONValue"
}
},
"required": [
"box",
"conf",
"id",
"links",
"nodes",
"reqId"
],
"additionalProperties": false
},
"LockScreenRequestInput": {
"type": "object",
"properties": {
"lockScreenMode": {
"type": "number"
}
},
"required": [
"lockScreenMode"
],
"additionalProperties": false
},
"Login2faEnvelope": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"data": {
"anyOf": [
{
"type": "object",
"properties": {
"code": {
"type": "number"
},
"msg": {
"type": "string"
}
},
"required": [
"code",
"msg"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"msg": {
"type": "string"
}
},
"required": [
"code",
"data",
"msg"
],
"additionalProperties": false
},
"MCPOAuthClient": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"redirectURI": {
"type": "string"
}
},
"required": [
"id",
"name",
"redirectURI"
],
"additionalProperties": false
},
"MCPOAuthClientRequestInput": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"redirectURI": {
"type": "string"
}
},
"required": [
"name",
"redirectURI"
],
"additionalProperties": false
},
"MCPOAuthClientSecret": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"redirectURI": {
"type": "string"
},
"secret": {
"type": "string"
}
},
"required": [
"id",
"name",
"redirectURI",
"secret"
],
"additionalProperties": false
},
"MCPOAuthConfigInput": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"publicURL": {
"type": "string"
}
},
"required": [
"enabled",
"publicURL"
],
"additionalProperties": false
},
"MCPOAuthConsentRequestInput": {
"type": "object",
"properties": {
"decision": {
"type": "string"
},
"ticket": {
"type": "string"
}
},
"additionalProperties": false
},
"MCPOAuthRemoveRequestInput": {
"type": "object",
"properties": {
"all": {
"type": "boolean"
},
"id": {
"type": "string"
}
},
"additionalProperties": false
},
"MCPOAuthStatus": {
"type": "object",
"properties": {
"clients": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/MCPOAuthClient"
}
},
{
"type": "null"
}
]
},
"enabled": {
"type": "boolean"
},
"publicURL": {
"type": "string"
}
},
"required": [
"clients",
"enabled",
"publicURL"
],
"additionalProperties": false
},
"MCPOAuthTokenRequestInput": {
"type": "object",
"properties": {
"client_id": {
"type": "string"
},
"client_secret": {
"type": "string"
},
"code": {
"type": "string"
},
"code_verifier": {
"type": "string"
},
"grant_type": {
"type": "string"
},
"redirect_uri": {
"type": "string"
},
"refresh_token": {
"type": "string"
},
"resource": {
"type": "string"
},
"scope": {
"type": "string"
},
"token": {
"type": "string"
},
"token_type_hint": {
"type": "string"
}
},
"additionalProperties": false
},
"MarkdownHTMLRequestInput": {
"type": "object",
"properties": {
"markdown": {
"type": "string"
},
"mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"markdown"
],
"additionalProperties": false
},
"MigrateLegacyMindmapsData": {
"type": "object",
"properties": {
"blocks": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/BlockDOMData"
}
},
{
"type": "null"
}
]
},
"converted": {
"type": "integer"
}
},
"required": [
"blocks",
"converted"
],
"additionalProperties": false
},
"MigrateLegacyMindmapsRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"notebook": {
"type": "string"
}
},
"required": [
"id",
"notebook"
],
"additionalProperties": false
},
"MoveBlockRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"parentID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"previousID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"NetImageAssetsRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"NetworkData": {
"type": "object",
"properties": {
"proxy": {
"anyOf": [
{
"$ref": "#/$defs/NetworkProxy"
},
{
"type": "null"
}
]
}
},
"required": [
"proxy"
],
"additionalProperties": false
},
"NetworkEchoAttributeTypeAndValue": {
"type": "object",
"properties": {
"Type": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"Value": {
"anyOf": [
{
"type": "null"
},
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"$ref": "#/$defs/NetworkEchoRawValue"
},
{
"$ref": "#/$defs/NetworkEchoBitString"
}
]
}
},
"required": [
"Type",
"Value"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoBitString": {
"type": "object",
"properties": {
"BitLength": {
"type": "integer"
},
"Bytes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"BitLength",
"Bytes"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoCertificate": {
"type": "object",
"properties": {
"AuthorityKeyId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"BasicConstraintsValid": {
"type": "boolean"
},
"CRLDistributionPoints": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"DNSNames": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"EmailAddresses": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"ExcludedDNSDomains": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"ExcludedEmailAddresses": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"ExcludedIPRanges": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/NetworkEchoIPNet"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"ExcludedURIDomains": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"ExtKeyUsage": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"Extensions": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/NetworkEchoExtension"
}
},
{
"type": "null"
}
]
},
"ExtraExtensions": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/NetworkEchoExtension"
}
},
{
"type": "null"
}
]
},
"IPAddresses": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"InhibitAnyPolicy": {
"type": "integer"
},
"InhibitAnyPolicyZero": {
"type": "boolean"
},
"InhibitPolicyMapping": {
"type": "integer"
},
"InhibitPolicyMappingZero": {
"type": "boolean"
},
"IsCA": {
"type": "boolean"
},
"Issuer": {
"$ref": "#/$defs/NetworkEchoName"
},
"IssuingCertificateURL": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"KeyUsage": {
"type": "integer"
},
"MaxPathLen": {
"type": "integer"
},
"MaxPathLenZero": {
"type": "boolean"
},
"NotAfter": {
"type": "string"
},
"NotBefore": {
"type": "string"
},
"OCSPServer": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"PermittedDNSDomains": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"PermittedDNSDomainsCritical": {
"type": "boolean"
},
"PermittedEmailAddresses": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"PermittedIPRanges": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/NetworkEchoIPNet"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"PermittedURIDomains": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"Policies": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"PolicyIdentifiers": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"PolicyMappings": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/NetworkEchoPolicyMapping"
}
},
{
"type": "null"
}
]
},
"PublicKey": {
"anyOf": [
{
"type": "null"
},
{
"type": "string"
},
{
"$ref": "#/$defs/NetworkEchoRSAPublicKey"
},
{
"$ref": "#/$defs/NetworkEchoECDSAPublicKey"
},
{
"$ref": "#/$defs/NetworkEchoDSAPublicKey"
}
]
},
"PublicKeyAlgorithm": {
"type": "integer"
},
"Raw": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"RawIssuer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"RawSubject": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"RawSubjectPublicKeyInfo": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"RawTBSCertificate": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"RequireExplicitPolicy": {
"type": "integer"
},
"RequireExplicitPolicyZero": {
"type": "boolean"
},
"SerialNumber": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"Signature": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"SignatureAlgorithm": {
"type": "integer"
},
"Subject": {
"$ref": "#/$defs/NetworkEchoName"
},
"SubjectKeyId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"URIs": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/NetworkEchoURL"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"UnhandledCriticalExtensions": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"UnknownExtKeyUsage": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"Version": {
"type": "integer"
}
},
"required": [
"AuthorityKeyId",
"BasicConstraintsValid",
"CRLDistributionPoints",
"DNSNames",
"EmailAddresses",
"ExcludedDNSDomains",
"ExcludedEmailAddresses",
"ExcludedIPRanges",
"ExcludedURIDomains",
"ExtKeyUsage",
"Extensions",
"ExtraExtensions",
"IPAddresses",
"InhibitAnyPolicy",
"InhibitAnyPolicyZero",
"InhibitPolicyMapping",
"InhibitPolicyMappingZero",
"IsCA",
"Issuer",
"IssuingCertificateURL",
"KeyUsage",
"MaxPathLen",
"MaxPathLenZero",
"NotAfter",
"NotBefore",
"OCSPServer",
"PermittedDNSDomains",
"PermittedDNSDomainsCritical",
"PermittedEmailAddresses",
"PermittedIPRanges",
"PermittedURIDomains",
"Policies",
"PolicyIdentifiers",
"PolicyMappings",
"PublicKey",
"PublicKeyAlgorithm",
"Raw",
"RawIssuer",
"RawSubject",
"RawSubjectPublicKeyInfo",
"RawTBSCertificate",
"RequireExplicitPolicy",
"RequireExplicitPolicyZero",
"SerialNumber",
"Signature",
"SignatureAlgorithm",
"Subject",
"SubjectKeyId",
"URIs",
"UnhandledCriticalExtensions",
"UnknownExtKeyUsage",
"Version"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoConnectionState": {
"type": "object",
"properties": {
"CipherSuite": {
"type": "integer"
},
"CurveID": {
"type": "integer"
},
"DidResume": {
"type": "boolean"
},
"ECHAccepted": {
"type": "boolean"
},
"HandshakeComplete": {
"type": "boolean"
},
"HelloRetryRequest": {
"type": "boolean"
},
"NegotiatedProtocol": {
"type": "string"
},
"NegotiatedProtocolIsMutual": {
"type": "boolean"
},
"OCSPResponse": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"PeerCertificates": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/NetworkEchoCertificate"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"ServerName": {
"type": "string"
},
"SignedCertificateTimestamps": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"TLSUnique": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"VerifiedChains": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/NetworkEchoCertificate"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"Version": {
"type": "integer"
}
},
"required": [
"CipherSuite",
"CurveID",
"DidResume",
"ECHAccepted",
"HandshakeComplete",
"HelloRetryRequest",
"NegotiatedProtocol",
"NegotiatedProtocolIsMutual",
"OCSPResponse",
"PeerCertificates",
"ServerName",
"SignedCertificateTimestamps",
"TLSUnique",
"VerifiedChains",
"Version"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoContext": {
"type": "object",
"properties": {
"ClientIP": {
"type": "string"
},
"ContentType": {
"type": "string"
},
"FullPath": {
"type": "string"
},
"HandlerNames": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"IsWebsocket": {
"type": "boolean"
},
"Params": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/NetworkEchoParam"
}
},
{
"type": "null"
}
]
},
"RawData": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"RemoteIP": {
"type": "string"
}
},
"required": [
"ClientIP",
"ContentType",
"FullPath",
"HandlerNames",
"IsWebsocket",
"Params",
"RawData",
"RemoteIP"
],
"additionalProperties": false
},
"NetworkEchoCookie": {
"type": "object",
"properties": {
"Domain": {
"type": "string"
},
"Expires": {
"type": "string"
},
"HttpOnly": {
"type": "boolean"
},
"MaxAge": {
"type": "integer"
},
"Name": {
"type": "string"
},
"Partitioned": {
"type": "boolean"
},
"Path": {
"type": "string"
},
"Quoted": {
"type": "boolean"
},
"Raw": {
"type": "string"
},
"RawExpires": {
"type": "string"
},
"SameSite": {
"type": "integer"
},
"Secure": {
"type": "boolean"
},
"Unparsed": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"Value": {
"type": "string"
}
},
"required": [
"Domain",
"Expires",
"HttpOnly",
"MaxAge",
"Name",
"Partitioned",
"Path",
"Quoted",
"Raw",
"RawExpires",
"SameSite",
"Secure",
"Unparsed",
"Value"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoCurveParams": {
"type": "object",
"properties": {
"B": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"BitSize": {
"type": "integer"
},
"Gx": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"Gy": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"N": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"Name": {
"type": "string"
},
"P": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"B",
"BitSize",
"Gx",
"Gy",
"N",
"Name",
"P"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoDSAPublicKey": {
"type": "object",
"properties": {
"G": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"P": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"Q": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"Y": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"G",
"P",
"Q",
"Y"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoData": {
"type": "object",
"properties": {
"Context": {
"$ref": "#/$defs/NetworkEchoContext"
},
"Request": {
"$ref": "#/$defs/NetworkEchoRequest"
},
"URL": {
"$ref": "#/$defs/NetworkEchoURLInfo"
},
"User": {
"$ref": "#/$defs/NetworkEchoUser"
}
},
"required": [
"Context",
"Request",
"URL",
"User"
],
"additionalProperties": false
},
"NetworkEchoECDSAPublicKey": {
"type": "object",
"properties": {
"Curve": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"additionalProperties": false
},
{
"$ref": "#/$defs/NetworkEchoCurveParams"
}
]
},
{
"type": "null"
}
]
},
"X": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"Y": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"Curve",
"X",
"Y"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoExtension": {
"type": "object",
"properties": {
"Critical": {
"type": "boolean"
},
"Id": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"Value": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"Critical",
"Id",
"Value"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoFile": {
"type": "object",
"properties": {
"Content": {
"type": "string"
},
"Filename": {
"type": "string"
},
"Header": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"Size": {
"type": "integer"
}
},
"required": [
"Content",
"Filename",
"Header",
"Size"
],
"additionalProperties": false
},
"NetworkEchoIPNet": {
"type": "object",
"properties": {
"IP": {
"type": "string"
},
"Mask": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"IP",
"Mask"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoMultipart": {
"type": "object",
"properties": {
"File": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/NetworkEchoFile"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"Value": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"File",
"Value"
],
"additionalProperties": false
},
"NetworkEchoName": {
"type": "object",
"properties": {
"CommonName": {
"type": "string"
},
"Country": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"ExtraNames": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/NetworkEchoAttributeTypeAndValue"
}
},
{
"type": "null"
}
]
},
"Locality": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"Names": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/NetworkEchoAttributeTypeAndValue"
}
},
{
"type": "null"
}
]
},
"Organization": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"OrganizationalUnit": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"PostalCode": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"Province": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"SerialNumber": {
"type": "string"
},
"StreetAddress": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"CommonName",
"Country",
"ExtraNames",
"Locality",
"Names",
"Organization",
"OrganizationalUnit",
"PostalCode",
"Province",
"SerialNumber",
"StreetAddress"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoParam": {
"type": "object",
"properties": {
"Key": {
"type": "string"
},
"Value": {
"type": "string"
}
},
"required": [
"Key",
"Value"
],
"additionalProperties": false
},
"NetworkEchoParameters": {
"type": "object",
"properties": {
"G": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"P": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"Q": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"G",
"P",
"Q"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoPolicyMapping": {
"type": "object",
"properties": {
"IssuerDomainPolicy": {
"type": "string"
},
"SubjectDomainPolicy": {
"type": "string"
}
},
"required": [
"IssuerDomainPolicy",
"SubjectDomainPolicy"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoRSAPublicKey": {
"type": "object",
"properties": {
"E": {
"type": "integer"
},
"N": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"E",
"N"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoRawValue": {
"type": "object",
"properties": {
"Bytes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"Class": {
"type": "integer"
},
"FullBytes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"IsCompound": {
"type": "boolean"
},
"Tag": {
"type": "integer"
}
},
"required": [
"Bytes",
"Class",
"FullBytes",
"IsCompound",
"Tag"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoRequest": {
"type": "object",
"properties": {
"Close": {
"type": "boolean"
},
"ContentLength": {
"type": "integer"
},
"Cookies": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/NetworkEchoCookie"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"Form": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"Header": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"Host": {
"type": "string"
},
"Method": {
"type": "string"
},
"MultipartForm": {
"anyOf": [
{
"$ref": "#/$defs/NetworkEchoMultipart"
},
{
"type": "null"
}
]
},
"PostForm": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"Proto": {
"type": "string"
},
"ProtoMajor": {
"type": "integer"
},
"ProtoMinor": {
"type": "integer"
},
"Referer": {
"type": "string"
},
"RemoteAddr": {
"type": "string"
},
"TLS": {
"anyOf": [
{
"$ref": "#/$defs/NetworkEchoConnectionState"
},
{
"type": "null"
}
]
},
"Trailer": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"TransferEncoding": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"URL": {
"anyOf": [
{
"$ref": "#/$defs/NetworkEchoURL"
},
{
"type": "null"
}
]
},
"UserAgent": {
"type": "string"
}
},
"required": [
"Close",
"ContentLength",
"Cookies",
"Form",
"Header",
"Host",
"Method",
"MultipartForm",
"PostForm",
"Proto",
"ProtoMajor",
"ProtoMinor",
"Referer",
"RemoteAddr",
"TLS",
"Trailer",
"TransferEncoding",
"URL",
"UserAgent"
],
"additionalProperties": false
},
"NetworkEchoURL": {
"type": "object",
"properties": {
"ForceQuery": {
"type": "boolean"
},
"Fragment": {
"type": "string"
},
"Host": {
"type": "string"
},
"OmitHost": {
"type": "boolean"
},
"Opaque": {
"type": "string"
},
"Path": {
"type": "string"
},
"RawFragment": {
"type": "string"
},
"RawPath": {
"type": "string"
},
"RawQuery": {
"type": "string"
},
"Scheme": {
"type": "string"
},
"User": {
"anyOf": [
{
"$ref": "#/$defs/NetworkEchoUserinfo"
},
{
"type": "null"
}
]
}
},
"required": [
"ForceQuery",
"Fragment",
"Host",
"OmitHost",
"Opaque",
"Path",
"RawFragment",
"RawPath",
"RawQuery",
"Scheme",
"User"
],
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"NetworkEchoURLInfo": {
"type": "object",
"properties": {
"EscapedFragment": {
"type": "string"
},
"EscapedPath": {
"type": "string"
},
"Hostname": {
"type": "string"
},
"IsAbs": {
"type": "boolean"
},
"Port": {
"type": "string"
},
"Query": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"Redacted": {
"type": "string"
},
"RequestURI": {
"type": "string"
},
"String": {
"type": "string"
}
},
"required": [
"EscapedFragment",
"EscapedPath",
"Hostname",
"IsAbs",
"Port",
"Query",
"Redacted",
"RequestURI",
"String"
],
"additionalProperties": false
},
"NetworkEchoUser": {
"type": "object",
"properties": {
"Exists": {
"type": "boolean"
},
"Password": {
"type": "string"
},
"Username": {
"type": "string"
}
},
"required": [
"Exists",
"Password",
"Username"
],
"additionalProperties": false
},
"NetworkEchoUserinfo": {
"type": "object",
"additionalProperties": false
},
"NetworkForwardData": {
"type": "object",
"properties": {
"body": {
"type": "string"
},
"bodyEncoding": {
"type": "string"
},
"contentType": {
"type": "string"
},
"elapsed": {
"type": "integer"
},
"headers": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"status": {
"type": "integer"
},
"url": {
"type": "string"
}
},
"required": [
"body",
"bodyEncoding",
"contentType",
"elapsed",
"headers",
"status",
"url"
],
"additionalProperties": false
},
"NetworkForwardRequestInput": {
"type": "object",
"properties": {
"contentType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"headers": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"method": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"payload": {
"anyOf": [
{
"$ref": "#/$defs/JSONValue"
},
{
"type": "null"
}
]
},
"payloadEncoding": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"redirect": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"responseEncoding": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeout": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"url": {
"type": "string"
}
},
"required": [
"url"
],
"additionalProperties": false
},
"NetworkProxy": {
"type": "object",
"properties": {
"host": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"required": [
"host",
"port",
"scheme"
],
"additionalProperties": false
},
"NetworkProxyInput": {
"type": "object",
"properties": {
"host": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"required": [
"host",
"port",
"scheme"
],
"additionalProperties": false
},
"NetworkServeRequestInput": {
"type": "object",
"properties": {
"networkServe": {
"type": "boolean"
}
},
"required": [
"networkServe"
],
"additionalProperties": false
},
"NetworkServeTLSRequestInput": {
"type": "object",
"properties": {
"networkServeTLS": {
"type": "boolean"
}
},
"required": [
"networkServeTLS"
],
"additionalProperties": false
},
"Notebook": {
"type": "object",
"properties": {
"closed": {
"type": "boolean"
},
"dueFlashcardCount": {
"type": "integer"
},
"encrypted": {
"type": "boolean"
},
"flashcardCount": {
"type": "integer"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"newFlashcardCount": {
"type": "integer"
},
"sort": {
"type": "integer"
},
"sortMode": {
"type": "integer"
},
"state": {
"type": "string",
"enum": [
"Locked",
"Unlocking",
"Unlocked",
"Locking",
"Error"
]
},
"subFileCount": {
"type": "integer"
},
"unlocked": {
"type": "boolean"
}
},
"required": [
"closed",
"dueFlashcardCount",
"encrypted",
"flashcardCount",
"icon",
"id",
"name",
"newFlashcardCount",
"sort",
"sortMode",
"subFileCount",
"unlocked"
],
"additionalProperties": false
},
"NotebookArchiveCandidate": {
"type": "object",
"properties": {
"current": {
"type": "boolean"
},
"id": {
"type": "string"
}
},
"required": [
"current",
"id"
],
"additionalProperties": false
},
"NotebookArchiveCandidatesData": {
"type": "object",
"properties": {
"notebooks": {
"type": "array",
"items": {
"$ref": "#/$defs/NotebookArchiveCandidate"
}
}
},
"required": [
"notebooks"
],
"additionalProperties": false
},
"NotebookArchiveData": {
"type": "object",
"properties": {
"file": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"file",
"id"
],
"additionalProperties": false
},
"NotebookConf": {
"type": "object",
"properties": {
"boxCrypt": {
"anyOf": [
{
"$ref": "#/$defs/NotebookEncryption"
},
{
"type": "null"
}
]
},
"closed": {
"type": "boolean"
},
"dailyNoteSavePath": {
"type": "string"
},
"dailyNoteTarget": {
"$ref": "#/$defs/StructuredDocumentTarget"
},
"dailyNoteTemplatePath": {
"type": "string"
},
"docCreateSaveBox": {
"type": "string"
},
"docCreateSavePath": {
"type": "string"
},
"docCreateTarget": {
"$ref": "#/$defs/StructuredDocumentTarget"
},
"docCreateTemplatePath": {
"type": "string"
},
"encrypted": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"name": {
"type": "string"
},
"refCreateSaveBox": {
"type": "string"
},
"refCreateSavePath": {
"type": "string"
},
"refCreateTarget": {
"$ref": "#/$defs/StructuredDocumentTarget"
},
"sort": {
"type": "integer"
},
"sortMode": {
"type": "integer"
}
},
"required": [
"boxCrypt",
"closed",
"dailyNoteSavePath",
"dailyNoteTemplatePath",
"docCreateSaveBox",
"docCreateSavePath",
"docCreateTemplatePath",
"encrypted",
"icon",
"name",
"refCreateSaveBox",
"refCreateSavePath",
"sort",
"sortMode"
],
"additionalProperties": false
},
"NotebookConfData": {
"type": "object",
"properties": {
"box": {
"type": "string"
},
"conf": {
"anyOf": [
{
"$ref": "#/$defs/NotebookConf"
},
{
"type": "null"
}
]
},
"documentCapabilities": {
"$ref": "#/$defs/DocumentCapabilities"
},
"name": {
"type": "string"
}
},
"required": [
"box",
"conf",
"name"
],
"additionalProperties": false
},
"NotebookConfPatchInput": {
"type": "object",
"properties": {
"boxCrypt": {
"anyOf": [
{
"$ref": "#/$defs/NotebookEncryptionPatchInput"
},
{
"type": "null"
}
]
},
"closed": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"dailyNoteSavePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dailyNoteTarget": {
"anyOf": [
{
"$ref": "#/$defs/StructuredDocumentTargetInput"
},
{
"type": "null"
}
]
},
"dailyNoteTemplatePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"docCreateSaveBox": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"docCreateSavePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"docCreateTarget": {
"anyOf": [
{
"$ref": "#/$defs/StructuredDocumentTargetInput"
},
{
"type": "null"
}
]
},
"docCreateTemplatePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"encrypted": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"icon": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"refCreateSaveBox": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"refCreateSavePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"refCreateTarget": {
"anyOf": [
{
"$ref": "#/$defs/StructuredDocumentTargetInput"
},
{
"type": "null"
}
]
},
"sort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"sortMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"NotebookCryptoAutoLockRequestInput": {
"type": "object",
"properties": {
"autoLockMinutes": {
"type": "number"
}
},
"required": [
"autoLockMinutes"
],
"additionalProperties": false
},
"NotebookCryptoBackupData": {
"type": "object",
"properties": {
"file": {
"type": "string"
}
},
"required": [
"file"
],
"additionalProperties": false
},
"NotebookEncryption": {
"type": "object",
"properties": {
"createdAt": {
"type": "integer"
},
"metadata": {
"type": "string"
},
"spec": {
"type": "integer"
},
"wrapNonce": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"wrappedDEK": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"createdAt",
"spec",
"wrapNonce",
"wrappedDEK"
],
"additionalProperties": false
},
"NotebookEncryptionPatchInput": {
"type": "object",
"properties": {
"createdAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"metadata": {
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "integer"
}
}
]
},
{
"type": "null"
}
]
},
"spec": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"wrapNonce": {
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "integer"
}
}
]
},
{
"type": "null"
}
]
},
"wrappedDEK": {
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "integer"
}
}
]
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"NotebookHistoryData": {
"type": "object",
"properties": {
"histories": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/History"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"histories"
],
"additionalProperties": false
},
"NotebookIDRequestInput": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
}
},
"required": [
"notebook"
],
"additionalProperties": false
},
"NotebookInfo": {
"type": "object",
"properties": {
"ctime": {
"type": "integer"
},
"docCount": {
"type": "integer"
},
"hCtime": {
"type": "string"
},
"hMtime": {
"type": "string"
},
"hSize": {
"type": "string"
},
"id": {
"type": "string"
},
"mtime": {
"type": "integer"
},
"name": {
"type": "string"
},
"size": {
"type": "integer"
}
},
"required": [
"ctime",
"docCount",
"hCtime",
"hMtime",
"hSize",
"id",
"mtime",
"name",
"size"
],
"additionalProperties": false
},
"NotebookInfoData": {
"type": "object",
"properties": {
"boxInfo": {
"anyOf": [
{
"$ref": "#/$defs/NotebookInfo"
},
{
"type": "null"
}
]
}
},
"required": [
"boxInfo"
],
"additionalProperties": false
},
"NotebookPasswordRequestInput": {
"type": "object",
"properties": {
"password": {
"type": "string"
}
},
"required": [
"password"
],
"additionalProperties": false
},
"NotificationData": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"NotificationRequestInput": {
"type": "object",
"properties": {
"msg": {
"type": "string"
},
"timeout": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"msg"
],
"additionalProperties": false
},
"OCRAIModel": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"provider": {
"type": "string"
}
},
"required": [
"id",
"name",
"provider"
],
"additionalProperties": false
},
"OCRConfigData": {
"type": "object",
"properties": {
"aiModels": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/OCRAIModel"
}
},
{
"type": "null"
}
]
},
"config": {
"$ref": "#/$defs/SettingOCR"
},
"models": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/OCRModel"
}
},
{
"type": "null"
}
]
},
"providers": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/OCRProviderState"
}
},
{
"type": "null"
}
]
}
},
"required": [
"aiModels",
"config",
"models",
"providers"
],
"additionalProperties": false
},
"OCRModel": {
"type": "object",
"properties": {
"builtIn": {
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"builtIn",
"id",
"name"
],
"additionalProperties": false
},
"OCRProviderState": {
"type": "object",
"properties": {
"available": {
"type": "boolean"
},
"id": {
"type": "string"
}
},
"required": [
"available",
"id"
],
"additionalProperties": false
},
"OCRThresholds": {
"type": "object",
"properties": {
"box": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"detection": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"recognition": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"box",
"detection",
"recognition"
],
"additionalProperties": false
},
"OCRThresholdsInput": {
"type": "object",
"properties": {
"box": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"detection": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"recognition": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"box",
"detection",
"recognition"
],
"additionalProperties": false
},
"ObsidianAnalysisRequestInput": {
"type": "object",
"properties": {
"localPath": {
"type": "string"
}
},
"required": [
"localPath"
],
"additionalProperties": false
},
"ObsidianImportRequestInput": {
"type": "object",
"properties": {
"notebookName": {
"type": "string"
},
"taskID": {
"type": "string"
}
},
"required": [
"notebookName",
"taskID"
],
"additionalProperties": false
},
"ObsidianTaskRequestInput": {
"type": "object",
"properties": {
"taskID": {
"type": "string"
}
},
"required": [
"taskID"
],
"additionalProperties": false
},
"ObsidianVaultAnalysis": {
"type": "object",
"properties": {
"ambiguousCount": {
"type": "integer"
},
"blockIDCount": {
"type": "integer"
},
"blockingErrors": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"commentCount": {
"type": "integer"
},
"embedCount": {
"type": "integer"
},
"footnoteCount": {
"type": "integer"
},
"importableAssetCount": {
"type": "integer"
},
"importableAssetSize": {
"type": "integer"
},
"markdownCount": {
"type": "integer"
},
"missingCount": {
"type": "integer"
},
"nameAdjustmentCount": {
"type": "integer"
},
"notebookName": {
"type": "string"
},
"skippedHiddenCount": {
"type": "integer"
},
"skippedLinkCount": {
"type": "integer"
},
"skippedNestedVaultCount": {
"type": "integer"
},
"skippedSpecialCount": {
"type": "integer"
},
"syntheticParentCount": {
"type": "integer"
},
"unreferencedFileCount": {
"type": "integer"
},
"unsupportedCount": {
"type": "integer"
},
"vaultName": {
"type": "string"
},
"vaultPath": {
"type": "string"
},
"warnings": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"wikiLinkCount": {
"type": "integer"
}
},
"required": [
"ambiguousCount",
"blockIDCount",
"blockingErrors",
"commentCount",
"embedCount",
"footnoteCount",
"importableAssetCount",
"importableAssetSize",
"markdownCount",
"missingCount",
"nameAdjustmentCount",
"notebookName",
"skippedHiddenCount",
"skippedLinkCount",
"skippedNestedVaultCount",
"skippedSpecialCount",
"syntheticParentCount",
"unreferencedFileCount",
"unsupportedCount",
"vaultName",
"vaultPath",
"warnings",
"wikiLinkCount"
],
"additionalProperties": false
},
"ObsidianVaultImportResult": {
"type": "object",
"properties": {
"convertedEmbedCount": {
"type": "integer"
},
"convertedFootnoteCount": {
"type": "integer"
},
"convertedLinkCount": {
"type": "integer"
},
"failedStage": {
"type": "string"
},
"importedAttachmentCount": {
"type": "integer"
},
"incomplete": {
"type": "boolean"
},
"markdownCount": {
"type": "integer"
},
"nameAdjustmentCount": {
"type": "integer"
},
"notebookID": {
"type": "string"
},
"notebookName": {
"type": "string"
},
"preservedCommentCount": {
"type": "integer"
},
"preservedUnresolvedCount": {
"type": "integer"
},
"skippedPathCount": {
"type": "integer"
},
"syntheticParentCount": {
"type": "integer"
},
"unreferencedFileCount": {
"type": "integer"
}
},
"required": [
"convertedEmbedCount",
"convertedFootnoteCount",
"convertedLinkCount",
"importedAttachmentCount",
"incomplete",
"markdownCount",
"nameAdjustmentCount",
"notebookID",
"notebookName",
"preservedCommentCount",
"preservedUnresolvedCount",
"skippedPathCount",
"syntheticParentCount",
"unreferencedFileCount"
],
"additionalProperties": false
},
"ObsidianVaultTask": {
"type": "object",
"properties": {
"analysis": {
"$ref": "#/$defs/ObsidianVaultAnalysis"
},
"detail": {
"type": "string"
},
"error": {
"type": "string"
},
"message": {
"type": "string"
},
"progress": {
"type": "integer"
},
"result": {
"$ref": "#/$defs/ObsidianVaultImportResult"
},
"state": {
"type": "string"
},
"taskID": {
"type": "string"
}
},
"required": [
"message",
"progress",
"state",
"taskID"
],
"additionalProperties": false
},
"OpenNotebookRequestInput": {
"type": "object",
"properties": {
"app": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebook": {
"type": "string"
}
},
"required": [
"notebook"
],
"additionalProperties": false
},
"OpenRepoSnapshotFileRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"OrderedListStartData": {
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"start": {
"type": "integer"
}
},
"required": [
"found",
"start"
],
"additionalProperties": false
},
"OutlineRequestInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"preview": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"OutlineStorageRequestInput": {
"type": "object",
"properties": {
"docID": {
"type": "string"
}
},
"required": [
"docID"
],
"additionalProperties": false
},
"OutlineStorageSetRequestInput": {
"type": "object",
"properties": {
"docID": {
"type": "string"
},
"val": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
}
},
"required": [
"docID",
"val"
],
"additionalProperties": false
},
"PandocData": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
},
"PandocRequestInput": {
"type": "object",
"properties": {
"args": {
"type": "array",
"items": {
"type": "string"
}
},
"dir": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"args"
],
"additionalProperties": false
},
"PatchRepoSettingInput": {
"type": "object",
"properties": {
"indexRetentionDays": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"retentionIndexesDaily": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"PatchSettingRequestInput": {
"type": "object",
"properties": {
"ai": {
"anyOf": [
{
"$ref": "#/$defs/SettingAIInput"
},
{
"type": "null"
}
]
},
"appearance": {
"anyOf": [
{
"$ref": "#/$defs/SettingAppearanceInput"
},
{
"type": "null"
}
]
},
"bazaar": {
"anyOf": [
{
"$ref": "#/$defs/SettingBazaarInput"
},
{
"type": "null"
}
]
},
"editor": {
"anyOf": [
{
"$ref": "#/$defs/SettingEditorInput"
},
{
"type": "null"
}
]
},
"export": {
"anyOf": [
{
"$ref": "#/$defs/SettingExportInput"
},
{
"type": "null"
}
]
},
"fileTree": {
"anyOf": [
{
"$ref": "#/$defs/SettingFileTreeInput"
},
{
"type": "null"
}
]
},
"flashcard": {
"anyOf": [
{
"$ref": "#/$defs/SettingFlashcardInput"
},
{
"type": "null"
}
]
},
"keymap": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
"ocr": {
"anyOf": [
{
"$ref": "#/$defs/SettingOCRInput"
},
{
"type": "null"
}
]
},
"publish": {
"anyOf": [
{
"$ref": "#/$defs/SettingPublishInput"
},
{
"type": "null"
}
]
},
"repo": {
"anyOf": [
{
"$ref": "#/$defs/PatchRepoSettingInput"
},
{
"type": "null"
}
]
},
"search": {
"anyOf": [
{
"$ref": "#/$defs/SettingSearchInput"
},
{
"type": "null"
}
]
},
"secrets": {
"anyOf": [
{
"$ref": "#/$defs/SettingSecretsInput"
},
{
"type": "null"
}
]
},
"snippet": {
"anyOf": [
{
"$ref": "#/$defs/SettingSnptInput"
},
{
"type": "null"
}
]
},
"sync": {
"anyOf": [
{
"$ref": "#/$defs/PatchSyncSettingInput"
},
{
"type": "null"
}
]
},
"system": {
"anyOf": [
{
"$ref": "#/$defs/PatchSystemSettingInput"
},
{
"type": "null"
}
]
},
"variables": {
"anyOf": [
{
"$ref": "#/$defs/SettingVariablesInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"PatchSyncSettingInput": {
"type": "object",
"properties": {
"assetDownloadMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"cloudName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"generateConflictDoc": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"interval": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"lan": {
"anyOf": [
{
"$ref": "#/$defs/SyncLANRequestInput"
},
{
"type": "null"
}
]
},
"local": {
"anyOf": [
{
"$ref": "#/$defs/SyncLocalInput"
},
{
"type": "null"
}
]
},
"mode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"perception": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"s3": {
"anyOf": [
{
"$ref": "#/$defs/SyncS3Input"
},
{
"type": "null"
}
]
},
"webdav": {
"anyOf": [
{
"$ref": "#/$defs/SyncWebDAVInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"PatchSystemSettingInput": {
"type": "object",
"properties": {
"autoLaunch2": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"encryptedNotebookFollowSystemLock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"lockScreenMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"networkProxy": {
"anyOf": [
{
"$ref": "#/$defs/NetworkProxyInput"
},
{
"type": "null"
}
]
},
"networkServe": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"networkServeTLS": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"settingsWindow": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"PerformSyncRequestInput": {
"type": "object",
"properties": {
"mobileSwitch": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"upload": {
"type": "boolean"
}
},
"additionalProperties": false
},
"PerformTransactionsRequestInput": {
"type": "object",
"properties": {
"app": {
"type": "string"
},
"reqId": {
"type": "number"
},
"session": {
"type": "string"
},
"transactions": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/TransactionInput"
},
{
"type": "null"
}
]
}
}
},
"required": [
"reqId",
"transactions"
],
"additionalProperties": false
},
"Petal": {
"type": "object",
"properties": {
"css": {
"type": "string"
},
"disabledInPublish": {
"type": "boolean"
},
"disallowInstall": {
"type": "boolean"
},
"displayName": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"i18n": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "null"
}
]
},
"incompatible": {
"type": "boolean"
},
"js": {
"type": "string"
},
"kernel": {
"$ref": "#/$defs/KernelPetal"
},
"name": {
"type": "string"
},
"settingsWindow": {
"type": "boolean"
},
"userDisabledInPublish": {
"type": "boolean"
},
"version": {
"type": "string"
}
},
"required": [
"css",
"disabledInPublish",
"disallowInstall",
"displayName",
"enabled",
"i18n",
"incompatible",
"js",
"kernel",
"name",
"userDisabledInPublish",
"version"
],
"additionalProperties": false
},
"PinnedDoc": {
"type": "object",
"properties": {
"alias": {
"type": "string"
},
"bookmark": {
"type": "string"
},
"childrenSortMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"hCtime": {
"type": "string"
},
"hMtime": {
"type": "string"
},
"hSize": {
"type": "string"
},
"icon": {
"type": "string"
},
"id": {
"type": "string"
},
"memo": {
"type": "string"
},
"name": {
"type": "string"
},
"name1": {
"type": "string"
},
"notebook": {
"type": "string"
},
"path": {
"type": "string"
},
"subFileCount": {
"type": "integer"
},
"unavailable": {
"type": "boolean"
}
},
"required": [
"alias",
"bookmark",
"childrenSortMode",
"hCtime",
"hMtime",
"hSize",
"icon",
"id",
"memo",
"name",
"name1",
"notebook",
"path",
"subFileCount",
"unavailable"
],
"additionalProperties": false
},
"PlanDocCreateRequestInput": {
"type": "object",
"properties": {
"contextID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"date": {
"type": "string"
},
"id": {
"type": "string"
},
"notebook": {
"type": "string"
},
"placement": {
"type": "string",
"enum": [
"configured",
"child"
]
},
"purpose": {
"type": "string",
"enum": [
"document",
"reference",
"dailyNote"
]
},
"reuse": {
"type": "boolean"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"notebook",
"purpose"
],
"additionalProperties": false
},
"PluginPublishInfo": {
"type": "object",
"properties": {
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"granted": {
"type": "boolean"
},
"resources": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"fields",
"granted",
"resources"
],
"additionalProperties": false
},
"PluginPublishRequestInput": {
"type": "object",
"properties": {
"packageName": {
"type": "string"
}
},
"required": [
"packageName"
],
"additionalProperties": false
},
"PluginRPCError": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"data": {
"$ref": "#/$defs/JSONValue"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"additionalProperties": false
},
"PluginRPCFailure": {
"type": "object",
"properties": {
"error": {
"anyOf": [
{
"$ref": "#/$defs/PluginRPCError"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
},
"jsonrpc": {
"type": "string",
"enum": [
"2.0"
]
}
},
"required": [
"error",
"id",
"jsonrpc"
],
"additionalProperties": false
},
"PluginRPCMethod": {
"type": "object",
"properties": {
"descriptions": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
}
},
"required": [
"descriptions",
"name"
],
"additionalProperties": false
},
"PluginRPCNotification": {
"type": "object",
"properties": {
"jsonrpc": {
"type": "string",
"enum": [
"2.0"
]
},
"method": {
"type": "string"
},
"params": {
"$ref": "#/$defs/JSONValue"
}
},
"required": [
"jsonrpc",
"method"
],
"additionalProperties": false
},
"PluginRPCRequestFieldsInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
},
"jsonrpc": {
"type": "string",
"enum": [
"2.0"
]
},
"method": {
"type": "string"
},
"params": {
"anyOf": [
{
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/JSONValue"
}
},
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
}
]
},
{
"type": "null"
}
]
}
},
"required": [
"jsonrpc",
"method"
],
"additionalProperties": false
},
"PluginRPCSuccess": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
},
"jsonrpc": {
"type": "string",
"enum": [
"2.0"
]
},
"result": {
"$ref": "#/$defs/JSONValue"
}
},
"required": [
"id",
"jsonrpc",
"result"
],
"additionalProperties": false
},
"PrepareNotebookArchiveRequestInput": {
"type": "object",
"properties": {
"notebooks": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"notebooks"
],
"additionalProperties": false
},
"PreparePasteAssetsRequestInput": {
"type": "object",
"properties": {
"assets": {
"type": "array",
"items": {
"type": "string"
}
},
"notebook": {
"type": "string"
}
},
"required": [
"assets",
"notebook"
],
"additionalProperties": false
},
"PrepareRichTextRequestInput": {
"type": "object",
"properties": {
"assets": {
"type": "array",
"items": {
"$ref": "#/$defs/RichClipboardAssetInput"
}
}
},
"required": [
"assets"
],
"additionalProperties": false
},
"PrependBlockRequestInput": {
"type": "object",
"properties": {
"data": {
"type": "string"
},
"dataType": {
"type": "string"
},
"parentID": {
"type": "string"
}
},
"required": [
"data",
"dataType",
"parentID"
],
"additionalProperties": false
},
"ProcessPDFRequestInput": {
"type": "object",
"properties": {
"exportAssets": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"merge": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mergeContentHeadingMode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mergeDocHeadingMode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"type": "string"
},
"removeAssets": {
"type": "boolean"
},
"watermark": {
"type": "boolean"
}
},
"required": [
"id",
"path",
"removeAssets",
"watermark"
],
"additionalProperties": false
},
"ProxyFailure": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"msg": {
"type": "string"
}
},
"required": [
"code",
"msg"
],
"additionalProperties": false
},
"PublishedBlockInfo": {
"type": "object",
"properties": {
"publishAccessRequired": {
"type": "boolean",
"enum": [
true
]
},
"rootID": {
"type": "string"
},
"rootIcon": {
"type": "string"
},
"rootTitle": {
"type": "string"
},
"rootTitleEmpty": {
"type": "boolean"
}
},
"required": [
"publishAccessRequired",
"rootID",
"rootIcon",
"rootTitle",
"rootTitleEmpty"
],
"additionalProperties": false
},
"PutFileRequestInput": {
"type": "object",
"properties": {
"app": {
"type": "string"
},
"file": {
"type": "string",
"format": "binary"
},
"isDir": {
"type": "string"
},
"modTime": {
"type": "string"
},
"path": {
"type": "string"
}
},
"additionalProperties": false
},
"ReadDirectoryRequestInput": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
},
"RecentDoc": {
"type": "object",
"properties": {
"closedAt": {
"type": "integer"
},
"icon": {
"type": "string"
},
"openAt": {
"type": "integer"
},
"rootID": {
"type": "string"
},
"title": {
"type": "string"
},
"viewedAt": {
"type": "integer"
}
},
"required": [
"rootID"
],
"additionalProperties": false
},
"RecentDocUpdateRequestInput": {
"type": "object",
"properties": {
"rootID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"RecentDocsRequestInput": {
"type": "object",
"properties": {
"sortBy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"RecentDocsUpdateRequestInput": {
"type": "object",
"properties": {
"rootIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"RefDefs": {
"type": "object",
"properties": {
"defIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"refID": {
"type": "string"
}
},
"required": [
"defIDs",
"refID"
],
"additionalProperties": false
},
"RefDefsData": {
"type": "object",
"properties": {
"refDefs": {
"type": "array",
"items": {
"$ref": "#/$defs/RefDefs"
}
}
},
"required": [
"refDefs"
],
"additionalProperties": false
},
"RefIDsData": {
"type": "object",
"properties": {
"originalRefBlockIDs": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"refDefs": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RefDefs"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"originalRefBlockIDs",
"refDefs"
],
"additionalProperties": false
},
"RefIDsRequestInput": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"RefTextQueryRequestInput": {
"type": "object",
"properties": {
"anchor": {
"type": "string"
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"anchor"
],
"additionalProperties": false
},
"RefreshBacklinkRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"RelinkAssetRequestInput": {
"type": "object",
"properties": {
"dryRun": {
"type": "boolean"
},
"mappings": {
"type": "array",
"items": {
"$ref": "#/$defs/AssetRelinkMappingInput"
}
},
"newPath": {
"type": "string"
},
"oldPath": {
"type": "string"
}
},
"additionalProperties": false
},
"RemoveAttributeViewBlocksRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"srcIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"avID",
"srcIDs"
],
"additionalProperties": false
},
"RemoveAttributeViewKeyRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"keyID": {
"type": "string"
},
"removeRelationDest": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"avID",
"keyID"
],
"additionalProperties": false
},
"RemoveBookmarkRequestInput": {
"type": "object",
"properties": {
"bookmark": {
"type": "string"
}
},
"required": [
"bookmark"
],
"additionalProperties": false
},
"RemoveCloudRepoTagSnapshotRequestInput": {
"type": "object",
"properties": {
"tag": {
"type": "string"
}
},
"required": [
"tag"
],
"additionalProperties": false
},
"RemoveCriterionRequestInput": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"additionalProperties": false
},
"RemoveEncryptedBoxAssetsRequestInput": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
},
"paths": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"notebook",
"paths"
],
"additionalProperties": false
},
"RemoveFileRequestInput": {
"type": "object",
"properties": {
"app": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
},
"RemoveRepoTagSnapshotRequestInput": {
"type": "object",
"properties": {
"tag": {
"type": "string"
}
},
"required": [
"tag"
],
"additionalProperties": false
},
"RemoveShorthandsRequestInput": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"ids"
],
"additionalProperties": false
},
"RemoveTagRequestInput": {
"type": "object",
"properties": {
"label": {
"type": "string"
}
},
"required": [
"label"
],
"additionalProperties": false
},
"RemoveUnusedAttributeViewRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"RenameAssetRequestInput": {
"type": "object",
"properties": {
"newName": {
"type": "string"
},
"oldPath": {
"type": "string"
}
},
"required": [
"newName",
"oldPath"
],
"additionalProperties": false
},
"RenameBookmarkRequestInput": {
"type": "object",
"properties": {
"newBookmark": {
"type": "string"
},
"oldBookmark": {
"type": "string"
}
},
"required": [
"newBookmark",
"oldBookmark"
],
"additionalProperties": false
},
"RenameFileRequestInput": {
"type": "object",
"properties": {
"newPath": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"newPath",
"path"
],
"additionalProperties": false
},
"RenameNotebookRequestInput": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"notebook": {
"type": "string"
}
},
"required": [
"name",
"notebook"
],
"additionalProperties": false
},
"RenameRiffDeckRequestInput": {
"type": "object",
"properties": {
"deckID": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"deckID",
"name"
],
"additionalProperties": false
},
"RenameTagRequestInput": {
"type": "object",
"properties": {
"newLabel": {
"type": "string"
},
"oldLabel": {
"type": "string"
}
},
"required": [
"newLabel",
"oldLabel"
],
"additionalProperties": false
},
"RenderAttributeViewRequestInput": {
"type": "object",
"properties": {
"blockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"calendarRange": {
"anyOf": [
{
"$ref": "#/$defs/AVCalendarRangeInput"
},
{
"type": "null"
}
]
},
"createIfNotExist": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"groupPaging": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AVGroupPagingInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"ignoreRows": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"initialLayout": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"page": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pageSize": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetGroupID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetItemID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"temporarySort": {
"anyOf": [
{
"$ref": "#/$defs/AVViewSortInput"
},
{
"type": "null"
}
]
},
"viewID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"RenderHistoryAttributeViewRequestInput": {
"type": "object",
"properties": {
"blockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"calendarRange": {
"anyOf": [
{
"$ref": "#/$defs/AVCalendarRangeInput"
},
{
"type": "null"
}
]
},
"carrierViewID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created": {
"type": "string"
},
"groupPaging": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AVGroupPagingInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"page": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pageSize": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"viewID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"created",
"id"
],
"additionalProperties": false
},
"RenderSnapshotAttributeViewRequestInput": {
"type": "object",
"properties": {
"blockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"calendarRange": {
"anyOf": [
{
"$ref": "#/$defs/AVCalendarRangeInput"
},
{
"type": "null"
}
]
},
"carrierViewID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"snapshot": {
"type": "string"
},
"viewID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"snapshot"
],
"additionalProperties": false
},
"RenderSprigRequestInput": {
"type": "object",
"properties": {
"template": {
"type": "string"
}
},
"required": [
"template"
],
"additionalProperties": false
},
"RenderTemplateData": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"docTreePlan": {
"$ref": "#/$defs/TemplatePlan"
},
"path": {
"type": "string"
}
},
"required": [
"content",
"path"
],
"additionalProperties": false
},
"RenderTemplateRequestInput": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"id": {
"type": "string"
},
"mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"type": "string"
},
"preview": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"path"
],
"additionalProperties": false
},
"ReorderData": {
"type": "object",
"properties": {
"changed": {
"type": "boolean"
},
"notebook": {
"type": "string"
},
"parentPath": {
"type": "string"
}
},
"required": [
"changed"
],
"additionalProperties": false
},
"ReorderNotebooksRequestInput": {
"type": "object",
"properties": {
"position": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"targetID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"RepoCloudSnapshotsData": {
"type": "object",
"properties": {
"pageCount": {
"type": "integer"
},
"snapshots": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RepoLog"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"totalCount": {
"type": "integer"
}
},
"required": [
"pageCount",
"snapshots",
"totalCount"
],
"additionalProperties": false
},
"RepoCloudTagsData": {
"type": "object",
"properties": {
"snapshots": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RepoLog"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"snapshots"
],
"additionalProperties": false
},
"RepoDiffData": {
"type": "object",
"properties": {
"addsLeft": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RepoDiffFile"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"left": {
"anyOf": [
{
"$ref": "#/$defs/RepoDiffIndex"
},
{
"type": "null"
}
]
},
"removesRight": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RepoDiffFile"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"right": {
"anyOf": [
{
"$ref": "#/$defs/RepoDiffIndex"
},
{
"type": "null"
}
]
},
"updatesLeft": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RepoDiffFile"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"updatesRight": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RepoDiffFile"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"addsLeft",
"left",
"removesRight",
"right",
"updatesLeft",
"updatesRight"
],
"additionalProperties": false
},
"RepoDiffFile": {
"type": "object",
"properties": {
"fileID": {
"type": "string"
},
"hPath": {
"type": "string"
},
"hSize": {
"type": "string"
},
"indexID": {
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"updated": {
"type": "integer"
}
},
"required": [
"fileID",
"hSize",
"indexID",
"path",
"title",
"updated"
],
"additionalProperties": false
},
"RepoDiffIndex": {
"type": "object",
"properties": {
"created": {
"type": "integer"
},
"id": {
"type": "string"
}
},
"required": [
"created",
"id"
],
"additionalProperties": false
},
"RepoDocHistory": {
"type": "object",
"properties": {
"fileID": {
"type": "string"
},
"hSize": {
"type": "string"
},
"indexID": {
"type": "string"
},
"snapshots": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/DocHistorySnapshot"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"updated": {
"type": "integer"
}
},
"required": [
"fileID",
"hSize",
"indexID",
"snapshots",
"title",
"updated"
],
"additionalProperties": false
},
"RepoDocHistoryData": {
"type": "object",
"properties": {
"files": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RepoDocHistory"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"pageCount": {
"type": "integer"
},
"totalCount": {
"type": "integer"
}
},
"required": [
"files",
"pageCount",
"totalCount"
],
"additionalProperties": false
},
"RepoExportData": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
},
"RepoFile": {
"type": "object",
"properties": {
"chunks": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"path": {
"type": "string"
},
"size": {
"type": "integer"
},
"updated": {
"type": "integer"
}
},
"required": [
"chunks",
"id",
"path",
"size",
"updated"
],
"additionalProperties": false
},
"RepoKeyData": {
"type": "object",
"properties": {
"key": {
"type": "string"
}
},
"required": [
"key"
],
"additionalProperties": false
},
"RepoLog": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"created": {
"type": "integer"
},
"files": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RepoFile"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"hCreated": {
"type": "string"
},
"hSize": {
"type": "string"
},
"hTagUpdated": {
"type": "string"
},
"id": {
"type": "string"
},
"memo": {
"type": "string"
},
"size": {
"type": "integer"
},
"systemID": {
"type": "string"
},
"systemName": {
"type": "string"
},
"systemOS": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"required": [
"count",
"created",
"files",
"hCreated",
"hSize",
"hTagUpdated",
"id",
"memo",
"size",
"systemID",
"systemName",
"systemOS",
"tag"
],
"additionalProperties": false
},
"RepoOpenFileData": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"displayInText": {
"type": "boolean"
},
"title": {
"type": "string"
},
"updated": {
"type": "integer"
}
},
"required": [
"content",
"displayInText",
"title",
"updated"
],
"additionalProperties": false
},
"RepoSearchData": {
"type": "object",
"properties": {
"files": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RepoDiffFile"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"pageCount": {
"type": "integer"
},
"totalCount": {
"type": "integer"
}
},
"required": [
"files",
"pageCount",
"totalCount"
],
"additionalProperties": false
},
"RepoSnapshot": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"created": {
"type": "integer"
},
"files": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RepoFile"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"hCreated": {
"type": "string"
},
"hSize": {
"type": "string"
},
"hTagUpdated": {
"type": "string"
},
"id": {
"type": "string"
},
"memo": {
"type": "string"
},
"requiresDownload": {
"type": "boolean"
},
"size": {
"type": "integer"
},
"systemID": {
"type": "string"
},
"systemName": {
"type": "string"
},
"systemOS": {
"type": "string"
},
"tag": {
"type": "string"
},
"tags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"typesCount": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RepoTypeCount"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"count",
"created",
"files",
"hCreated",
"hSize",
"hTagUpdated",
"id",
"memo",
"requiresDownload",
"size",
"systemID",
"systemName",
"systemOS",
"tag",
"tags",
"typesCount"
],
"additionalProperties": false
},
"RepoSnapshotsData": {
"type": "object",
"properties": {
"pageCount": {
"type": "integer"
},
"snapshots": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RepoSnapshot"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"totalCount": {
"type": "integer"
}
},
"required": [
"pageCount",
"snapshots",
"totalCount"
],
"additionalProperties": false
},
"RepoTagsData": {
"type": "object",
"properties": {
"snapshots": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RepoSnapshot"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"snapshots"
],
"additionalProperties": false
},
"RepoTypeCount": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"type": {
"type": "string"
}
},
"required": [
"count",
"type"
],
"additionalProperties": false
},
"ResetGraphData": {
"type": "object",
"properties": {
"conf": {
"$ref": "#/$defs/GlobalGraphConf"
}
},
"required": [
"conf"
],
"additionalProperties": false
},
"ResetLocalGraphData": {
"type": "object",
"properties": {
"conf": {
"$ref": "#/$defs/LocalGraphConf"
}
},
"required": [
"conf"
],
"additionalProperties": false
},
"ResetRiffCardsRequestInput": {
"type": "object",
"properties": {
"blockIDs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"deckID": {
"type": "string"
},
"id": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"deckID",
"id",
"type"
],
"additionalProperties": false
},
"ResetSettingsRequestInput": {
"type": "object",
"properties": {
"exit": {
"type": "boolean"
}
},
"additionalProperties": false
},
"ResolveDocPathRequestInput": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "string"
}
},
"start": {
"$ref": "#/$defs/DocumentPathStartInput"
}
},
"required": [
"notebook",
"segments",
"start"
],
"additionalProperties": false
},
"ResolveDocPathResult": {
"anyOf": [
{
"$ref": "#/$defs/ResolvedDocumentPathData"
},
{
"$ref": "#/$defs/DocumentAddressingFailure"
}
]
},
"ResolvedDocumentPathData": {
"type": "object",
"properties": {
"candidates": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/DocumentPath"
}
},
{
"type": "null"
}
]
},
"candidatesTruncated": {
"type": "boolean"
},
"nameConditions": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/DocumentNameCondition"
}
},
{
"type": "null"
}
]
},
"nextIndex": {
"type": "integer"
},
"resolved": {
"anyOf": [
{
"$ref": "#/$defs/DocumentPath"
},
{
"type": "null"
}
]
},
"start": {
"$ref": "#/$defs/DocumentLocation"
},
"status": {
"type": "string",
"enum": [
"resolved",
"missing",
"ambiguous"
]
}
},
"required": [
"candidates",
"candidatesTruncated",
"nameConditions",
"nextIndex",
"resolved",
"start",
"status"
],
"additionalProperties": false
},
"ReviewRiffCardRequestInput": {
"type": "object",
"properties": {
"cardID": {
"type": "string"
},
"deckID": {
"type": "string"
},
"rating": {
"type": "number"
},
"reviewedCards": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/RiffReviewedCardInput"
}
},
{
"type": "null"
}
]
}
},
"required": [
"cardID",
"deckID",
"rating"
],
"additionalProperties": false
},
"RichClipboardAssetInput": {
"type": "object",
"properties": {
"box": {
"type": "string"
},
"index": {
"type": "integer"
},
"path": {
"type": "string"
}
},
"required": [
"index",
"path"
],
"additionalProperties": false
},
"RichClipboardPrepared": {
"type": "object",
"properties": {
"assets": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/RichClipboardPreparedAsset"
}
},
{
"type": "null"
}
]
},
"batch": {
"type": "string"
},
"groups": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"assets",
"batch",
"groups"
],
"additionalProperties": false
},
"RichClipboardPreparedAsset": {
"type": "object",
"properties": {
"index": {
"type": "integer"
},
"path": {
"type": "string"
}
},
"required": [
"index",
"path"
],
"additionalProperties": false
},
"RiffBlockIDsRequestInput": {
"type": "object",
"properties": {
"blockIDs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"blockIDs"
],
"additionalProperties": false
},
"RiffBlocksData": {
"type": "object",
"properties": {
"blocks": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SearchBlock"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"blocks"
],
"additionalProperties": false
},
"RiffCardDueInput": {
"type": "object",
"properties": {
"due": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"due",
"id"
],
"additionalProperties": false
},
"RiffCardRequestInput": {
"type": "object",
"properties": {
"cardID": {
"type": "string"
},
"deckID": {
"type": "string"
}
},
"required": [
"cardID",
"deckID"
],
"additionalProperties": false
},
"RiffCardsData": {
"type": "object",
"properties": {
"blocks": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SearchBlock"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"pageCount": {
"type": "integer"
},
"total": {
"type": "integer"
}
},
"required": [
"blocks",
"pageCount",
"total"
],
"additionalProperties": false
},
"RiffCardsRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"page": {
"type": "number"
},
"pageSize": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"page"
],
"additionalProperties": false
},
"RiffDeck": {
"type": "object",
"properties": {
"created": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"size": {
"type": "integer"
},
"updated": {
"type": "string"
}
},
"required": [
"created",
"id",
"name",
"size",
"updated"
],
"additionalProperties": false
},
"RiffDeckCardsRequestInput": {
"type": "object",
"properties": {
"blockIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"deckID": {
"type": "string"
}
},
"required": [
"blockIDs",
"deckID"
],
"additionalProperties": false
},
"RiffDeckRequestInput": {
"type": "object",
"properties": {
"deckID": {
"type": "string"
}
},
"required": [
"deckID"
],
"additionalProperties": false
},
"RiffDueCard": {
"type": "object",
"properties": {
"blockID": {
"type": "string"
},
"cardID": {
"type": "string"
},
"deckID": {
"type": "string"
},
"lapses": {
"type": "integer"
},
"lastReview": {
"type": "integer"
},
"nextDues": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"reps": {
"type": "integer"
},
"state": {
"type": "integer"
}
},
"required": [
"blockID",
"cardID",
"deckID",
"lapses",
"lastReview",
"nextDues",
"reps",
"state"
],
"additionalProperties": false
},
"RiffDueCardsData": {
"type": "object",
"properties": {
"cards": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/RiffDueCard"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"unreviewedCount": {
"type": "integer"
},
"unreviewedNewCardCount": {
"type": "integer"
},
"unreviewedOldCardCount": {
"type": "integer"
}
},
"required": [
"cards",
"unreviewedCount",
"unreviewedNewCardCount",
"unreviewedOldCardCount"
],
"additionalProperties": false
},
"RiffDueCardsRequestInput": {
"type": "object",
"properties": {
"deckID": {
"type": "string"
},
"reviewedCards": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/RiffReviewedCardInput"
}
},
{
"type": "null"
}
]
}
},
"required": [
"deckID"
],
"additionalProperties": false
},
"RiffNotebookDueCardsRequestInput": {
"type": "object",
"properties": {
"notebook": {
"type": "string"
},
"reviewedCards": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/RiffReviewedCardInput"
}
},
{
"type": "null"
}
]
}
},
"required": [
"notebook"
],
"additionalProperties": false
},
"RiffReviewedCardInput": {
"type": "object",
"properties": {
"cardID": {
"type": "string"
}
},
"required": [
"cardID"
],
"additionalProperties": false
},
"RiffTreeDueCardsRequestInput": {
"type": "object",
"properties": {
"reviewedCards": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/RiffReviewedCardInput"
}
},
{
"type": "null"
}
]
},
"rootID": {
"type": "string"
}
},
"required": [
"rootID"
],
"additionalProperties": false
},
"RollbackRepoSnapshotFileRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"SQLQueryRequestInput": {
"type": "object",
"properties": {
"mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"stmt": {
"type": "string"
}
},
"required": [
"stmt"
],
"additionalProperties": false
},
"SavePluginPublishDataRequestInput": {
"type": "object",
"properties": {
"data": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "null"
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
},
"packageName": {
"type": "string"
}
},
"required": [
"data",
"packageName"
],
"additionalProperties": false
},
"SaveTemplateRequestInput": {
"type": "object",
"properties": {
"databaseMode": {
"type": "string"
},
"directory": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"overwrite": {
"type": "boolean"
}
},
"required": [
"id",
"name",
"overwrite"
],
"additionalProperties": false
},
"SearchAsset": {
"type": "object",
"properties": {
"hName": {
"type": "string"
},
"path": {
"type": "string"
},
"updated": {
"type": "integer"
}
},
"required": [
"hName",
"path",
"updated"
],
"additionalProperties": false
},
"SearchAssetContentData": {
"type": "object",
"properties": {
"assetContents": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AssetContent"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"matchedAssetCount": {
"type": "integer"
},
"pageCount": {
"type": "integer"
}
},
"required": [
"assetContents",
"matchedAssetCount",
"pageCount"
],
"additionalProperties": false
},
"SearchAssetContentRequestInput": {
"type": "object",
"properties": {
"method": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"orderBy": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"page": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pageSize": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"types": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SearchAssetMatchInput": {
"type": "object",
"properties": {
"field": {
"enum": [
"name",
"path"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mode": {
"type": "string",
"enum": [
"prefix",
"suffix",
"regex"
]
},
"value": {
"type": "string"
}
},
"required": [
"mode",
"value"
],
"additionalProperties": false
},
"SearchAssetRequestInput": {
"type": "object",
"properties": {
"exts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"includeMetadata": {
"type": "boolean"
},
"k": {
"type": "string"
},
"match": {
"anyOf": [
{
"$ref": "#/$defs/SearchAssetMatchInput"
},
{
"type": "null"
}
]
},
"page": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"pageSize": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"k"
],
"additionalProperties": false
},
"SearchAttributeViewRelationKeyRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"keyword": {
"type": "string"
}
},
"required": [
"avID",
"keyword"
],
"additionalProperties": false
},
"SearchAttributeViewRequestInput": {
"type": "object",
"properties": {
"avID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"blockID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"excludes": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"includeViewMatches": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"keyword": {
"type": "string"
}
},
"required": [
"keyword"
],
"additionalProperties": false
},
"SearchAttributeViewRollupDestKeysRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"keyword": {
"type": "string"
}
},
"required": [
"avID",
"keyword"
],
"additionalProperties": false
},
"SearchBlock": {
"type": "object",
"properties": {
"alias": {
"type": "string"
},
"box": {
"type": "string"
},
"children": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SearchBlock"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"content": {
"type": "string"
},
"count": {
"type": "integer"
},
"created": {
"type": "string"
},
"defID": {
"type": "string"
},
"defPath": {
"type": "string"
},
"depth": {
"type": "integer"
},
"fcontent": {
"type": "string"
},
"folded": {
"type": "boolean"
},
"hPath": {
"type": "string"
},
"ial": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"markdown": {
"type": "string"
},
"memo": {
"type": "string"
},
"name": {
"type": "string"
},
"number": {
"type": "string"
},
"parentID": {
"type": "string"
},
"path": {
"type": "string"
},
"refCount": {
"type": "integer"
},
"refText": {
"type": "string"
},
"refs": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SearchBlock"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"riffCard": {
"anyOf": [
{
"$ref": "#/$defs/SearchBlockCard"
},
{
"type": "null"
}
]
},
"riffCardID": {
"type": "string"
},
"rootID": {
"type": "string"
},
"sort": {
"type": "integer"
},
"subType": {
"type": "string"
},
"tag": {
"type": "string"
},
"type": {
"type": "string"
},
"updated": {
"type": "string"
}
},
"required": [
"alias",
"box",
"children",
"content",
"count",
"created",
"defID",
"defPath",
"depth",
"fcontent",
"folded",
"hPath",
"ial",
"id",
"markdown",
"memo",
"name",
"parentID",
"path",
"refCount",
"refText",
"refs",
"riffCard",
"riffCardID",
"rootID",
"sort",
"subType",
"tag",
"type",
"updated"
],
"additionalProperties": false
},
"SearchBlockCard": {
"type": "object",
"properties": {
"due": {
"type": "string"
},
"lapses": {
"type": "integer"
},
"lastReview": {
"type": "string"
},
"reps": {
"type": "integer"
},
"state": {
"type": "integer"
}
},
"required": [
"due",
"lapses",
"lastReview",
"reps",
"state"
],
"additionalProperties": false
},
"SearchBlockRequestInput": {
"type": "object",
"properties": {
"groupBy": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"method": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"orderBy": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"page": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pageSize": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"paths": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"subTypes": {
"anyOf": [
{
"$ref": "#/$defs/SearchSubtypeFilterInput"
},
{
"type": "null"
}
]
},
"types": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SearchBlocksData": {
"type": "object",
"properties": {
"blocks": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SearchBlock"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"matchedBlockCount": {
"type": "integer"
},
"matchedRootCount": {
"type": "integer"
},
"pageCount": {
"type": "integer"
}
},
"required": [
"blocks",
"matchedBlockCount",
"matchedRootCount",
"pageCount"
],
"additionalProperties": false
},
"SearchEmbedBlockRequestInput": {
"type": "object",
"properties": {
"breadcrumb": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"embedBlockID": {
"type": "string"
},
"excludeIDs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"headingMode": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"stmt": {
"type": "string"
}
},
"required": [
"embedBlockID",
"excludeIDs",
"stmt"
],
"additionalProperties": false
},
"SearchHeadingFilterInput": {
"type": "object",
"properties": {
"h1": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"h2": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"h3": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"h4": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"h5": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"h6": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SearchHistoryData": {
"type": "object",
"properties": {
"histories": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"pageCount": {
"type": "integer"
},
"totalCount": {
"type": "integer"
}
},
"required": [
"histories",
"pageCount",
"totalCount"
],
"additionalProperties": false
},
"SearchHistoryRequestInput": {
"type": "object",
"properties": {
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"op": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"page": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"type": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SearchKeywordRequestInput": {
"type": "object",
"properties": {
"k": {
"type": "string"
}
},
"required": [
"k"
],
"additionalProperties": false
},
"SearchListFilterInput": {
"type": "object",
"properties": {
"o": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"t": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"u": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SearchPageRequestInput": {
"type": "object",
"properties": {
"page": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pageSize": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SearchPath": {
"type": "object",
"properties": {
"blocks": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SearchBlock"
},
{
"type": "null"
}
]
}
},
"box": {
"type": "string"
},
"children": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SearchPath"
},
{
"type": "null"
}
]
}
},
"count": {
"type": "integer"
},
"created": {
"type": "string"
},
"depth": {
"type": "integer"
},
"folded": {
"type": "boolean"
},
"hPath": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"nameIsHTML": {
"type": "boolean"
},
"nodeType": {
"type": "string"
},
"number": {
"type": "string"
},
"subType": {
"type": "string"
},
"type": {
"type": "string"
},
"updated": {
"type": "string"
}
},
"required": [
"box",
"count",
"created",
"depth",
"folded",
"hPath",
"id",
"name",
"nodeType",
"subType",
"type",
"updated"
],
"additionalProperties": false
},
"SearchPathRequestInput": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
},
"SearchRefBlockRequestInput": {
"type": "object",
"properties": {
"beforeLen": {
"type": "number"
},
"exactDocTitle": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isDatabase": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"isSquareBrackets": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"k": {
"type": "string"
},
"notebook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reqId": {
"anyOf": [
{
"$ref": "#/$defs/JSONValue"
},
{
"type": "null"
}
]
},
"rootID": {
"type": "string"
}
},
"additionalProperties": false
},
"SearchRefCorrelation": {
"type": "object",
"properties": {
"reqId": {
"$ref": "#/$defs/JSONValue"
}
},
"required": [
"reqId"
],
"additionalProperties": false
},
"SearchRefResult": {
"type": "object",
"properties": {
"blocks": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SearchBlock"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"k": {
"type": "string"
},
"newDoc": {
"type": "boolean"
},
"reqId": {
"$ref": "#/$defs/JSONValue"
}
},
"required": [
"blocks",
"k",
"newDoc",
"reqId"
],
"additionalProperties": false
},
"SearchRepoFileRequestInput": {
"type": "object",
"properties": {
"keyword": {
"type": "string"
},
"page": {
"type": "number"
}
},
"required": [
"keyword",
"page"
],
"additionalProperties": false
},
"SearchSubTypes": {
"type": "object",
"properties": {
"heading": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
},
"list": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
},
"listItem": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
}
},
"required": [
"heading",
"list",
"listItem"
],
"additionalProperties": false
},
"SearchSubTypesInput": {
"type": "object",
"properties": {
"heading": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
},
"list": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
},
"listItem": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SearchSubtypeFilterInput": {
"type": "object",
"properties": {
"heading": {
"anyOf": [
{
"$ref": "#/$defs/SearchHeadingFilterInput"
},
{
"type": "null"
}
]
},
"list": {
"anyOf": [
{
"$ref": "#/$defs/SearchListFilterInput"
},
{
"type": "null"
}
]
},
"listItem": {
"anyOf": [
{
"$ref": "#/$defs/SearchListFilterInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SearchTagData": {
"type": "object",
"properties": {
"k": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"k",
"tags"
],
"additionalProperties": false
},
"SearchTagRequestInput": {
"type": "object",
"properties": {
"k": {
"type": "string"
}
},
"required": [
"k"
],
"additionalProperties": false
},
"SearchTemplateData": {
"type": "object",
"properties": {
"k": {
"type": "string"
},
"templates": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SearchTemplateResult"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"k",
"templates"
],
"additionalProperties": false
},
"SearchTemplateResult": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"path": {
"type": "string"
},
"relativePath": {
"type": "string"
}
},
"required": [
"content",
"path",
"relativePath"
],
"additionalProperties": false
},
"SearchWidgetData": {
"type": "object",
"properties": {
"k": {
"type": "string"
},
"widgets": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SearchWidgetResult"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"k",
"widgets"
],
"additionalProperties": false
},
"SearchWidgetResult": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"content",
"name"
],
"additionalProperties": false
},
"SetAIRequestInput": {
"type": "object",
"properties": {
"agent": {
"anyOf": [
{
"$ref": "#/$defs/SettingAgentInput"
},
{
"type": "null"
}
]
},
"decision": {
"anyOf": [
{
"$ref": "#/$defs/SettingDecisionInput"
},
{
"type": "null"
}
]
},
"editing": {
"anyOf": [
{
"$ref": "#/$defs/SettingEditingInput"
},
{
"type": "null"
}
]
},
"embedding": {
"anyOf": [
{
"$ref": "#/$defs/SettingEmbeddingInput"
},
{
"type": "null"
}
]
},
"imageGeneration": {
"anyOf": [
{
"$ref": "#/$defs/SettingImageGenerationInput"
},
{
"type": "null"
}
]
},
"mcp": {
"anyOf": [
{
"$ref": "#/$defs/SettingMCPInput"
},
{
"type": "null"
}
]
},
"providers": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingProviderInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"rerank": {
"anyOf": [
{
"$ref": "#/$defs/SettingRerankInput"
},
{
"type": "null"
}
]
},
"web": {
"anyOf": [
{
"$ref": "#/$defs/SettingAIWebInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SetAppearanceRequestInput": {
"type": "object",
"properties": {
"bodyGradient": {
"anyOf": [
{
"$ref": "#/$defs/SettingBodyGradientInput"
},
{
"type": "null"
}
]
},
"closeButtonBehavior": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"codeBlockThemeDark": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"codeBlockThemeLight": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"compactMode": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"darkThemes": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingAppearanceThemeInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"entryVisibility": {
"anyOf": [
{
"$ref": "#/$defs/SettingEntryVisibilityInput"
},
{
"type": "null"
}
]
},
"globalFontFamilies": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingEditorFontInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"hideStatusBar": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"hideToolbar": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"icon": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"iconVer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"icons": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingAppearanceIconInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"lang": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lightThemes": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingAppearanceThemeInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"lockScreenWallpaper": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"menuMouseScroll": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mobileBars": {
"anyOf": [
{
"$ref": "#/$defs/SettingMobileBarsInput"
},
{
"type": "null"
}
]
},
"mode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"modeOS": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"notifications": {
"anyOf": [
{
"$ref": "#/$defs/SettingNotificationsInput"
},
{
"type": "null"
}
]
},
"outlineKeepCurrentExpand": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"pdfTheme": {
"anyOf": [
{
"$ref": "#/$defs/SettingPDFThemeInput"
},
{
"type": "null"
}
]
},
"statusBar": {
"anyOf": [
{
"$ref": "#/$defs/SettingStatusBarInput"
},
{
"type": "null"
}
]
},
"themeDark": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"themeJS": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"themeLight": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"themeVer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SetAssetAnnotationRequestInput": {
"type": "object",
"properties": {
"baseData": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"data": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"data",
"path"
],
"additionalProperties": false
},
"SetAssetOCRTextRequestInput": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"path",
"text"
],
"additionalProperties": false
},
"SetAttrViewContextFilterRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"keyID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"avID",
"blockID"
],
"additionalProperties": false
},
"SetAttrViewFiltersRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewFilterInput"
},
{
"type": "null"
}
]
}
}
},
"required": [
"avID",
"blockID",
"data"
],
"additionalProperties": false
},
"SetAttrViewGroupRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"group": {
"$ref": "#/$defs/AVViewGroupInput"
},
"ignoreRows": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"avID",
"blockID",
"group"
],
"additionalProperties": false
},
"SetAttrViewSortsRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"blockID": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/AVViewSortInput"
},
{
"type": "null"
}
]
}
}
},
"required": [
"avID",
"blockID",
"data"
],
"additionalProperties": false
},
"SetAttributeViewBlockAttrRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"itemID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keyID": {
"type": "string"
},
"rowID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"value": {
"$ref": "#/$defs/AVValueInput"
}
},
"required": [
"avID",
"keyID",
"value"
],
"additionalProperties": false
},
"SetBazaarPackageRatingRequestInput": {
"type": "object",
"properties": {
"packageName": {
"type": "string"
},
"packageType": {
"type": "string"
},
"rating": {
"type": "number"
}
},
"required": [
"packageName",
"packageType",
"rating"
],
"additionalProperties": false
},
"SetBazaarRequestInput": {
"type": "object",
"properties": {
"petalDisabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"trust": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SetBlockAttrsRequestInput": {
"type": "object",
"properties": {
"attrs": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"id": {
"type": "string"
}
},
"required": [
"attrs",
"id"
],
"additionalProperties": false
},
"SetConfSnippetRequestInput": {
"type": "object",
"properties": {
"enabledCSS": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"enabledJS": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SetCriterionRequestInput": {
"type": "object",
"properties": {
"criterion": {
"anyOf": [
{
"$ref": "#/$defs/CriterionInput"
},
{
"type": "null"
}
]
}
},
"required": [
"criterion"
],
"additionalProperties": false
},
"SetDatabaseBlockViewRequestInput": {
"type": "object",
"properties": {
"avID": {
"type": "string"
},
"id": {
"type": "string"
},
"viewID": {
"type": "string"
}
},
"required": [
"avID",
"id",
"viewID"
],
"additionalProperties": false
},
"SetEditorRequestInput": {
"type": "object",
"properties": {
"allowHTMLBLockScript": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"allowSVGScript": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"assetOpen": {
"anyOf": [
{
"$ref": "#/$defs/SettingAssetOpenInput"
},
{
"type": "null"
}
]
},
"autoCloseRefBrackets": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"autoDirection": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkBlockSort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"backlinkContainChildren": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkExpandCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"backlinkGlobalSort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"backlinkHideReference": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkMentionExclude": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"backlinkShowBottom": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkSort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"backmentionExpandCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"backmentionSort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"blockGutterMode": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"blockRefDynamicAnchorTextMaxLen": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"checkBlockRef": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeFontFamilies": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingEditorFontInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"codeLigatures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeLineWrap": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeSyntaxHighlightLineNum": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeTabSpaces": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"cursorSurroundingLines": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"databaseAttrClickMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"databaseAttrHideEmpty": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"databaseAttrLayout": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"databaseAttrShow": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"databaseAttrUseTabs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"databaseAttrViewMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"displayBookmarkIcon": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"displayImgAlt": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"displayImgName": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"displayNetImgMark": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"dragHTMLFileToIframe": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"dynamicLoadBlocks": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"embedBlockBreadcrumb": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"embedBlockBreadcrumbParentPath": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"emoji": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"floatWindowDelay": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"floatWindowMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"fontFamilies": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingEditorFontInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fontFamily": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"fontFamilyDisplay": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"fontSize": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"fontSizeScrollZoom": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"fontWeight": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"fullWidth": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"generateHistoryInterval": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"hashTagSearch": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"headingEmbedMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"headingNumber": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"headingNumberFormat": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"historyRetentionDays": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"justify": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"katexMacros": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keepLoadedContent": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"listItemDotNumberClickFocus": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"listLogicalOutdent": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"markdown": {
"anyOf": [
{
"$ref": "#/$defs/SettingMarkdownInput"
},
{
"type": "null"
}
]
},
"mathDelimiterCompatibility": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"onlySearchForDoc": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"pageScrollButtons": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"pasteURLAutoConvert": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"plantUMLServePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"readOnly": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"rtl": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"spellcheck": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"spellcheckLanguages": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"virtualBlockRef": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"virtualBlockRefExclude": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"virtualBlockRefInclude": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SetEntryVisibilityRequestInput": {
"type": "object",
"properties": {
"active": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profiles": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingEntryVisibilityProfileInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"version": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SetExportRequestInput": {
"type": "object",
"properties": {
"addTitle": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"blockEmbedMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"blockRefMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"blockRefTextLeft": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"blockRefTextRight": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"fileAnnotationRefMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"imageWatermarkDesc": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageWatermarkStr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"includeRelatedDocs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"includeSubDocs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineMemo": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"markdownYFM": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"pandocBin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pandocParams": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"paragraphBeginningSpace": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"pdfFooter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pdfWatermarkDesc": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pdfWatermarkStr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"removeAssetsID": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tagCloseMarker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tagOpenMarker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SetFiletreeRequestInput": {
"type": "object",
"properties": {
"allowCreateDeeper": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"alwaysSelectOpenedFile": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"boxDocEnabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"closeTabOnDoubleClick": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"closeTabsOnStart": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"closeWindowOnLastTabClosed": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"createDocAtTop": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"docCreateSaveBox": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"docCreateSavePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"docCreateTemplatePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"docIconClickMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"largeFileWarningSize": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"maxListCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"maxOpenTabCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"noSplitScreenWhenOpenTab": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"openFilesUseCurrentTab": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"parentDocTitleClickMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"recentDocsMaxListCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"recentDocsSort": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"refCreateSaveBox": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"refCreateSavePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"removeDocWithoutConfirm": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"shorthandSaveBox": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"shorthandSavePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"tabStartupMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"useSVGDefaultIcon": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"useSingleLineSave": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SetFlashcardRequestInput": {
"type": "object",
"properties": {
"blockquote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"callout": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"deck": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"heading": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"list": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mark": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"maximumInterval": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"newCardLimit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"requestRetention": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"reviewCardLimit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"reviewMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"superBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"weights": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SetGraphConfRequestInput": {
"type": "object",
"properties": {
"conf": {
"$ref": "#/$defs/GraphConfigurationFieldsInput"
},
"type": {
"type": "string"
}
},
"required": [
"conf",
"type"
],
"additionalProperties": false
},
"SetInlineStylesRequestInput": {
"type": "object",
"properties": {
"app": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"av": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleAVInput"
},
{
"type": "null"
}
]
},
"builtin": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleBuiltinInput"
},
{
"type": "null"
}
]
},
"order": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleOrderInput"
},
{
"type": "null"
}
]
},
"styles": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/InlineStyleInput"
},
{
"type": "null"
}
]
}
},
"version": {
"type": "number"
}
},
"required": [
"styles",
"version"
],
"additionalProperties": false
},
"SetNotebookConfRequestInput": {
"type": "object",
"properties": {
"conf": {
"anyOf": [
{
"$ref": "#/$defs/NotebookConfPatchInput"
},
{
"type": "null"
}
]
},
"notebook": {
"type": "string"
}
},
"required": [
"notebook"
],
"additionalProperties": false
},
"SetNotebookIconRequestInput": {
"type": "object",
"properties": {
"icon": {
"type": "string"
},
"notebook": {
"type": "string"
}
},
"required": [
"icon",
"notebook"
],
"additionalProperties": false
},
"SetPetalEnabledRequestInput": {
"type": "object",
"properties": {
"app": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enabled": {
"type": "boolean"
},
"packageName": {
"type": "string"
}
},
"required": [
"enabled",
"packageName"
],
"additionalProperties": false
},
"SetPetalPublishEnabledRequestInput": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"packageName": {
"type": "string"
}
},
"required": [
"enabled",
"packageName"
],
"additionalProperties": false
},
"SetPluginPublishDataGrantRequestInput": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"packageName": {
"type": "string"
}
},
"required": [
"enabled",
"fields",
"packageName"
],
"additionalProperties": false
},
"SetPublishRequestInput": {
"type": "object",
"properties": {
"auth": {
"anyOf": [
{
"$ref": "#/$defs/SettingBasicAuthInput"
},
{
"type": "null"
}
]
},
"enable": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"port": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SetRepoIndexRetentionDaysRequestInput": {
"type": "object",
"properties": {
"days": {
"type": "number"
}
},
"required": [
"days"
],
"additionalProperties": false
},
"SetRetentionIndexesDailyRequestInput": {
"type": "object",
"properties": {
"indexes": {
"type": "number"
}
},
"required": [
"indexes"
],
"additionalProperties": false
},
"SetRiffCardsDueRequestInput": {
"type": "object",
"properties": {
"cardDues": {
"type": "array",
"items": {
"$ref": "#/$defs/RiffCardDueInput"
}
}
},
"required": [
"cardDues"
],
"additionalProperties": false
},
"SetSearchRequestInput": {
"type": "object",
"properties": {
"alias": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"audioBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkMentionAlias": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkMentionAnchor": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkMentionDoc": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkMentionKeywordsLimit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"backlinkMentionName": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"blockquote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"callout": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"caseSensitive": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"customBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"databaseBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"document": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"embedBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"hanSensitive": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"heading": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"htmlBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"ial": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"iframeBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"indexAssetPath": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"list": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"listItem": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mathBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"memo": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mindmap": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mindmapItem": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"paragraph": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"superBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tabItem": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"table": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tabs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"videoBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"virtualRefAlias": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"virtualRefAnchor": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"virtualRefDoc": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"virtualRefName": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"widgetBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SetSecretsRequestInput": {
"type": "object",
"properties": {
"items": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingSecretInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SetSnapshotMemoRequestInput": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"memo": {
"type": "string"
}
},
"required": [
"id",
"memo"
],
"additionalProperties": false
},
"SetSnippetRequestInput": {
"type": "object",
"properties": {
"revision": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"snippets": {
"type": "array",
"items": {
"$ref": "#/$defs/SnippetInput"
}
}
},
"required": [
"snippets"
],
"additionalProperties": false
},
"SetSyncLocalRequestInput": {
"type": "object",
"properties": {
"local": {
"$ref": "#/$defs/SyncLocalInput"
}
},
"required": [
"local"
],
"additionalProperties": false
},
"SetSyncS3RequestInput": {
"type": "object",
"properties": {
"s3": {
"$ref": "#/$defs/SyncS3Input"
}
},
"required": [
"s3"
],
"additionalProperties": false
},
"SetSyncWebDAVRequestInput": {
"type": "object",
"properties": {
"webdav": {
"$ref": "#/$defs/SyncWebDAVInput"
}
},
"required": [
"webdav"
],
"additionalProperties": false
},
"SetVariablesRequestInput": {
"type": "object",
"properties": {
"items": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingVariableInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingAI": {
"type": "object",
"properties": {
"agent": {
"anyOf": [
{
"$ref": "#/$defs/SettingAgent"
},
{
"type": "null"
}
]
},
"decision": {
"anyOf": [
{
"$ref": "#/$defs/SettingDecision"
},
{
"type": "null"
}
]
},
"editing": {
"anyOf": [
{
"$ref": "#/$defs/SettingEditing"
},
{
"type": "null"
}
]
},
"embedding": {
"anyOf": [
{
"$ref": "#/$defs/SettingEmbedding"
},
{
"type": "null"
}
]
},
"imageGeneration": {
"anyOf": [
{
"$ref": "#/$defs/SettingImageGeneration"
},
{
"type": "null"
}
]
},
"mcp": {
"anyOf": [
{
"$ref": "#/$defs/SettingMCP"
},
{
"type": "null"
}
]
},
"providers": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingProvider"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"rerank": {
"anyOf": [
{
"$ref": "#/$defs/SettingRerank"
},
{
"type": "null"
}
]
},
"web": {
"anyOf": [
{
"$ref": "#/$defs/SettingAIWeb"
},
{
"type": "null"
}
]
}
},
"required": [
"agent",
"decision",
"editing",
"embedding",
"imageGeneration",
"mcp",
"providers",
"rerank",
"web"
],
"additionalProperties": false
},
"SettingAIInput": {
"type": "object",
"properties": {
"agent": {
"anyOf": [
{
"$ref": "#/$defs/SettingAgentInput"
},
{
"type": "null"
}
]
},
"decision": {
"anyOf": [
{
"$ref": "#/$defs/SettingDecisionInput"
},
{
"type": "null"
}
]
},
"editing": {
"anyOf": [
{
"$ref": "#/$defs/SettingEditingInput"
},
{
"type": "null"
}
]
},
"embedding": {
"anyOf": [
{
"$ref": "#/$defs/SettingEmbeddingInput"
},
{
"type": "null"
}
]
},
"imageGeneration": {
"anyOf": [
{
"$ref": "#/$defs/SettingImageGenerationInput"
},
{
"type": "null"
}
]
},
"mcp": {
"anyOf": [
{
"$ref": "#/$defs/SettingMCPInput"
},
{
"type": "null"
}
]
},
"providers": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingProviderInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"rerank": {
"anyOf": [
{
"$ref": "#/$defs/SettingRerankInput"
},
{
"type": "null"
}
]
},
"web": {
"anyOf": [
{
"$ref": "#/$defs/SettingAIWebInput"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingAIWeb": {
"type": "object",
"properties": {
"apiKey": {
"type": "string"
},
"fetchProvider": {
"type": "string"
},
"searchProvider": {
"type": "string"
},
"timeout": {
"type": "integer"
}
},
"required": [
"apiKey",
"fetchProvider",
"searchProvider",
"timeout"
],
"additionalProperties": false
},
"SettingAIWebInput": {
"type": "object",
"properties": {
"apiKey": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"fetchProvider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"searchProvider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeout": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingAgent": {
"type": "object",
"properties": {
"approvalPolicy": {
"anyOf": [
{
"$ref": "#/$defs/SettingApprovalPolicy"
},
{
"type": "null"
}
]
},
"capabilityPolicy": {
"anyOf": [
{
"$ref": "#/$defs/SettingCapabilityPolicy"
},
{
"type": "null"
}
]
},
"confirmTimeout": {
"type": "integer"
},
"maxCompletionTokens": {
"type": "integer"
},
"maxRetries": {
"type": "integer"
},
"maxToolCallRounds": {
"type": "integer"
},
"modelId": {
"type": "string"
},
"sessionTimeout": {
"type": "integer"
},
"skills": {
"anyOf": [
{
"$ref": "#/$defs/SettingAgentSkills"
},
{
"type": "null"
}
]
},
"streamIdleTimeout": {
"type": "integer"
},
"streamingMarkdown": {
"type": "boolean"
},
"temperature": {
"type": "number"
}
},
"required": [
"approvalPolicy",
"capabilityPolicy",
"confirmTimeout",
"maxCompletionTokens",
"maxRetries",
"maxToolCallRounds",
"modelId",
"sessionTimeout",
"skills",
"streamIdleTimeout",
"streamingMarkdown",
"temperature"
],
"additionalProperties": false
},
"SettingAgentInput": {
"type": "object",
"properties": {
"approvalPolicy": {
"anyOf": [
{
"$ref": "#/$defs/SettingApprovalPolicyInput"
},
{
"type": "null"
}
]
},
"capabilityPolicy": {
"anyOf": [
{
"$ref": "#/$defs/SettingCapabilityPolicyInput"
},
{
"type": "null"
}
]
},
"confirmTimeout": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"maxCompletionTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"maxRetries": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"maxToolCallRounds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"modelId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sessionTimeout": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"skills": {
"anyOf": [
{
"$ref": "#/$defs/SettingAgentSkillsInput"
},
{
"type": "null"
}
]
},
"streamIdleTimeout": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"streamingMarkdown": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"temperature": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingAgentSkills": {
"type": "object",
"properties": {
"builtinDisabled": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"userEnabled": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"builtinDisabled",
"userEnabled"
],
"additionalProperties": false
},
"SettingAgentSkillsInput": {
"type": "object",
"properties": {
"builtinDisabled": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"userEnabled": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingAppearance": {
"type": "object",
"properties": {
"bodyGradient": {
"anyOf": [
{
"$ref": "#/$defs/SettingBodyGradient"
},
{
"type": "null"
}
]
},
"closeButtonBehavior": {
"type": "integer"
},
"codeBlockThemeDark": {
"type": "string"
},
"codeBlockThemeLight": {
"type": "string"
},
"compactMode": {
"type": "boolean"
},
"darkThemes": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingAppearanceTheme"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"entryVisibility": {
"anyOf": [
{
"$ref": "#/$defs/SettingEntryVisibility"
},
{
"type": "null"
}
]
},
"globalFontFamilies": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingEditorFont"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"hideStatusBar": {
"type": "boolean"
},
"hideToolbar": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"iconVer": {
"type": "string"
},
"icons": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingAppearanceIcon"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"lang": {
"type": "string"
},
"lightThemes": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingAppearanceTheme"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"lockScreenWallpaper": {
"type": "boolean"
},
"menuMouseScroll": {
"type": "boolean"
},
"mobileBars": {
"anyOf": [
{
"$ref": "#/$defs/SettingMobileBars"
},
{
"type": "null"
}
]
},
"mode": {
"type": "integer"
},
"modeOS": {
"type": "boolean"
},
"notifications": {
"anyOf": [
{
"$ref": "#/$defs/SettingNotifications"
},
{
"type": "null"
}
]
},
"outlineKeepCurrentExpand": {
"type": "boolean"
},
"pdfTheme": {
"anyOf": [
{
"$ref": "#/$defs/SettingPDFTheme"
},
{
"type": "null"
}
]
},
"statusBar": {
"anyOf": [
{
"$ref": "#/$defs/SettingStatusBar"
},
{
"type": "null"
}
]
},
"themeDark": {
"type": "string"
},
"themeJS": {
"type": "boolean"
},
"themeLight": {
"type": "string"
},
"themeVer": {
"type": "string"
}
},
"required": [
"bodyGradient",
"closeButtonBehavior",
"codeBlockThemeDark",
"codeBlockThemeLight",
"compactMode",
"darkThemes",
"entryVisibility",
"globalFontFamilies",
"hideStatusBar",
"hideToolbar",
"icon",
"iconVer",
"icons",
"lang",
"lightThemes",
"lockScreenWallpaper",
"menuMouseScroll",
"mobileBars",
"mode",
"modeOS",
"notifications",
"outlineKeepCurrentExpand",
"pdfTheme",
"statusBar",
"themeDark",
"themeJS",
"themeLight",
"themeVer"
],
"additionalProperties": false
},
"SettingAppearanceIcon": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"label",
"name"
],
"additionalProperties": false
},
"SettingAppearanceIconInput": {
"type": "object",
"properties": {
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingAppearanceInput": {
"type": "object",
"properties": {
"bodyGradient": {
"anyOf": [
{
"$ref": "#/$defs/SettingBodyGradientInput"
},
{
"type": "null"
}
]
},
"closeButtonBehavior": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"codeBlockThemeDark": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"codeBlockThemeLight": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"compactMode": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"darkThemes": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingAppearanceThemeInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"entryVisibility": {
"anyOf": [
{
"$ref": "#/$defs/SettingEntryVisibilityInput"
},
{
"type": "null"
}
]
},
"globalFontFamilies": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingEditorFontInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"hideStatusBar": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"hideToolbar": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"icon": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"iconVer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"icons": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingAppearanceIconInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"lang": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lightThemes": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingAppearanceThemeInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"lockScreenWallpaper": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"menuMouseScroll": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mobileBars": {
"anyOf": [
{
"$ref": "#/$defs/SettingMobileBarsInput"
},
{
"type": "null"
}
]
},
"mode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"modeOS": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"notifications": {
"anyOf": [
{
"$ref": "#/$defs/SettingNotificationsInput"
},
{
"type": "null"
}
]
},
"outlineKeepCurrentExpand": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"pdfTheme": {
"anyOf": [
{
"$ref": "#/$defs/SettingPDFThemeInput"
},
{
"type": "null"
}
]
},
"statusBar": {
"anyOf": [
{
"$ref": "#/$defs/SettingStatusBarInput"
},
{
"type": "null"
}
]
},
"themeDark": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"themeJS": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"themeLight": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"themeVer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingAppearanceTheme": {
"type": "object",
"properties": {
"frontends": {
"type": "array",
"items": {
"type": "string"
}
},
"label": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"label",
"name"
],
"additionalProperties": false
},
"SettingAppearanceThemeInput": {
"type": "object",
"properties": {
"frontends": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingApprovalPolicy": {
"type": "object",
"properties": {
"default": {
"type": "string"
},
"overrides": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SettingCapabilityApproval"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"default",
"overrides"
],
"additionalProperties": false
},
"SettingApprovalPolicyInput": {
"type": "object",
"properties": {
"default": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"overrides": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SettingCapabilityApprovalInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingAssetOpen": {
"type": "object",
"properties": {
"altClick": {
"type": "string"
},
"click": {
"type": "string"
},
"ctrlClick": {
"type": "string"
},
"shiftClick": {
"type": "string"
}
},
"required": [
"altClick",
"click",
"ctrlClick",
"shiftClick"
],
"additionalProperties": false
},
"SettingAssetOpenInput": {
"type": "object",
"properties": {
"altClick": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"click": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ctrlClick": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"shiftClick": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingBasicAuth": {
"type": "object",
"properties": {
"accounts": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingBasicAuthAccount"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"enable": {
"type": "boolean"
}
},
"required": [
"accounts",
"enable"
],
"additionalProperties": false
},
"SettingBasicAuthAccount": {
"type": "object",
"properties": {
"memo": {
"type": "string"
},
"password": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"memo",
"password",
"username"
],
"additionalProperties": false
},
"SettingBasicAuthAccountInput": {
"type": "object",
"properties": {
"memo": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"password": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"username": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingBasicAuthInput": {
"type": "object",
"properties": {
"accounts": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingBasicAuthAccountInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"enable": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingBazaar": {
"type": "object",
"properties": {
"petalDisabled": {
"type": "boolean"
},
"trust": {
"type": "boolean"
}
},
"required": [
"petalDisabled",
"trust"
],
"additionalProperties": false
},
"SettingBazaarInput": {
"type": "object",
"properties": {
"petalDisabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"trust": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingBodyGradient": {
"type": "object",
"properties": {
"dark": {
"$ref": "#/$defs/SettingBodyGradientColor"
},
"light": {
"$ref": "#/$defs/SettingBodyGradientColor"
},
"mode": {
"type": "string"
}
},
"required": [
"dark",
"light",
"mode"
],
"additionalProperties": false
},
"SettingBodyGradientColor": {
"type": "object",
"properties": {
"color": {
"type": "string"
},
"opacity": {
"type": "number"
}
},
"required": [
"color",
"opacity"
],
"additionalProperties": false
},
"SettingBodyGradientColorInput": {
"type": "object",
"properties": {
"color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"opacity": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingBodyGradientInput": {
"type": "object",
"properties": {
"dark": {
"anyOf": [
{
"$ref": "#/$defs/SettingBodyGradientColorInput"
},
{
"type": "null"
}
]
},
"light": {
"anyOf": [
{
"$ref": "#/$defs/SettingBodyGradientColorInput"
},
{
"type": "null"
}
]
},
"mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingBootAppearance": {
"type": "object",
"properties": {
"appearance": {
"type": "string"
},
"backgroundColor": {
"type": "string"
},
"displayName": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"frontends": {
"type": "array",
"items": {
"type": "string"
}
},
"layers": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingBootAppearanceLayer"
},
{
"type": "null"
}
]
}
},
"officialUI": {
"$ref": "#/$defs/SettingBootAppearanceOfficialUI"
},
"provider": {
"type": "string"
},
"style": {
"type": "string"
}
},
"required": [
"enabled"
],
"additionalProperties": false
},
"SettingBootAppearanceCurrent": {
"type": "object",
"properties": {
"appearance": {
"type": "string"
},
"provider": {
"type": "string"
}
},
"required": [
"appearance",
"provider"
],
"additionalProperties": false
},
"SettingBootAppearanceLayer": {
"type": "object",
"properties": {
"fit": {
"type": "string"
},
"id": {
"type": "string"
},
"position": {
"type": "string"
},
"poster": {
"type": "string"
},
"src": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"src",
"type"
],
"additionalProperties": false
},
"SettingBootAppearanceOfficialUI": {
"type": "object",
"properties": {
"progressColor": {
"type": "string"
},
"showDetails": {
"type": "boolean"
},
"showLogo": {
"type": "boolean"
},
"textColor": {
"type": "string"
},
"trackColor": {
"type": "string"
}
},
"required": [
"showDetails",
"showLogo"
],
"additionalProperties": false
},
"SettingBootAppearanceRequestInput": {
"type": "object",
"properties": {
"appearance": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingBootAppearanceSelection": {
"type": "object",
"properties": {
"appearance": {
"type": "string"
},
"provider": {
"type": "string"
},
"schemaVersion": {
"type": "integer"
}
},
"required": [
"appearance",
"provider",
"schemaVersion"
],
"additionalProperties": false
},
"SettingBootAppearancesData": {
"type": "object",
"properties": {
"appearances": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingBootAppearance"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"current": {
"$ref": "#/$defs/SettingBootAppearanceCurrent"
}
},
"required": [
"appearances",
"current"
],
"additionalProperties": false
},
"SettingCapabilityApproval": {
"type": "object",
"properties": {
"actions": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"default": {
"type": "string"
}
},
"required": [
"actions",
"default"
],
"additionalProperties": false
},
"SettingCapabilityApprovalInput": {
"type": "object",
"properties": {
"actions": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"default": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingCapabilityPolicy": {
"type": "object",
"properties": {
"default": {
"type": "string"
},
"overrides": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"default",
"overrides"
],
"additionalProperties": false
},
"SettingCapabilityPolicyInput": {
"type": "object",
"properties": {
"default": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"overrides": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingCloudUserRequestInput": {
"type": "object",
"properties": {
"cached": {
"type": "boolean"
},
"token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingDecision": {
"type": "object",
"properties": {
"apiKey": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"endpoint": {
"type": "string"
},
"name": {
"type": "string"
},
"profiles": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SettingDecisionProfile"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"provider": {
"type": "string"
},
"timeout": {
"type": "integer"
}
},
"required": [
"apiKey",
"enabled",
"endpoint",
"name",
"profiles",
"provider",
"timeout"
],
"additionalProperties": false
},
"SettingDecisionInput": {
"type": "object",
"properties": {
"apiKey": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"endpoint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profiles": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SettingDecisionProfileInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeout": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingDecisionProfile": {
"type": "object",
"properties": {
"apiKey": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"name": {
"type": "string"
},
"timeout": {
"type": "integer"
}
},
"required": [
"apiKey",
"endpoint",
"name",
"timeout"
],
"additionalProperties": false
},
"SettingDecisionProfileInput": {
"type": "object",
"properties": {
"apiKey": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"name": {
"type": "string"
},
"timeout": {
"type": "integer"
}
},
"required": [
"apiKey",
"endpoint",
"name",
"timeout"
],
"additionalProperties": false
},
"SettingEditing": {
"type": "object",
"properties": {
"maxCompletionTokens": {
"type": "integer"
},
"maxHistoryMessages": {
"type": "integer"
},
"modelId": {
"type": "string"
},
"temperature": {
"type": "number"
}
},
"required": [
"maxCompletionTokens",
"maxHistoryMessages",
"modelId",
"temperature"
],
"additionalProperties": false
},
"SettingEditingInput": {
"type": "object",
"properties": {
"maxCompletionTokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"maxHistoryMessages": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"modelId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"temperature": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingEditor": {
"type": "object",
"properties": {
"allowHTMLBLockScript": {
"type": "boolean"
},
"allowSVGScript": {
"type": "boolean"
},
"assetOpen": {
"anyOf": [
{
"$ref": "#/$defs/SettingAssetOpen"
},
{
"type": "null"
}
]
},
"autoCloseRefBrackets": {
"type": "boolean"
},
"autoDirection": {
"type": "boolean"
},
"backlinkBlockSort": {
"type": "integer"
},
"backlinkContainChildren": {
"type": "boolean"
},
"backlinkExpandCount": {
"type": "integer"
},
"backlinkGlobalSort": {
"type": "integer"
},
"backlinkHideReference": {
"type": "boolean"
},
"backlinkMentionExclude": {
"type": "string"
},
"backlinkShowBottom": {
"type": "boolean"
},
"backlinkSort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"backmentionExpandCount": {
"type": "integer"
},
"backmentionSort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"blockGutterMode": {
"type": "boolean"
},
"blockRefDynamicAnchorTextMaxLen": {
"type": "integer"
},
"checkBlockRef": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeFontFamilies": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingEditorFont"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"codeLigatures": {
"type": "boolean"
},
"codeLineWrap": {
"type": "boolean"
},
"codeSyntaxHighlightLineNum": {
"type": "boolean"
},
"codeTabSpaces": {
"type": "integer"
},
"cursorSurroundingLines": {
"type": "integer"
},
"databaseAttrClickMode": {
"type": "integer"
},
"databaseAttrHideEmpty": {
"type": "boolean"
},
"databaseAttrLayout": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"databaseAttrShow": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"databaseAttrUseTabs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"databaseAttrViewMode": {
"type": "integer"
},
"displayBookmarkIcon": {
"type": "boolean"
},
"displayImgAlt": {
"type": "boolean"
},
"displayImgName": {
"type": "boolean"
},
"displayNetImgMark": {
"type": "boolean"
},
"dragHTMLFileToIframe": {
"type": "boolean"
},
"dynamicLoadBlocks": {
"type": "integer"
},
"embedBlockBreadcrumb": {
"type": "boolean"
},
"embedBlockBreadcrumbParentPath": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"emoji": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"floatWindowDelay": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"floatWindowMode": {
"type": "integer"
},
"fontFamilies": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingEditorFont"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fontFamily": {
"type": "string"
},
"fontFamilyDisplay": {
"type": "string"
},
"fontSize": {
"type": "integer"
},
"fontSizeScrollZoom": {
"type": "boolean"
},
"fontWeight": {
"type": "integer"
},
"fullWidth": {
"type": "boolean"
},
"generateHistoryInterval": {
"type": "integer"
},
"hashTagSearch": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"headingEmbedMode": {
"type": "integer"
},
"headingNumber": {
"type": "boolean"
},
"headingNumberFormat": {
"type": "string"
},
"historyRetentionDays": {
"type": "integer"
},
"justify": {
"type": "boolean"
},
"katexMacros": {
"type": "string"
},
"keepLoadedContent": {
"type": "boolean"
},
"listItemDotNumberClickFocus": {
"type": "boolean"
},
"listLogicalOutdent": {
"type": "boolean"
},
"markdown": {
"anyOf": [
{
"$ref": "#/$defs/SettingMarkdown"
},
{
"type": "null"
}
]
},
"mathDelimiterCompatibility": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"onlySearchForDoc": {
"type": "boolean"
},
"pageScrollButtons": {
"type": "boolean"
},
"pasteURLAutoConvert": {
"type": "boolean"
},
"plantUMLServePath": {
"type": "string"
},
"readOnly": {
"type": "boolean"
},
"rtl": {
"type": "boolean"
},
"spellcheck": {
"type": "boolean"
},
"spellcheckLanguages": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"virtualBlockRef": {
"type": "boolean"
},
"virtualBlockRefExclude": {
"type": "string"
},
"virtualBlockRefInclude": {
"type": "string"
}
},
"required": [
"allowHTMLBLockScript",
"allowSVGScript",
"assetOpen",
"autoCloseRefBrackets",
"autoDirection",
"backlinkBlockSort",
"backlinkContainChildren",
"backlinkExpandCount",
"backlinkGlobalSort",
"backlinkHideReference",
"backlinkMentionExclude",
"backlinkShowBottom",
"backlinkSort",
"backmentionExpandCount",
"backmentionSort",
"blockGutterMode",
"blockRefDynamicAnchorTextMaxLen",
"checkBlockRef",
"codeFontFamilies",
"codeLigatures",
"codeLineWrap",
"codeSyntaxHighlightLineNum",
"codeTabSpaces",
"cursorSurroundingLines",
"databaseAttrClickMode",
"databaseAttrHideEmpty",
"databaseAttrLayout",
"databaseAttrShow",
"databaseAttrUseTabs",
"databaseAttrViewMode",
"displayBookmarkIcon",
"displayImgAlt",
"displayImgName",
"displayNetImgMark",
"dragHTMLFileToIframe",
"dynamicLoadBlocks",
"embedBlockBreadcrumb",
"embedBlockBreadcrumbParentPath",
"emoji",
"floatWindowDelay",
"floatWindowMode",
"fontFamilies",
"fontFamily",
"fontFamilyDisplay",
"fontSize",
"fontSizeScrollZoom",
"fontWeight",
"fullWidth",
"generateHistoryInterval",
"hashTagSearch",
"headingEmbedMode",
"headingNumber",
"headingNumberFormat",
"historyRetentionDays",
"justify",
"katexMacros",
"keepLoadedContent",
"listItemDotNumberClickFocus",
"listLogicalOutdent",
"markdown",
"mathDelimiterCompatibility",
"onlySearchForDoc",
"pageScrollButtons",
"pasteURLAutoConvert",
"plantUMLServePath",
"readOnly",
"rtl",
"spellcheck",
"spellcheckLanguages",
"virtualBlockRef",
"virtualBlockRefExclude",
"virtualBlockRefInclude"
],
"additionalProperties": false
},
"SettingEditorFont": {
"type": "object",
"properties": {
"displayName": {
"type": "string"
},
"family": {
"type": "string"
},
"weight": {
"type": "integer"
}
},
"required": [
"displayName",
"family",
"weight"
],
"additionalProperties": false
},
"SettingEditorFontInput": {
"type": "object",
"properties": {
"displayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"family": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"weight": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingEditorInput": {
"type": "object",
"properties": {
"allowHTMLBLockScript": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"allowSVGScript": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"assetOpen": {
"anyOf": [
{
"$ref": "#/$defs/SettingAssetOpenInput"
},
{
"type": "null"
}
]
},
"autoCloseRefBrackets": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"autoDirection": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkBlockSort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"backlinkContainChildren": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkExpandCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"backlinkGlobalSort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"backlinkHideReference": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkMentionExclude": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"backlinkShowBottom": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkSort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"backmentionExpandCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"backmentionSort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"blockGutterMode": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"blockRefDynamicAnchorTextMaxLen": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"checkBlockRef": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeFontFamilies": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingEditorFontInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"codeLigatures": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeLineWrap": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeSyntaxHighlightLineNum": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeTabSpaces": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"cursorSurroundingLines": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"databaseAttrClickMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"databaseAttrHideEmpty": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"databaseAttrLayout": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"databaseAttrShow": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"databaseAttrUseTabs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"databaseAttrViewMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"displayBookmarkIcon": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"displayImgAlt": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"displayImgName": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"displayNetImgMark": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"dragHTMLFileToIframe": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"dynamicLoadBlocks": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"embedBlockBreadcrumb": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"embedBlockBreadcrumbParentPath": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"emoji": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"floatWindowDelay": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"floatWindowMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"fontFamilies": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingEditorFontInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fontFamily": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"fontFamilyDisplay": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"fontSize": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"fontSizeScrollZoom": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"fontWeight": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"fullWidth": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"generateHistoryInterval": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"hashTagSearch": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"headingEmbedMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"headingNumber": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"headingNumberFormat": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"historyRetentionDays": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"justify": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"katexMacros": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keepLoadedContent": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"listItemDotNumberClickFocus": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"listLogicalOutdent": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"markdown": {
"anyOf": [
{
"$ref": "#/$defs/SettingMarkdownInput"
},
{
"type": "null"
}
]
},
"mathDelimiterCompatibility": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"onlySearchForDoc": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"pageScrollButtons": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"pasteURLAutoConvert": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"plantUMLServePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"readOnly": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"rtl": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"spellcheck": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"spellcheckLanguages": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"virtualBlockRef": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"virtualBlockRefExclude": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"virtualBlockRefInclude": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingEmbedding": {
"type": "object",
"properties": {
"apiKey": {
"type": "string"
},
"baseURL": {
"type": "string"
},
"batchSize": {
"type": "integer"
},
"concurrency": {
"type": "integer"
},
"dimensions": {
"type": "integer"
},
"enabled": {
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"timeout": {
"type": "integer"
}
},
"required": [
"apiKey",
"baseURL",
"batchSize",
"concurrency",
"dimensions",
"enabled",
"id",
"name",
"timeout"
],
"additionalProperties": false
},
"SettingEmbeddingInput": {
"type": "object",
"properties": {
"apiKey": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"baseURL": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"batchSize": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"concurrency": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"dimensions": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeout": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingEmojiRequestInput": {
"type": "object",
"properties": {
"emoji": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"emoji"
],
"additionalProperties": false
},
"SettingEntryVisibility": {
"type": "object",
"properties": {
"active": {
"type": "string"
},
"profiles": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingEntryVisibilityProfile"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"version": {
"type": "integer"
}
},
"required": [
"active",
"profiles",
"version"
],
"additionalProperties": false
},
"SettingEntryVisibilityInput": {
"type": "object",
"properties": {
"active": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profiles": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingEntryVisibilityProfileInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"version": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingEntryVisibilityProfile": {
"type": "object",
"properties": {
"defaults": {
"type": "string",
"enum": [
"simple",
"full"
]
},
"entries": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"orders": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"entries",
"id",
"name",
"orders"
],
"additionalProperties": false
},
"SettingEntryVisibilityProfileInput": {
"type": "object",
"properties": {
"defaults": {
"enum": [
"simple",
"full"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"entries": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"orders": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingExport": {
"type": "object",
"properties": {
"addTitle": {
"type": "boolean"
},
"blockEmbedMode": {
"type": "integer"
},
"blockRefMode": {
"type": "integer"
},
"blockRefTextLeft": {
"type": "string"
},
"blockRefTextRight": {
"type": "string"
},
"fileAnnotationRefMode": {
"type": "integer"
},
"imageWatermarkDesc": {
"type": "string"
},
"imageWatermarkStr": {
"type": "string"
},
"includeRelatedDocs": {
"type": "boolean"
},
"includeSubDocs": {
"type": "boolean"
},
"inlineMemo": {
"type": "boolean"
},
"markdownYFM": {
"type": "boolean"
},
"pandocBin": {
"type": "string"
},
"pandocParams": {
"type": "string"
},
"paragraphBeginningSpace": {
"type": "boolean"
},
"pdfFooter": {
"type": "string"
},
"pdfWatermarkDesc": {
"type": "string"
},
"pdfWatermarkStr": {
"type": "string"
},
"removeAssetsID": {
"type": "boolean"
},
"tagCloseMarker": {
"type": "string"
},
"tagOpenMarker": {
"type": "string"
}
},
"required": [
"addTitle",
"blockEmbedMode",
"blockRefMode",
"blockRefTextLeft",
"blockRefTextRight",
"fileAnnotationRefMode",
"imageWatermarkDesc",
"imageWatermarkStr",
"includeRelatedDocs",
"includeSubDocs",
"inlineMemo",
"markdownYFM",
"pandocBin",
"pandocParams",
"paragraphBeginningSpace",
"pdfFooter",
"pdfWatermarkDesc",
"pdfWatermarkStr",
"removeAssetsID",
"tagCloseMarker",
"tagOpenMarker"
],
"additionalProperties": false
},
"SettingExportInput": {
"type": "object",
"properties": {
"addTitle": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"blockEmbedMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"blockRefMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"blockRefTextLeft": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"blockRefTextRight": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"fileAnnotationRefMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"imageWatermarkDesc": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageWatermarkStr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"includeRelatedDocs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"includeSubDocs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineMemo": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"markdownYFM": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"pandocBin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pandocParams": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"paragraphBeginningSpace": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"pdfFooter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pdfWatermarkDesc": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pdfWatermarkStr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"removeAssetsID": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tagCloseMarker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tagOpenMarker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingFileTree": {
"type": "object",
"properties": {
"allowCreateDeeper": {
"type": "boolean"
},
"alwaysSelectOpenedFile": {
"type": "boolean"
},
"boxDocEnabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"closeTabOnDoubleClick": {
"type": "boolean"
},
"closeTabsOnStart": {
"type": "boolean"
},
"closeWindowOnLastTabClosed": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"createDocAtTop": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"docCreateSaveBox": {
"type": "string"
},
"docCreateSavePath": {
"type": "string"
},
"docCreateTemplatePath": {
"type": "string"
},
"docIconClickMode": {
"type": "integer"
},
"largeFileWarningSize": {
"type": "integer"
},
"maxListCount": {
"type": "integer"
},
"maxOpenTabCount": {
"type": "integer"
},
"noSplitScreenWhenOpenTab": {
"type": "boolean"
},
"openFilesUseCurrentTab": {
"type": "boolean"
},
"parentDocTitleClickMode": {
"type": "integer"
},
"recentDocsMaxListCount": {
"type": "integer"
},
"recentDocsSort": {
"type": "string"
},
"refCreateSaveBox": {
"type": "string"
},
"refCreateSavePath": {
"type": "string"
},
"removeDocWithoutConfirm": {
"type": "boolean"
},
"shorthandSaveBox": {
"type": "string"
},
"shorthandSavePath": {
"type": "string"
},
"sort": {
"type": "integer"
},
"tabStartupMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"useSVGDefaultIcon": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"useSingleLineSave": {
"type": "boolean"
}
},
"required": [
"allowCreateDeeper",
"alwaysSelectOpenedFile",
"boxDocEnabled",
"closeTabOnDoubleClick",
"closeTabsOnStart",
"closeWindowOnLastTabClosed",
"createDocAtTop",
"docCreateSaveBox",
"docCreateSavePath",
"docCreateTemplatePath",
"docIconClickMode",
"largeFileWarningSize",
"maxListCount",
"maxOpenTabCount",
"noSplitScreenWhenOpenTab",
"openFilesUseCurrentTab",
"parentDocTitleClickMode",
"recentDocsMaxListCount",
"recentDocsSort",
"refCreateSaveBox",
"refCreateSavePath",
"removeDocWithoutConfirm",
"shorthandSaveBox",
"shorthandSavePath",
"sort",
"tabStartupMode",
"useSVGDefaultIcon",
"useSingleLineSave"
],
"additionalProperties": false
},
"SettingFileTreeInput": {
"type": "object",
"properties": {
"allowCreateDeeper": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"alwaysSelectOpenedFile": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"boxDocEnabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"closeTabOnDoubleClick": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"closeTabsOnStart": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"closeWindowOnLastTabClosed": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"createDocAtTop": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"docCreateSaveBox": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"docCreateSavePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"docCreateTemplatePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"docIconClickMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"largeFileWarningSize": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"maxListCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"maxOpenTabCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"noSplitScreenWhenOpenTab": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"openFilesUseCurrentTab": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"parentDocTitleClickMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"recentDocsMaxListCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"recentDocsSort": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"refCreateSaveBox": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"refCreateSavePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"removeDocWithoutConfirm": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"shorthandSaveBox": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"shorthandSavePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sort": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"tabStartupMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"useSVGDefaultIcon": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"useSingleLineSave": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingFlashcard": {
"type": "object",
"properties": {
"blockquote": {
"type": "boolean"
},
"callout": {
"type": "boolean"
},
"deck": {
"type": "boolean"
},
"heading": {
"type": "boolean"
},
"list": {
"type": "boolean"
},
"mark": {
"type": "boolean"
},
"maximumInterval": {
"type": "integer"
},
"newCardLimit": {
"type": "integer"
},
"requestRetention": {
"type": "number"
},
"reviewCardLimit": {
"type": "integer"
},
"reviewMode": {
"type": "integer"
},
"superBlock": {
"type": "boolean"
},
"weights": {
"type": "string"
}
},
"required": [
"blockquote",
"callout",
"deck",
"heading",
"list",
"mark",
"maximumInterval",
"newCardLimit",
"requestRetention",
"reviewCardLimit",
"reviewMode",
"superBlock",
"weights"
],
"additionalProperties": false
},
"SettingFlashcardInput": {
"type": "object",
"properties": {
"blockquote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"callout": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"deck": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"heading": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"list": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mark": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"maximumInterval": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"newCardLimit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"requestRetention": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"reviewCardLimit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"reviewMode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"superBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"weights": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingGetSectionRequestInput": {
"type": "object",
"properties": {
"namespace": {
"type": "string"
}
},
"required": [
"namespace"
],
"additionalProperties": false
},
"SettingIconRequestInput": {
"type": "object",
"properties": {
"icon": {
"type": "string"
}
},
"required": [
"icon"
],
"additionalProperties": false
},
"SettingImageGeneration": {
"type": "object",
"properties": {
"modelId": {
"type": "string"
},
"outputFormat": {
"type": "string"
},
"quality": {
"type": "string"
},
"requestTimeout": {
"type": "integer"
},
"size": {
"type": "string"
}
},
"required": [
"modelId",
"outputFormat",
"quality",
"requestTimeout",
"size"
],
"additionalProperties": false
},
"SettingImageGenerationInput": {
"type": "object",
"properties": {
"modelId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"outputFormat": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"quality": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"requestTimeout": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"size": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingIssue": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
},
"severity": {
"type": "string"
}
},
"required": [
"field",
"message",
"severity"
],
"additionalProperties": false
},
"SettingKeymapRequestInput": {
"type": "object",
"properties": {
"data": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
}
}
},
"required": [
"data"
],
"additionalProperties": false
},
"SettingLogin2faRequestInput": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"token": {
"type": "string"
}
},
"required": [
"code",
"token"
],
"additionalProperties": false
},
"SettingMCP": {
"type": "object",
"properties": {
"exposurePolicy": {
"anyOf": [
{
"$ref": "#/$defs/SettingCapabilityPolicy"
},
{
"type": "null"
}
]
},
"servers": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/SettingMCPServer"
}
},
{
"type": "null"
}
]
}
},
"required": [
"exposurePolicy",
"servers"
],
"additionalProperties": false
},
"SettingMCPInput": {
"type": "object",
"properties": {
"exposurePolicy": {
"anyOf": [
{
"$ref": "#/$defs/SettingCapabilityPolicyInput"
},
{
"type": "null"
}
]
},
"servers": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/SettingMCPServerInput"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingMCPServer": {
"type": "object",
"properties": {
"args": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"command": {
"type": "string"
},
"disableStandaloneSSE": {
"type": "boolean"
},
"enabled": {
"type": "boolean"
},
"env": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"headers": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"inheritEnv": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"trustToolAnnotations": {
"type": "boolean"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"args",
"command",
"disableStandaloneSSE",
"enabled",
"env",
"headers",
"id",
"inheritEnv",
"name",
"timeout",
"trustToolAnnotations",
"type",
"url"
],
"additionalProperties": false
},
"SettingMCPServerInput": {
"type": "object",
"properties": {
"args": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"command": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"disableStandaloneSSE": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"env": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"headers": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"inheritEnv": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeout": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"trustToolAnnotations": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingMarkdown": {
"type": "object",
"properties": {
"blockFullWidthTaskList": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeBlockMiddleDot": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineAsterisk": {
"type": "boolean"
},
"inlineFullWidthStrikethrough": {
"type": "boolean"
},
"inlineMark": {
"type": "boolean"
},
"inlineMath": {
"type": "boolean"
},
"inlineStrikethrough": {
"type": "boolean"
},
"inlineSub": {
"type": "boolean"
},
"inlineSup": {
"type": "boolean"
},
"inlineTag": {
"type": "boolean"
},
"inlineUnderscore": {
"type": "boolean"
}
},
"required": [
"blockFullWidthTaskList",
"codeBlockMiddleDot",
"inlineAsterisk",
"inlineFullWidthStrikethrough",
"inlineMark",
"inlineMath",
"inlineStrikethrough",
"inlineSub",
"inlineSup",
"inlineTag",
"inlineUnderscore"
],
"additionalProperties": false
},
"SettingMarkdownInput": {
"type": "object",
"properties": {
"blockFullWidthTaskList": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeBlockMiddleDot": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineAsterisk": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineFullWidthStrikethrough": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineMark": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineMath": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineStrikethrough": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineSub": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineSup": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineTag": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"inlineUnderscore": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingMobileBars": {
"type": "object",
"properties": {
"autoHide": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"sidebarButtons": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"sidebarSwipe": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"autoHide",
"sidebarButtons",
"sidebarSwipe"
],
"additionalProperties": false
},
"SettingMobileBarsInput": {
"type": "object",
"properties": {
"autoHide": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"sidebarButtons": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"sidebarSwipe": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingModel": {
"type": "object",
"properties": {
"contextLength": {
"type": "integer"
},
"displayName": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"enabled",
"id",
"name"
],
"additionalProperties": false
},
"SettingModelInput": {
"type": "object",
"properties": {
"contextLength": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"displayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingNotifications": {
"type": "object",
"properties": {
"browserCompatibility": {
"type": "boolean"
},
"docTreeMaxList": {
"type": "boolean"
},
"formatPainterTip": {
"type": "boolean"
},
"selectAllIncompleteTip": {
"type": "boolean"
},
"selectAllTip": {
"type": "boolean"
},
"tagMaxList": {
"type": "boolean"
},
"workspaceNotSSD": {
"type": "boolean"
}
},
"required": [
"browserCompatibility",
"docTreeMaxList",
"tagMaxList",
"workspaceNotSSD"
],
"additionalProperties": false
},
"SettingNotificationsInput": {
"type": "object",
"properties": {
"browserCompatibility": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"docTreeMaxList": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"formatPainterTip": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"selectAllIncompleteTip": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"selectAllTip": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tagMaxList": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"workspaceNotSSD": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingOCR": {
"type": "object",
"properties": {
"aiModelId": {
"type": "string"
},
"auto": {
"type": "boolean"
},
"model": {
"type": "string"
},
"provider": {
"type": "string"
},
"reasoningEffort": {
"type": "string"
},
"showEmpty": {
"type": "boolean"
},
"showError": {
"type": "boolean"
},
"showText": {
"type": "boolean"
},
"thresholds": {
"$ref": "#/$defs/OCRThresholds"
}
},
"required": [
"aiModelId",
"auto",
"model",
"provider",
"reasoningEffort",
"showEmpty",
"showError",
"thresholds"
],
"additionalProperties": false
},
"SettingOCRInput": {
"type": "object",
"properties": {
"aiModelId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"auto": {
"type": "boolean"
},
"model": {
"type": "string"
},
"provider": {
"type": "string"
},
"reasoningEffort": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"showEmpty": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"showError": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"showText": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"thresholds": {
"anyOf": [
{
"$ref": "#/$defs/OCRThresholdsInput"
},
{
"type": "null"
}
]
}
},
"required": [
"auto",
"model",
"provider"
],
"additionalProperties": false
},
"SettingPDFTheme": {
"type": "object",
"properties": {
"annoColor": {
"type": "string"
},
"dark": {
"type": "string"
},
"light": {
"type": "string"
}
},
"required": [
"annoColor",
"dark",
"light"
],
"additionalProperties": false
},
"SettingPDFThemeInput": {
"type": "object",
"properties": {
"annoColor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dark": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"light": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingPatchData": {
"type": "object",
"properties": {
"issues": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/SettingIssue"
}
},
{
"type": "null"
}
]
}
},
"required": [
"issues"
],
"additionalProperties": false
},
"SettingPetalDisabledData": {
"type": "object",
"properties": {
"dataChangePlugins": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"globalPetalChanged": {
"type": "boolean"
},
"globalPetalDisabled": {
"type": "boolean"
},
"globalPetalEnabled": {
"type": "boolean"
},
"globalPetalRevision": {
"type": "integer"
},
"reloadPlugins": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"uninstallPlugins": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"unloadPlugins": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"dataChangePlugins",
"globalPetalChanged",
"globalPetalDisabled",
"globalPetalEnabled",
"globalPetalRevision",
"reloadPlugins",
"uninstallPlugins",
"unloadPlugins"
],
"additionalProperties": false
},
"SettingPetalDisabledRequestInput": {
"type": "object",
"properties": {
"petalDisabled": {
"type": "boolean"
}
},
"required": [
"petalDisabled"
],
"additionalProperties": false
},
"SettingProvider": {
"type": "object",
"properties": {
"accountID": {
"type": "string"
},
"apiKey": {
"type": "string"
},
"authType": {
"type": "string"
},
"baseURL": {
"type": "string"
},
"displayName": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"id": {
"type": "string"
},
"models": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingModel"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"protocol": {
"type": "string"
},
"requestTimeout": {
"type": "integer"
}
},
"required": [
"apiKey",
"baseURL",
"enabled",
"id",
"models",
"requestTimeout"
],
"additionalProperties": false
},
"SettingProviderInput": {
"type": "object",
"properties": {
"accountID": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"apiKey": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"authType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"baseURL": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"displayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"headers": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"models": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingModelInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"protocol": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"requestTimeout": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingPublish": {
"type": "object",
"properties": {
"auth": {
"anyOf": [
{
"$ref": "#/$defs/SettingBasicAuth"
},
{
"type": "null"
}
]
},
"enable": {
"type": "boolean"
},
"port": {
"type": "integer"
}
},
"required": [
"auth",
"enable",
"port"
],
"additionalProperties": false
},
"SettingPublishData": {
"type": "object",
"properties": {
"port": {
"type": "integer"
},
"publish": {
"anyOf": [
{
"$ref": "#/$defs/SettingPublish"
},
{
"type": "null"
}
]
}
},
"required": [
"port",
"publish"
],
"additionalProperties": false
},
"SettingPublishInput": {
"type": "object",
"properties": {
"auth": {
"anyOf": [
{
"$ref": "#/$defs/SettingBasicAuthInput"
},
{
"type": "null"
}
]
},
"enable": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"port": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingRerank": {
"type": "object",
"properties": {
"apiKey": {
"type": "string"
},
"candidateCount": {
"type": "integer"
},
"enabled": {
"type": "boolean"
},
"endpoint": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"requestFormat": {
"type": "string"
},
"timeout": {
"type": "integer"
}
},
"required": [
"apiKey",
"candidateCount",
"enabled",
"endpoint",
"id",
"name",
"requestFormat",
"timeout"
],
"additionalProperties": false
},
"SettingRerankInput": {
"type": "object",
"properties": {
"apiKey": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"candidateCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"endpoint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"requestFormat": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timeout": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingSearch": {
"type": "object",
"properties": {
"alias": {
"type": "boolean"
},
"audioBlock": {
"type": "boolean"
},
"backlinkMentionAlias": {
"type": "boolean"
},
"backlinkMentionAnchor": {
"type": "boolean"
},
"backlinkMentionDoc": {
"type": "boolean"
},
"backlinkMentionKeywordsLimit": {
"type": "integer"
},
"backlinkMentionName": {
"type": "boolean"
},
"blockquote": {
"type": "boolean"
},
"callout": {
"type": "boolean"
},
"caseSensitive": {
"type": "boolean"
},
"codeBlock": {
"type": "boolean"
},
"customBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"databaseBlock": {
"type": "boolean"
},
"document": {
"type": "boolean"
},
"embedBlock": {
"type": "boolean"
},
"hanSensitive": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"heading": {
"type": "boolean"
},
"htmlBlock": {
"type": "boolean"
},
"ial": {
"type": "boolean"
},
"iframeBlock": {
"type": "boolean"
},
"indexAssetPath": {
"type": "boolean"
},
"limit": {
"type": "integer"
},
"list": {
"type": "boolean"
},
"listItem": {
"type": "boolean"
},
"mathBlock": {
"type": "boolean"
},
"memo": {
"type": "boolean"
},
"mindmap": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mindmapItem": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"name": {
"type": "boolean"
},
"paragraph": {
"type": "boolean"
},
"superBlock": {
"type": "boolean"
},
"tabItem": {
"type": "boolean"
},
"table": {
"type": "boolean"
},
"tabs": {
"type": "boolean"
},
"videoBlock": {
"type": "boolean"
},
"virtualRefAlias": {
"type": "boolean"
},
"virtualRefAnchor": {
"type": "boolean"
},
"virtualRefDoc": {
"type": "boolean"
},
"virtualRefName": {
"type": "boolean"
},
"widgetBlock": {
"type": "boolean"
}
},
"required": [
"alias",
"audioBlock",
"backlinkMentionAlias",
"backlinkMentionAnchor",
"backlinkMentionDoc",
"backlinkMentionKeywordsLimit",
"backlinkMentionName",
"blockquote",
"callout",
"caseSensitive",
"codeBlock",
"customBlock",
"databaseBlock",
"document",
"embedBlock",
"hanSensitive",
"heading",
"htmlBlock",
"ial",
"iframeBlock",
"indexAssetPath",
"limit",
"list",
"listItem",
"mathBlock",
"memo",
"mindmap",
"mindmapItem",
"name",
"paragraph",
"superBlock",
"tabItem",
"table",
"tabs",
"videoBlock",
"virtualRefAlias",
"virtualRefAnchor",
"virtualRefDoc",
"virtualRefName",
"widgetBlock"
],
"additionalProperties": false
},
"SettingSearchInput": {
"type": "object",
"properties": {
"alias": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"audioBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkMentionAlias": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkMentionAnchor": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkMentionDoc": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"backlinkMentionKeywordsLimit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"backlinkMentionName": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"blockquote": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"callout": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"caseSensitive": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"customBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"databaseBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"document": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"embedBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"hanSensitive": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"heading": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"htmlBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"ial": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"iframeBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"indexAssetPath": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"list": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"listItem": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mathBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"memo": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mindmap": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"mindmapItem": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"paragraph": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"superBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tabItem": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"table": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"tabs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"videoBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"virtualRefAlias": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"virtualRefAnchor": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"virtualRefDoc": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"virtualRefName": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"widgetBlock": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingSecret": {
"type": "object",
"properties": {
"allowedHosts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"allowedHosts",
"name",
"value"
],
"additionalProperties": false
},
"SettingSecretInput": {
"type": "object",
"properties": {
"allowedHosts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingSecrets": {
"type": "object",
"properties": {
"items": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingSecret"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"items"
],
"additionalProperties": false
},
"SettingSecretsInput": {
"type": "object",
"properties": {
"items": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/$defs/SettingSecretInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingSectionData": {
"type": "object",
"properties": {
"conf": {
"anyOf": [
{
"$ref": "#/$defs/SystemAppConf"
},
{
"type": "null"
}
]
},
"namespace": {
"type": "string"
},
"revision": {
"type": "integer"
},
"settingTasks": {
"$ref": "#/$defs/SettingTaskState"
}
},
"required": [
"conf",
"namespace",
"revision"
],
"additionalProperties": false
},
"SettingSnpt": {
"type": "object",
"properties": {
"enabledCSS": {
"type": "boolean"
},
"enabledJS": {
"type": "boolean"
}
},
"required": [
"enabledCSS",
"enabledJS"
],
"additionalProperties": false
},
"SettingSnptInput": {
"type": "object",
"properties": {
"enabledCSS": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"enabledJS": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingStatusBar": {
"type": "object",
"properties": {
"msgDataSyncDisabled": {
"type": "boolean"
},
"msgTaskAssetDatabaseIndexCommitDisabled": {
"type": "boolean"
},
"msgTaskDatabaseIndexCommitDisabled": {
"type": "boolean"
},
"msgTaskHistoryDatabaseIndexCommitDisabled": {
"type": "boolean"
},
"msgTaskHistoryGenerateFileDisabled": {
"type": "boolean"
},
"version": {
"type": "integer"
}
},
"required": [
"msgDataSyncDisabled",
"msgTaskAssetDatabaseIndexCommitDisabled",
"msgTaskDatabaseIndexCommitDisabled",
"msgTaskHistoryDatabaseIndexCommitDisabled",
"msgTaskHistoryGenerateFileDisabled",
"version"
],
"additionalProperties": false
},
"SettingStatusBarInput": {
"type": "object",
"properties": {
"msgDataSyncDisabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"msgTaskAssetDatabaseIndexCommitDisabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"msgTaskDatabaseIndexCommitDisabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"msgTaskHistoryDatabaseIndexCommitDisabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"msgTaskHistoryGenerateFileDisabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"version": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"SettingTask": {
"type": "object",
"properties": {
"active": {
"type": "boolean"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"revision": {
"type": "integer"
}
},
"required": [
"active",
"id",
"message",
"revision"
],
"additionalProperties": false
},
"SettingTaskState": {
"type": "object",
"properties": {
"revision": {
"type": "integer"
},
"tasks": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/SettingTask"
}
},
File truncated at 1 MB.