Krobar.ai · Schema

GraphResponse

Schema for graph response.

Artificial IntelligenceForecastingBusinessAnalyticsModeling

Properties

Name Type Description
id string
name string
description object
project_id string
created_by object
nodes array
edges array
graph_metadata object
created_at string
updated_at string
updated_by object
version_count object Total number of versions for this graph
latest_version object Latest version number for this graph
time_period_unit object Unit of time for simulation periods (e.g., 'month')
estimation_percentile number Percentile used for estimation calculations
simulation_trials integer Number of simulation trials to run
simulation_time_periods integer Number of time periods to simulate
simulation_goal_node object Node ID used as the simulation goal
simulation_goal_value object Value to reach for the goal node
simulation_goal_direction object Direction for the simulation goal ('MAXIMIZE' or 'MINIMIZE')
simulation_goal_time_period object Time period to use for goal calculation (1-based index)
starting_time_period object Actual start date/time for the simulation
display_timezone object IANA timezone identifier for displaying the start time (e.g., 'America/New_York', 'Europe/London')
parameter_display_mode string How parameters are displayed in the UI
canvas_view string Current view mode of the canvas
illustration_style string Style of illustrations
illustrations object Deprecated top-level illustration field retained for compatibility. Public read payloads use nodes[].illustration_urls.
illustration_urls object Deprecated top-level illustration URL field retained for compatibility. Public read payloads use nodes[].illustration_urls.
errors_by_element object Validation errors organized by graph element type (nodes, edges)
errors_by_ruleset object Validation errors organized by ruleset
is_valid object Whether the graph is valid overall
journey_columns object Number of journey columns for the graph
canvas_view_filters object Filters for the canvas view
tags object Tags for the graph as a list of [string, boolean] pairs, e.g. [['journey', true], ['costs', true]]
team_role object The user's team role for this graph (OWNER, ADMIN, MEMBER, VIEWER)
created_by_name object Name of the user who created this graph
updated_by_name object Name of the user who last updated this graph
client_change_id object Client-supplied change ID used to correlate SSE chains to a specific local edit
client_edit_at object Client local edit timestamp (ISO) echoed back from write requests
View JSON Schema on GitHub

JSON Schema

krobar-ai-graph-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/krobar-ai/json-schema/krobar-ai-graph-response-schema.json",
  "title": "GraphResponse",
  "description": "Schema for graph response.",
  "x-generated": "2026-11-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/krobar-ai-openapi.json#/components/schemas/GraphResponse",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "project_id": {
      "type": "string",
      "format": "uuid",
      "title": "Project Id"
    },
    "created_by": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created By"
    },
    "nodes": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Nodes"
    },
    "edges": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Edges"
    },
    "graph_metadata": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Graph Metadata"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    },
    "updated_by": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Updated By"
    },
    "version_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Version Count",
      "description": "Total number of versions for this graph"
    },
    "latest_version": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Latest Version",
      "description": "Latest version number for this graph"
    },
    "time_period_unit": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Time Period Unit",
      "description": "Unit of time for simulation periods (e.g., 'month')"
    },
    "estimation_percentile": {
      "type": "number",
      "title": "Estimation Percentile",
      "description": "Percentile used for estimation calculations"
    },
    "simulation_trials": {
      "type": "integer",
      "title": "Simulation Trials",
      "description": "Number of simulation trials to run"
    },
    "simulation_time_periods": {
      "type": "integer",
      "title": "Simulation Time Periods",
      "description": "Number of time periods to simulate"
    },
    "simulation_goal_node": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Simulation Goal Node",
      "description": "Node ID used as the simulation goal"
    },
    "simulation_goal_value": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Simulation Goal Value",
      "description": "Value to reach for the goal node"
    },
    "simulation_goal_direction": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "MAXIMIZE",
            "MINIMIZE"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Simulation Goal Direction",
      "description": "Direction for the simulation goal ('MAXIMIZE' or 'MINIMIZE')"
    },
    "simulation_goal_time_period": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Simulation Goal Time Period",
      "description": "Time period to use for goal calculation (1-based index)"
    },
    "starting_time_period": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Starting Time Period",
      "description": "Actual start date/time for the simulation"
    },
    "display_timezone": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Display Timezone",
      "description": "IANA timezone identifier for displaying the start time (e.g., 'America/New_York', 'Europe/London')"
    },
    "parameter_display_mode": {
      "type": "string",
      "title": "Parameter Display Mode",
      "description": "How parameters are displayed in the UI"
    },
    "canvas_view": {
      "type": "string",
      "title": "Canvas View",
      "description": "Current view mode of the canvas"
    },
    "illustration_style": {
      "type": "string",
      "title": "Illustration Style",
      "description": "Style of illustrations"
    },
    "illustrations": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Illustrations",
      "description": "Deprecated top-level illustration field retained for compatibility. Public read payloads use nodes[].illustration_urls."
    },
    "illustration_urls": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Illustration Urls",
      "description": "Deprecated top-level illustration URL field retained for compatibility. Public read payloads use nodes[].illustration_urls."
    },
    "errors_by_element": {
      "anyOf": [
        {
          "additionalProperties": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/$defs/NodeValidationResult"
                },
                {
                  "$ref": "#/$defs/EdgeValidationResult"
                }
              ]
            },
            "type": "array"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Errors By Element",
      "description": "Validation errors organized by graph element type (nodes, edges)"
    },
    "errors_by_ruleset": {
      "anyOf": [
        {
          "additionalProperties": {
            "items": {
              "$ref": "#/$defs/RulesetError"
            },
            "type": "array"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Errors By Ruleset",
      "description": "Validation errors organized by ruleset"
    },
    "is_valid": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Is Valid",
      "description": "Whether the graph is valid overall"
    },
    "journey_columns": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Journey Columns",
      "description": "Number of journey columns for the graph"
    },
    "canvas_view_filters": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "boolean"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Canvas View Filters",
      "description": "Filters for the canvas view"
    },
    "tags": {
      "anyOf": [
        {
          "items": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "boolean"
                }
              ]
            },
            "type": "array"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tags",
      "description": "Tags for the graph as a list of [string, boolean] pairs, e.g. [['journey', true], ['costs', true]]"
    },
    "team_role": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Team Role",
      "description": "The user's team role for this graph (OWNER, ADMIN, MEMBER, VIEWER)"
    },
    "created_by_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created By Name",
      "description": "Name of the user who created this graph"
    },
    "updated_by_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Updated By Name",
      "description": "Name of the user who last updated this graph"
    },
    "client_change_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Change Id",
      "description": "Client-supplied change ID used to correlate SSE chains to a specific local edit"
    },
    "client_edit_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Edit At",
      "description": "Client local edit timestamp (ISO) echoed back from write requests"
    }
  },
  "type": "object",
  "required": [
    "id",
    "name",
    "project_id",
    "nodes",
    "edges",
    "created_at",
    "updated_at",
    "estimation_percentile",
    "simulation_trials",
    "simulation_time_periods",
    "parameter_display_mode",
    "canvas_view",
    "illustration_style",
    "illustrations"
  ],
  "$defs": {
    "EdgeValidationResult": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id",
          "description": "ID of the edge with validation errors"
        },
        "validation_errors": {
          "items": {
            "$ref": "#/$defs/ElementValidationError"
          },
          "type": "array",
          "title": "Validation Errors",
          "description": "List of validation errors for this edge"
        }
      },
      "type": "object",
      "required": [
        "id",
        "validation_errors"
      ],
      "title": "EdgeValidationResult",
      "description": "Schema for validation errors for a specific edge."
    },
    "ElementValidationError": {
      "properties": {
        "rule": {
          "type": "string",
          "title": "Rule",
          "description": "Specific validation rule that was violated"
        },
        "severity": {
          "$ref": "#/$defs/ValidationSeverity",
          "description": "Severity of the error (error, warning, info)"
        },
        "message": {
          "type": "string",
          "title": "Message",
          "description": "Human-readable error message describing the validation issue"
        },
        "technical_message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Technical Message",
          "description": "Technical error message with element IDs and debugging details for developers/LLM"
        },
        "error_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error Code",
          "description": "Machine-readable error code for programmatic handling"
        },
        "affected_elements": {
          "$ref": "#/$defs/GraphElements",
          "description": "Graph elements affected by this error"
        },
        "ruleset": {
          "type": "string",
          "title": "Ruleset",
          "description": "Name of the ruleset that generated this error"
        }
      },
      "type": "object",
      "required": [
        "rule",
        "severity",
        "message",
        "affected_elements",
        "ruleset"
      ],
      "title": "ElementValidationError",
      "description": "Enhanced schema for validation errors with detailed element information."
    },
    "GraphElements": {
      "properties": {
        "nodes": {
          "items": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "type": "array",
          "title": "Nodes",
          "description": "List of affected nodes with id and name pairs"
        },
        "edges": {
          "items": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "type": "array",
          "title": "Edges",
          "description": "List of affected edges with id and name pairs"
        }
      },
      "type": "object",
      "title": "GraphElements",
      "description": "Schema for affected graph elements in validation."
    },
    "NodeValidationResult": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id",
          "description": "ID of the node with validation errors"
        },
        "validation_errors": {
          "items": {
            "$ref": "#/$defs/ElementValidationError"
          },
          "type": "array",
          "title": "Validation Errors",
          "description": "List of validation errors for this node"
        }
      },
      "type": "object",
      "required": [
        "id",
        "validation_errors"
      ],
      "title": "NodeValidationResult",
      "description": "Schema for validation errors for a specific node."
    },
    "RulesetError": {
      "properties": {
        "rule": {
          "type": "string",
          "title": "Rule",
          "description": "Specific validation rule that was violated"
        },
        "severity": {
          "$ref": "#/$defs/ValidationSeverity",
          "description": "Severity of the error (error, warning, info)"
        },
        "message": {
          "type": "string",
          "title": "Message",
          "description": "Error message describing the validation issue"
        },
        "affected_elements": {
          "$ref": "#/$defs/GraphElements",
          "description": "Graph elements affected by this error"
        }
      },
      "type": "object",
      "required": [
        "rule",
        "severity",
        "message",
        "affected_elements"
      ],
      "title": "RulesetError",
      "description": "Schema for errors grouped by ruleset."
    },
    "ValidationSeverity": {
      "type": "string",
      "enum": [
        "error",
        "warning",
        "info"
      ],
      "title": "ValidationSeverity",
      "description": "Enum for validation error severity levels."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/krobar-ai-graph-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.