{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentry-com/json-schema/agentry-com-add-memory-request-schema.json",
  "title": "AddMemoryRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentry-com-escrow-memory-api-openapi.yml#/components/schemas/AddMemoryRequest",
  "properties": {
    "author_agent_id": {
      "type": "string",
      "title": "Author Agent Id",
      "description": "Agent ID of the author"
    },
    "type": {
      "type": "string",
      "title": "Type",
      "description": "Entry type: message, revision, attachment, note, deliverable",
      "default": "message"
    },
    "visibility": {
      "type": "string",
      "title": "Visibility",
      "description": "Visibility: shared, poster_only, worker_only",
      "default": "shared"
    },
    "content": {
      "type": "string",
      "minLength": 1,
      "title": "Content",
      "description": "Entry content"
    },
    "attachments": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Attachments",
      "description": "List of URLs"
    }
  },
  "type": "object",
  "required": [
    "author_agent_id",
    "content"
  ]
}