Schemas
Schemas define the structure and format of your test data. They act as blueprints that tell the platform what fields exist and their data types.
Where you'll work with schemas
- Schema Selection: Browse, upload, or select schemas for your project
- Project page: Link schemas to specific projects
- Library: View all available schemas in your workspace
Understanding schemas
A schema is like a template that describes:
- What fields your data will have (e.g., name, email, age)
- The data type for each field (string, number, date, etc.)
- Required vs. optional fields
- Length limits, formats, and other constraints
Example: A user schema might define fields like username (string), email (string), age (number), and registration_date (date).
When to use existing schemas
Your team may already have schemas you can reuse:
Benefits of reusing schemas:
- Saves time—no need to create from scratch
- Ensures consistency across team projects
- Already validated and tested by your team
How to select an existing schema:
- Navigate to Schema Selection
- Browse available schemas
- Review the schema structure and fields
- Select the schema that matches your needs
- Link it to your project
When to upload new schemas
You'll need to upload a new schema when:
- Testing a new application or feature not yet in the library
- Working with a unique data structure
- Your application's data model has changed
Supported schema formats:
- JSON Schema
- XML Schema (XSD)
- OpenAPI specifications
- WSDL definitions
How to upload a schema:
- Navigate to Schema Selection
- Click "Upload Schema"
- Select your schema file from your computer
- Give it a clear, descriptive name
- Add a description to help team members understand its purpose
- Submit to make it available for use
When to create a schema from scratch (Coming Soon!)
Typical workflow
After creating, selecting, or uploading a schema:
- Create constraints: Define additional rules for data generation
- Generate a test dataset: Produce actual test data based on the schema and constraints
- Verify and download: Check the generated data meets your needs
Tips for managing schemas
- Use clear names: "Customer-Profile-v2" is better than "schema123"
- Add descriptions: Explain what the schema is for and when to use it
- Version your schemas: Include version numbers when schemas evolve
- Share with your team: Make schemas available to others working on similar projects
- Document changes: Note what changed between versions