changedInput schema / oneOf
Previous value: -[
- {
- "allOf": [
- {
- "not": {
- "anyOf": [
- {
- "required": [
- "docIds"
- ]
- },
- {
- "required": [
- "query"
- ]
- }
- ]
- }
- }
- ],
- "properties": {
- "documentId": {
- "description": "UUID returned by the corresponding list or read operation.",
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "limit": {
- "description": "Maximum results to return, up to 100.",
- "maximum": 100,
- "minimum": 1,
- "type": "integer"
- },
- "mode": {
- "const": "neighbors",
- "description": "Select the neighbors operation explicitly.",
- "type": "string"
- }
- },
- "required": [
- "mode",
- "documentId"
- ],
- "type": "object"
- },
- {
- "allOf": [
- {
- "not": {
- "anyOf": [
- {
- "required": [
- "documentId"
- ]
- }
- ]
- }
- }
- ],
- "properties": {
- "docIds": {
- "description": "One to 50 authorized seed document UUIDs.",
- "items": {
- "description": "UUID returned by the corresponding list or read operation.",
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "maxItems": 50,
- "minItems": 1,
- "type": "array"
- },
- "limit": {
- "description": "Maximum results to return, up to 100.",
- "maximum": 100,
- "minimum": 1,
- "type": "integer"
- },
- "mode": {
- "const": "search",
- "description": "Select the search operation explicitly.",
- "type": "string"
- },
- "query": {
- "description": "Optional graph relevance query, at most 2000 characters.",
- "maxLength": 2000,
- "type": "string"
- }
- },
- "required": [
- "mode",
- "docIds"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "allOf": [
+ {
+ "not": {
+ "anyOf": [
+ {
+ "required": [
+ "docIds"
+ ]
+ },
+ {
+ "required": [
+ "query"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "properties": {
+ "documentId": {
+ "description": "UUID returned by the corresponding list or read operation.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "limit": {
+ "description": "Maximum results to return, up to 100.",
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "mode": {
+ "const": "neighbors",
+ "description": "Select the neighbors operation explicitly.",
+ "type": "string"
+ },
+ "workspaceId": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "description": "Workspace UUID from list_workspace_structure(kind=workspaces). Required for ambiguous creates and structure changes; omit to search all granted scopes.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "mode",
+ "documentId"
+ ],
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "not": {
+ "anyOf": [
+ {
+ "required": [
+ "documentId"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "properties": {
+ "docIds": {
+ "description": "One to 50 authorized seed document UUIDs.",
+ "items": {
+ "description": "UUID returned by the corresponding list or read operation.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ },
+ "limit": {
+ "description": "Maximum results to return, up to 100.",
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "mode": {
+ "const": "search",
+ "description": "Select the search operation explicitly.",
+ "type": "string"
+ },
+ "query": {
+ "description": "Optional graph relevance query, at most 2000 characters.",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "workspaceId": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "description": "Workspace UUID from list_workspace_structure(kind=workspaces). Required for ambiguous creates and structure changes; omit to search all granted scopes.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "mode",
+ "docIds"
+ ],
+ "type": "object"
+ }
+]