Core Services
Core Services protocol schemas
Service Registry Protocol
Defines the standard built-in services that constitute the ObjectStack Kernel.
This registry is used by the ObjectKernel and HttpDispatcher to:
-
Verify service availability.
-
Route requests to the correct service handler.
-
Type-check service interactions.
Source: packages/spec/src/system/core-services.zod.ts
TypeScript Usage
import { CoreServiceName, KernelServiceMap, ServiceConfig, ServiceCriticality, ServiceStatus } from '@objectstack/spec/system';
import type { CoreServiceName, KernelServiceMap, ServiceConfig, ServiceCriticality, ServiceStatus } from '@objectstack/spec/system';
// Validate data
const result = CoreServiceName.parse(data);CoreServiceName
Allowed Values
metadatadataauthfile-storagesearchcachequeueautomationgraphqlanalyticsrealtimejobnotificationaii18nuiworkflow
ServiceConfig
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| id | string | ✅ | |
| name | Enum<'metadata' | 'data' | 'auth' | 'file-storage' | 'search' | 'cache' | 'queue' | 'automation' | 'graphql' | 'analytics' | 'realtime' | 'job' | 'notification' | 'ai' | 'i18n' | 'ui' | 'workflow'> | ✅ | |
| options | Record<string, any> | optional |
ServiceCriticality
Allowed Values
requiredcoreoptional
ServiceStatus
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| name | Enum<'metadata' | 'data' | 'auth' | 'file-storage' | 'search' | 'cache' | 'queue' | 'automation' | 'graphql' | 'analytics' | 'realtime' | 'job' | 'notification' | 'ai' | 'i18n' | 'ui' | 'workflow'> | ✅ | |
| enabled | boolean | ✅ | |
| status | Enum<'running' | 'stopped' | 'degraded' | 'initializing'> | ✅ | |
| version | string | optional | |
| provider | string | optional | Implementation provider (e.g. "s3" for storage) |
| features | string[] | optional | List of supported sub-features |