Objects
Creating Objects

Creating Objects

Go to Team → Objects and click Add Object.

Objects Team Tab

Enter a name and paste or write your JSON. Rulebricks detects whether it's a JSON Schema or plain JSON Object automatically.

Good for quick definitions when you know exactly what structure you need.

Using Objects in Rules

When creating a rule, click From Object to pull fields from an existing Object:

Create Rule Using Object

Select the fields you need and they're added to your rule's schema—correctly typed and named.

Automatic Dynamic Values

When you save a JSON Schema with enum fields, Rulebricks extracts those values and creates Dynamic Values:

Objects Create Values

These appear as dropdown options in your rule conditions, so instead of typing "gold" you select it from a list. Fewer typos, faster rule building.

💡

Objects can be used to inform rules and contexts. Update the Object and you have a single source of truth for that data structure.