{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/membase-ai/json-schema/membase-ai-document-body-schema.json",
  "title": "DocumentBody",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/membase-ai-agent-protocol.json#/components/schemas/DocumentBody",
  "additionalProperties": false,
  "properties": {
    "content": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "The document's full text.",
      "title": "Content"
    },
    "custom_id": {
      "default": "",
      "description": "Your own id; adding the same custom_id again is a no-op.",
      "maxLength": 200,
      "title": "Custom Id",
      "type": "string"
    },
    "title": {
      "default": "",
      "maxLength": 200,
      "title": "Title",
      "type": "string"
    },
    "url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "A public web address to fetch instead.",
      "title": "Url"
    }
  },
  "type": "object"
}