removedOutput schema / $defs
Removed value: -{
- "ContextResult": {
- "description": "Context result containing a primary item with its observations and related items.",
- "properties": {
- "observations": {
- "description": "Observations belonging to this entity",
- "items": {
- "$ref": "#/$defs/ObservationSummary"
- },
- "title": "Observations",
- "type": "array"
- },
- "primary_result": {
- "description": "Primary item",
- "discriminator": {
- "mapping": {
- "entity": "#/$defs/EntitySummary",
- "observation": "#/$defs/ObservationSummary",
- "relation": "#/$defs/RelationSummary"
- },
- "propertyName": "type"
- },
- "oneOf": [
- {
- "$ref": "#/$defs/EntitySummary"
- },
- {
- "$ref": "#/$defs/RelationSummary"
- },
- {
- "$ref": "#/$defs/ObservationSummary"
- }
- ],
- "title": "Primary Result"
- },
- "related_results": {
- "description": "Related items",
- "items": {
- "discriminator": {
- "mapping": {
- "entity": "#/$defs/EntitySummary",
- "observation": "#/$defs/ObservationSummary",
- "relation": "#/$defs/RelationSummary"
- },
- "propertyName": "type"
- },
- "oneOf": [
- {
- "$ref": "#/$defs/EntitySummary"
- },
- {
- "$ref": "#/$defs/RelationSummary"
- },
- {
- "$ref": "#/$defs/ObservationSummary"
- }
- ]
- },
- "title": "Related Results",
- "type": "array"
- }
- },
- "required": [
- "primary_result"
- ],
- "title": "ContextResult",
- "type": "object"
- },
- "EntitySummary": {
- "description": "Simplified entity representation.",
- "properties": {
- "content": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Content"
- },
- "created_at": {
- "format": "date-time",
- "title": "Created At",
- "type": "string"
- },
- "file_path": {
- "title": "File Path",
- "type": "string"
- },
- "permalink": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Permalink"
- },
- "title": {
- "title": "Title",
- "type": "string"
- },
- "type": {
- "const": "entity",
- "default": "entity",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "permalink",
- "title",
- "file_path",
- "created_at"
- ],
- "title": "EntitySummary",
- "type": "object"
- },
- "MemoryMetadata": {
- "description": "Simplified response metadata.",
- "properties": {
- "depth": {
- "title": "Depth",
- "type": "integer"
- },
- "generated_at": {
- "format": "date-time",
- "title": "Generated At",
- "type": "string"
- },
- "primary_count": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Primary Count"
- },
- "related_count": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Related Count"
- },
- "timeframe": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Timeframe"
- },
- "total_observations": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Total Observations"
- },
- "total_relations": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Total Relations"
- },
- "total_results": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Total Results"
- },
- "types": {
- "anyOf": [
- {
- "items": {
- "$ref": "#/$defs/SearchItemType"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Types"
- },
- "uri": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Uri"
- }
- },
- "required": [
- "depth",
- "generated_at"
- ],
- "title": "MemoryMetadata",
- "type": "object"
- },
- "ObservationSummary": {
- "description": "Simplified observation representation.",
- "properties": {
- "category": {
- "title": "Category",
- "type": "string"
- },
- "content": {
- "title": "Content",
- "type": "string"
- },
- "created_at": {
- "format": "date-time",
- "title": "Created At",
- "type": "string"
- },
- "file_path": {
- "title": "File Path",
- "type": "string"
- },
- "permalink": {
- "title": "Permalink",
- "type": "string"
- },
- "title": {
- "title": "Title",
- "type": "string"
- },
- "type": {
- "const": "observation",
- "default": "observation",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "title",
- "file_path",
- "permalink",
- "category",
- "content",
- "created_at"
- ],
- "title": "ObservationSummary",
- "type": "object"
- },
- "RelationSummary": {
- "description": "Simplified relation representation.",
- "properties": {
- "created_at": {
- "format": "date-time",
- "title": "Created At",
- "type": "string"
- },
- "file_path": {
- "title": "File Path",
- "type": "string"
- },
- "from_entity": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "From Entity"
- },
- "permalink": {
- "title": "Permalink",
- "type": "string"
- },
- "relation_type": {
- "title": "Relation Type",
- "type": "string"
- },
- "title": {
- "title": "Title",
- "type": "string"
- },
- "to_entity": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "To Entity"
- },
- "type": {
- "const": "relation",
- "default": "relation",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "title",
- "file_path",
- "permalink",
- "relation_type",
- "created_at"
- ],
- "title": "RelationSummary",
- "type": "object"
- },
- "SearchItemType": {
- "description": "Types of searchable items.",
- "enum": [
- "entity",
- "observation",
- "relation"
- ],
- "title": "SearchItemType",
- "type": "string"
- }
-}