Orbit Logo
Core Features/Orbit Flow

Declarative Schema

Orbit Flow uses a declarative schema system to describe what UI components should be rendered, rather than hardcoding layouts or logic. This allows AI agents (or developers) to return a JSON structure that the Orbit App understands and converts into dynamic dashboards.


Why Declarative?

  • AI-friendly: LLMs can easily output structured JSON, making AI-generated dashboards seamless.
  • Consistent: All components follow the same rules and inherit Orbit styling, layouts, and interactivity.
  • Flexible: Add, remove, or rearrange components without writing frontend code.
  • Extensible: Developers can define new component types by extending the schema definition.

Core Schema Structure

Every Flow schema follows this general format:

{
  "type": "component-type",
  "title": "Optional title",
  "config": {
    // component-specific settings
  },
  "data": {
    // data required for rendering
  }
}

Last updated on