changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "list"
- },
- "memories": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "memory_id": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "summary": {
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "memory_id",
- "title",
- "scope",
- "summary"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "project": {
- "type": [
- "string",
- "null"
- ]
- },
- "projects": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "action",
- "project",
- "memories",
- "projects"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "search"
- },
- "limit": {
- "maximum": 5,
- "minimum": 1,
- "type": "integer"
- },
- "matches": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "memory_id": {
- "type": "string"
- },
- "passages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "end_char": {
- "minimum": 1,
- "type": "integer"
- },
- "start_char": {
- "minimum": 0,
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "text",
- "start_char",
- "end_char"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- },
- "rank": {
- "minimum": 1,
- "type": "integer"
- },
- "revision": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "summary": {
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "memory_id",
- "title",
- "scope",
- "summary",
- "revision",
- "rank",
- "passages"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "project": {
- "type": [
- "string",
- "null"
- ]
- },
- "truncated": {
- "type": "boolean"
- }
- },
- "required": [
- "action",
- "project",
- "limit",
- "matches",
- "truncated"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "get"
- },
- "memory": {
- "additionalProperties": false,
- "properties": {
- "body": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "memory_id": {
- "type": "string"
- },
- "revision": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "source": {
- "type": "string"
- },
- "summary": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "memory_id",
- "title",
- "scope",
- "summary",
- "source",
- "created_at",
- "updated_at",
- "revision",
- "body"
- ],
- "type": "object"
- }
- },
- "required": [
- "action",
- "memory"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "list"
+ },
+ "memories": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "memory_id": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "memory_id",
+ "title",
+ "scope",
+ "summary"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "project": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "projects": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "project",
+ "memories",
+ "projects"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "search"
+ },
+ "limit": {
+ "maximum": 5,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "matches": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "memory_id": {
+ "type": "string"
+ },
+ "passages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "end_char": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "start_char": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "text",
+ "start_char",
+ "end_char"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "rank": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "revision": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "memory_id",
+ "title",
+ "scope",
+ "summary",
+ "revision",
+ "rank",
+ "passages"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "project": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "truncated": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "action",
+ "project",
+ "limit",
+ "matches",
+ "truncated"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "get"
+ },
+ "memory": {
+ "additionalProperties": false,
+ "properties": {
+ "body": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "memory_id": {
+ "type": "string"
+ },
+ "revision": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "memory_id",
+ "title",
+ "scope",
+ "summary",
+ "created_at",
+ "updated_at",
+ "revision",
+ "body"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "action",
+ "memory"
+ ],
+ "type": "object"
+ }
+]