{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/robosystems-ai/json-schema/robosystems-ai-remember-op-schema.json",
  "title": "RememberOp",
  "description": "Body for the remember operation (write a semantic memory).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/robosystems-ai-content-operations-api-openapi.yml#/components/schemas/RememberOp",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 10000,
      "minLength": 1,
      "title": "Text",
      "description": "Memory content"
    },
    "source": {
      "type": "string",
      "maxLength": 64,
      "title": "Source",
      "description": "Origin of the memory",
      "default": "api"
    },
    "memory_type": {
      "type": "string",
      "maxLength": 64,
      "title": "Memory Type",
      "description": "Freeform classifier",
      "default": "note"
    },
    "tags": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tags",
      "description": "Optional labels"
    },
    "source_ref": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2048
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Ref",
      "description": "Optional external reference/URI"
    },
    "provenance": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Provenance",
      "description": "Opaque provenance metadata"
    }
  },
  "type": "object",
  "required": [
    "text"
  ]
}