changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "CurrentStateAnswerOutput": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "memory_type": {
+ "type": "string"
+ },
+ "project": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "staleness": {
+ "$ref": "#/$defs/MemoryStalenessOutput"
+ },
+ "status": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "topic_key": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "updated_at_epoch": {
+ "format": "int64",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "text",
+ "memory_type",
+ "project",
+ "scope",
+ "status",
+ "updated_at_epoch",
+ "staleness"
+ ],
+ "type": "object"
+ },
+ "CurrentStateFactOutput": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "object": {
+ "type": "string"
+ },
+ "predicate": {
+ "type": "string"
+ },
+ "source_event_ids": {
+ "items": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "source_memory_id": {
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ },
+ "subject": {
+ "type": "string"
+ },
+ "valid_from_epoch": {
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "valid_to_epoch": {
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "subject",
+ "predicate",
+ "object",
+ "status"
+ ],
+ "type": "object"
+ },
+ "CurrentStateKeySummaryOutput": {
+ "additionalProperties": false,
+ "properties": {
+ "current_memory_id": {
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "id": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "memory_type": {
+ "type": "string"
+ },
+ "owner_key": {
+ "type": "string"
+ },
+ "owner_scope": {
+ "type": "string"
+ },
+ "state_key": {
+ "type": "string"
+ },
+ "state_label": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "state_status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "owner_scope",
+ "owner_key",
+ "memory_type",
+ "state_key",
+ "state_status"
+ ],
+ "type": "object"
+ },
+ "CurrentStateMemoryRefOutput": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence_event_ids": {
+ "items": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "id": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "memory_type": {
+ "type": "string"
+ },
+ "project": {
+ "type": "string"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "relation": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source_candidate_id": {
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "source_operation_id": {
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "staleness": {
+ "$ref": "#/$defs/MemoryStalenessOutput"
+ },
+ "status": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "topic_key": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "updated_at_epoch": {
+ "format": "int64",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "memory_type",
+ "project",
+ "status",
+ "updated_at_epoch",
+ "staleness"
+ ],
+ "type": "object"
+ },
+ "CurrentStateStatus": {
+ "enum": [
+ "current",
+ "not_found",
+ "ambiguous",
+ "unresolved_conflict",
+ "no_current"
+ ],
+ "type": "string"
+ },
+ "CurrentStateWhyOutput": {
+ "additionalProperties": false,
+ "properties": {
+ "created_at_epoch": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "edge_type": {
+ "type": "string"
+ },
+ "evidence_event_ids": {
+ "items": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "from_memory_id": {
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source_candidate_id": {
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "source_operation_id": {
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "to_memory_id": {
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "edge_type",
+ "created_at_epoch"
+ ],
+ "type": "object"
+ },
+ "MemoryStalenessOutput": {
+ "additionalProperties": false,
+ "properties": {
+ "age": {
+ "type": "string"
+ },
+ "error": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "label": {
+ "type": "string"
+ },
+ "source_anchor": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "age",
+ "source_anchor",
+ "label"
+ ],
+ "type": "object"
+ }
+ },
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "as_of_epoch": {
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "conflicts": {
+ "items": {
+ "$ref": "#/$defs/CurrentStateMemoryRefOutput"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "current": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/CurrentStateAnswerOutput"
+ },
+ {
+ "anyOf": [
+ {
+ "const": null
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ ]
+ },
+ "facts": {
+ "items": {
+ "$ref": "#/$defs/CurrentStateFactOutput"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "history": {
+ "items": {
+ "$ref": "#/$defs/CurrentStateMemoryRefOutput"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "matches": {
+ "items": {
+ "$ref": "#/$defs/CurrentStateKeySummaryOutput"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "state": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/CurrentStateKeySummaryOutput"
+ },
+ {
+ "anyOf": [
+ {
+ "const": null
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ ]
+ },
+ "state_key": {
+ "type": "string"
+ },
+ "status": {
+ "$ref": "#/$defs/CurrentStateStatus"
+ },
+ "why": {
+ "items": {
+ "$ref": "#/$defs/CurrentStateWhyOutput"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "status",
+ "state_key"
+ ],
+ "title": "CurrentStateOutput",
+ "type": "object"
+}