OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Create a new user account with the provided email
Goal
Create a new user account
Context
User account management
Source Definition
import { defineCommand } from '@lssm-tech/lib.contracts-spec';
import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
export const CreateUser = defineCommand({
meta: {
key: 'user.create',
version: '1.0.0',
goal: 'Create a new user account',
description: 'Create a new user account with the provided email',
owners: ['@team'],
tags: ['user'],
stability: 'stable',
context: 'User account management',
},
io: {
input: UserInput,
output: UserInput,
},
policy: {
auth: 'anonymous',
},
});