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.networth.snapshot_created

A net worth snapshot was generated.

  • Type: event (event)
  • Version: 1.0.0
  • File: packages/examples/wealth-snapshot/src/events.ts
  • ```typescript

    import { defineEvent, StabilityEnum } from '@lssm-tech/lib.contracts-spec';

    field.key.label
    wealth.networth.snapshot_created
    field.version.label
    1.0.0
    field.type.label
    event (event)
    field.title.label
    wealth.networth.snapshot_created
    field.description.label

    A net worth snapshot was generated.

  • Type: event (event)
  • Version: 1.0.0
  • File: packages/examples/wealth-snapshot/src/events.ts
  • ```typescript

    import { defineEvent, StabilityEnum } from '@lssm-tech/lib.contracts-spec';

    field.tags.label
    field.owners.label
    field.stability.label

    A net worth snapshot was generated.

    Source Definition

    import { defineEvent, StabilityEnum } from '@lssm-tech/lib.contracts-spec';
    import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
    
    export const NetWorthSnapshotCreatedEvent = defineEvent({
    	meta: {
    		key: 'wealth.networth.snapshot_created',
    		version: '1.0.0',
    		description: 'A net worth snapshot was generated.',
    		stability: StabilityEnum.Experimental,
    		owners: [],
    		tags: [],
    	},
    	payload: defineSchemaModel({
    		name: 'NetWorthSnapshotEventPayload',
    		description: 'Net worth snapshot payload',
    		fields: {
    			netWorth: { type: ScalarTypeEnum.Float_unsecure(), isOptional: false },
    			totalAssets: { type: ScalarTypeEnum.Float_unsecure(), isOptional: false },
    			totalLiabilities: {
    				type: ScalarTypeEnum.Float_unsecure(),
    				isOptional: false,
    			},
    			currency: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
    			orgId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
    			asOf: { type: ScalarTypeEnum.DateTime(), isOptional: false },
    		},
    	}),
    });