Define Your Business Universe Model, manage, and relate any business entity—from customers and products to orders and events—with a simple, declarative API. Transform your core data into programmable, intelligent assets.
Join waitlist
import { Nouns } from 'nouns.do';
const nouns = new Nouns({ apiKey: 'your_api_key' });
const customer = await nouns.entities.define({
name: 'Customer',
schema: {
id: { type: 'string', unique: true, primary: true },
name: { type: 'string', required: true },
email: { type: 'string', format: 'email', unique: true },
status: { type: 'string', enum: ['active', 'prospect', 'churned'], default: 'prospect' },
},
relations: {
orders: {
type: 'hasMany',
target: 'Order',
foreignKey: 'customerId'
}
}
});
// Your 'Customer' entity is now live and accessible via API.