Skip to main content

Overview

Custom Schemas allow you to define the structure of your data before importing it into gu1. Each schema describes the fields, types, validation rules, and metadata for your data source.
Schemas are organization-specific and can be marked as public to share across your organization.

Create Schema

Create a new custom schema for your data source.

Request Body

Schema Data Object

Field Definition

Constraints Object

Response

List Schemas

Get all schemas for your organization with optional filtering.

Query Parameters

Response

Get Schema

Retrieve a specific schema by ID.

Response

Update Schema

Update an existing schema (partial updates supported).

Request Body

Updating a schema’s fields may affect existing mappings. Review dependent mappings before making changes.

Response

Delete Schema

Delete a schema permanently.
Deleting a schema will break existing field mappings that depend on it. Ensure no active mappings reference this schema.

Response

Complete Example

Here’s a complete banking customer schema with all features:

Error Responses

Validation Error

Schema Not Found

Duplicate Schema

Best Practices

  • Use semantic versioning (1.0.0, 1.1.0, 2.0.0)
  • Increment major version for breaking changes
  • Increment minor version for new fields
  • Increment patch version for description updates
  • Provide clear descriptions for each field
  • Include examples for complex field types
  • Document any business rules or constraints
  • Explain the source of the data
  • Always set required: true for mandatory fields
  • Use constraints to enforce data quality
  • Validate email formats with regex patterns
  • Set reasonable min/max values for numbers
  • Mark common schemas as public for organization-wide use
  • Keep sensitive schemas private
  • Document any dependencies between schemas
  • Coordinate schema updates with your team

Next Steps

Create Field Mappings

Map your schema fields to gu1’s entity model

Smart Field Detection

Auto-detect field types from sample data

Import Entities

Use your schema to bulk import entities

Data Mapping Guide

Complete guide to data mapping workflows