{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mnemoverse-com/json-schema/mnemoverse-com-write-response-schema.json",
  "title": "WriteResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mnemoverse-com-openapi.yml#/components/schemas/WriteResponse",
  "type": "object",
  "properties": {
    "stored": {
      "type": "boolean",
      "description": "True if the memory passed the write gate (novelty check)"
    },
    "atom_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "ID of the stored memory, or null if filtered"
    },
    "importance": {
      "type": "number",
      "description": "Novelty score (0 to 1): how different the write is from the nearest existing memory in the same domain"
    },
    "reason": {
      "type": "string",
      "description": "Why the memory was stored or filtered"
    }
  }
}