{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xmemo-dev/json-schema/xmemo-dev-patch-v1-memories-memoryid-request-schema.json",
  "title": "PatchV1MemoriesMemoryidRequest",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/xmemo-dev-openapi-generated.yml#/components/schemas/PatchV1MemoriesMemoryidRequest",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    },
    "path": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "source": {
      "type": "string"
    },
    "logic_path": {
      "type": "string"
    },
    "embedding": {
      "type": "array",
      "description": "number array or null"
    },
    "bucket": {
      "type": "string"
    },
    "semantic_key": {
      "type": "string"
    },
    "memory_type": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "superseded_by": {
      "type": "string"
    },
    "embedding_provider": {
      "type": "string"
    },
    "embedding_model": {
      "type": "string"
    },
    "embedding_dimension": {
      "type": "integer"
    },
    "importance": {
      "type": "number"
    },
    "confidence": {
      "type": "number"
    },
    "expires_at": {
      "type": "string"
    },
    "scope": {
      "type": "string"
    },
    "team_id": {
      "type": "string"
    },
    "provenance": {
      "type": "object"
    },
    "supersession_reason": {
      "type": "string"
    },
    "merge_metadata": {
      "type": "boolean",
      "description": "default true"
    },
    "merge_provenance": {
      "type": "boolean",
      "description": "default true"
    },
    "detect_conflicts": {
      "type": "boolean",
      "description": "default true"
    }
  }
}