{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mammoth-io/json-schema/mammoth-io-save-chart-request-schema.json",
  "title": "SaveChartRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mammoth-io-agent-access-api-openapi.yml#/components/schemas/SaveChartRequest",
  "properties": {
    "session_id": {
      "type": "string",
      "minLength": 1
    },
    "turn_id": {
      "type": "string",
      "minLength": 1
    },
    "dashboard_id": {
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "minimum": 1
    },
    "new_dashboard_name": {
      "type": "string",
      "maxLength": 200,
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "session_id",
    "turn_id"
  ]
}