{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mnemoverse-com/json-schema/mnemoverse-com-write-request-schema.json",
  "title": "WriteRequest",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mnemoverse-com-openapi.yml#/components/schemas/WriteRequest",
  "type": "object",
  "required": [
    "content"
  ],
  "properties": {
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 10000,
      "description": "The memory to store — a preference, decision, lesson, or fact"
    },
    "concepts": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Key concepts for linking related memories"
    },
    "domain": {
      "type": "string",
      "description": "Namespace to organize memories (e.g. 'engineering', 'user:alice')",
      "default": "general"
    }
  }
}