{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/robosystems-ai/json-schema/robosystems-ai-update-graph-metadata-op-schema.json",
  "title": "UpdateGraphMetadataOp",
  "description": "Body for the update-graph-metadata operation.\n\nPartial update — only supplied (non-null) fields change, so a caller\nediting just the display name need not resend the description and tags.\nBecause `None` means \"leave alone\", clearing a field uses its empty\nvalue instead: pass `\"\"` to clear the description and `[]` to clear\nthe tags. `graph_name` cannot be cleared; it is the graph's label\neverywhere it is listed.\n\nThis is the platform-level label for the graph, independent of the\nentity name shown on financial statements — change that through\n`POST /extensions/roboledger/{graph_id}/operations/update-entity`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/robosystems-ai-graph-operations-api-openapi.yml#/components/schemas/UpdateGraphMetadataOp",
  "properties": {
    "graph_name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Graph Name",
      "description": "New display name. Omit to leave unchanged; cannot be cleared."
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1000
        },
        {
          "type": "null"
        }
      ],
      "title": "Description",
      "description": "New description. Omit to leave unchanged; pass '' to clear."
    },
    "tags": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 20
        },
        {
          "type": "null"
        }
      ],
      "title": "Tags",
      "description": "Replaces the full tag list (not a merge). Omit to leave unchanged; pass [] to clear. Tags are trimmed, de-duplicated, and capped at 50 characters each."
    }
  },
  "type": "object"
}