{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/studiomeyer-io/json-schema/studiomeyer-io-learning-added-schema.json",
  "title": "LearningAdded",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/memory-openapi.json#/components/schemas/LearningAdded",
  "type": "object",
  "properties": {
    "success": {
      "const": true
    },
    "action": {
      "const": "ADDED"
    },
    "id": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "content": {
      "type": "string"
    },
    "project": {
      "type": [
        "string",
        "null"
      ]
    },
    "memoryType": {
      "type": "string",
      "enum": [
        "episodic",
        "semantic"
      ]
    },
    "agentId": {
      "type": "string"
    },
    "similarTo": {
      "type": "string"
    },
    "similarity": {
      "type": "number"
    },
    "similarNotice": {
      "type": "string"
    }
  },
  "required": [
    "success",
    "action",
    "id",
    "category",
    "content",
    "project",
    "memoryType"
  ]
}