Local developer tool

Decision Schema Builder

Define Choice and Boolean questions visually, then copy a validated generic schema as JSON or JavaScript.

Everything runs in your browser. This tool does not call Jev or generate an external API payload.

Start from an example

Example gallery

Load a generic example, then adapt it to your own decision workflow.

Agent Tool Selection

Choose the next tool and decide whether a person should review the action.

Customer Support Routing

Route a support request and flag cases that need human escalation.

Code Review Gate

Choose a deployment outcome and determine whether approval is required.

Define the decision

Builder

Decision name is required.

Question 1

Question 1

Question 1 needs question text.

Options

Option 1 in question 1 is required.

Option 2 in question 1 is required.

Resolve 4 issues to generate output.

Live output

Output preview

Complete the required fields to generate valid output.

Decision schema basics

What is a decision schema?

A decision schema is a structured description of the questions a workflow needs to answer. It gives each question a defined type and a known set of allowed answers.

Structured decisions make AI workflows easier to validate, route, and connect to later steps because downstream code receives predictable values instead of unstructured prose.

Generic Schema

Illustrative Example

This example is a tool-neutral format, not an official Jev API payload.

{
  "schemaVersion": 1,
  "name": "Code review gate",
  "questions": [
    {
      "type": "choice",
      "question": "Should this code be deployed?",
      "options": [
        "Deploy",
        "Review",
        "Reject"
      ]
    },
    {
      "type": "boolean",
      "question": "Does this change need human approval?",
      "options": [
        true,
        false
      ]
    }
  ]
}

Common uses

Where structured decisions help

  • Agent tool selection
  • Customer support routing
  • Code review gates

How it works

Define, validate, copy

Give the decision a name, add questions, select each question type, and fill in Choice options. The preview updates when the schema is valid.

Supported types

Choice and Boolean

Choice questions accept two or more unique text options. Boolean questions use fixed true and false values.

Limitations

Intentionally narrow

V1 does not support scoring, ranking, advanced rules, saved history, external integrations, or provider-specific payloads.

Evidence

What this tool is based on

The source establishes the broader typed-decision context. The builder's generic schema and examples are explicitly illustrative and are not copied from an API contract.

Sources