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.

wealth.account.create

Create a financial account.

  • Type: operation (command)
  • Version: 1.0.0
  • Stability: stable
  • Owners: examples.wealth-snapshot
  • Tags: wealth, account, create
  • File: packages/examples/wealth-snapshot/src/operations/index.ts
  • field.key.label
    wealth.account.create
    field.version.label
    1.0.0
    field.type.label
    operation (command)
    field.title.label
    wealth.account.create
    field.description.label

    Create a financial account.

  • Type: operation (command)
  • Version: 1.0.0
  • Stability: stable
  • Owners: examples.wealth-snapshot
  • Tags: wealth, account, create
  • File: packages/examples/wealth-snapshot/src/operations/index.ts
  • field.tags.label
    wealth,account,create
    field.owners.label
    examples.wealth-snapshot
    field.stability.label
    stable

    Create a financial account.

    Goal

    Track account balances.

    Context

    Onboarding/import.

    Source Definition

    import { defineCommand, defineQuery } from '@lssm-tech/lib.contracts-spec';
    import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
    
    export const CreateAccountContract = defineCommand({
    	meta: {
    		key: 'wealth.account.create',
    		version: '1.0.0',
    		stability: 'stable',
    		owners: ['examples.wealth-snapshot'],
    		tags: ['wealth', 'account', 'create'],
    		description: 'Create a financial account.',
    		goal: 'Track account balances.',
    		context: 'Onboarding/import.',
    	},
    	io: { input: CreateAccountInput, output: AccountModel },
    	policy: { auth: 'user' },
    });