Start Here

  • Introduction
  • Quick Start

Core Features

  • Project Settings
  • Schema Builder
  • Dynamic Data
  • Conditional Logic
  • Relationships
  • Consuming your API

Integrations

  • n8n Workflows
  • Make (Integromat)
  • AI Tools

Schema Builder

The visual editor is the heart of Mock66. Learn how to define the shape of your API response using simple blocks.

Core Concepts

A Schema is a blueprint. When you request data from your endpoint, Mock66 looks at this blueprint and constructs a fresh JSON response every time.

Static Values

Fixed data that is the same for every request (e.g., `status: "success"`).

Dynamic Generators

Randomized data using faker.js (e.g., random emails, UUIDs).

You can learn more about Dynamic Data here.

Primitive Fields

These are the basic building blocks of your JSON.

String

Text values. Can be a static word ("active") or a dynamic generator (User Name, City, Color).

Number

Integers or floats. Useful for prices, quantities, or IDs. Static inputs allow you to type a specific number (e.g., 404).

Boolean

True or False. Often used with Conditional Logic to toggle features.

Date (ISO & Timestamp)

We support two formats:ISO 8601(2024-01-01T00:00:00Z) orTimestamp(1704067200000).

Complex Structures

You can nest fields using Objects to create rich data hierarchies.

Object

A container for other fields. Use this to group related data, like an `address` object containing `street`, `city`, and `zip`.

Note on Depth: To maintain performance and prevent infinite loops, nesting is limited to 3 levels deep.
Need to reuse structures? Instead of rebuilding the same object (like "User") in every schema, you can use aSchema Reference (Ref).

Arrays & Lists

Array

Generates a list of repeating items. You can create simple lists of values (like tags) or complex lists of objects (like users).

Two Ways to Use Arrays

1. Array of Primitives

A simple list of values like strings, numbers, or dates. Useful for things like tags, scores, or time-slots.

json
"tags": ["urgent", "new", "sale"],
"scores": [10, 55, 92]
2. Array of References

A list of complex objects defined by another schema. Useful for relationships like "Users" or "Orders".

json
"users": [
  { "id": 1, "name": "John" },
  { "id": 2, "name": "Jane" }
]

Controls

  • Item Type: Select what goes inside the array (String, Number, Reference, etc.).
  • Item Count: Set exactly how many items to generate (Fixed number, max 50).
  • Generators: For primitive arrays, you can use Faker generators (e.g., generate 5 random emails).

On this page

  • Core Concepts
  • Primitive Fields
  • Complex Structures
  • Arrays & Limitations
Previous
Project Settings
Next
Dynamic Data