schemaId anywhere in Devset — the Flow Builder uses them to power field autocomplete and the Function Studio field tree, while Message Dispatch uses them to validate JSON payloads and encode Protobuf messages before dispatch. Open the Schema Repo at http://localhost:8082/schema-repo.
Adding a JSON Schema
Create a new schema
In the Schema Repo, click Create. A new schema entry opens in the edit panel on the right side of the screen.
Set the schema ID
Enter a unique
schemaId for this schema. This is the identifier you will reference in the Flow Builder (via the Payload Editor) and in Message Dispatch’s Schema section. Choose a name that clearly describes the message type, such as order-placed or user-registered.Paste the JSON Schema
The edit panel defaults to JSON Schema mode. Paste or write your JSON Schema definition into the editor. Here is an example:
Adding a Protobuf Schema
Set the schema ID and select Protobuf
Enter a unique
schemaId, then switch the schema type selector to Protobuf. The edit panel switches to a .proto file editor.Searching the Schema Sidebar
The left sidebar groups schemas by type: JSON schemas appear at the top, Protobuf schemas below. Use the search bar at the top of the sidebar to filter schemas by name. Results narrow as you type, making it quick to find a schema in a large registry.How Schemas Are Used Across Devset
Schemas stored in the Schema Repo integrate with the rest of Devset in two main ways:Flow Builder & Function Studio
Set the
schemaId in the workflow’s DSL (via the Payload Editor in the canvas) to attach a schema to a workflow. The canvas editor and Stage Inspector use the schema to suggest valid field names, and the Function Studio field tree is populated from the schema’s property structure — so you click to pick fields rather than type them by hand.Message Dispatch
Select a schema in the Schema section of a dispatch request. JSON schemas validate the payload before it is sent. Protobuf schemas encode the JSON payload into binary wire format using the linked
.proto definition.Editing a Schema
Click any schema in the sidebar to load it into the edit panel. Make your changes in the editor and click Save. Updates take effect immediately — any workflow or dispatch request referencing thatschemaId will use the updated definition on the next run or send.