ContractSpec docs

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.

health

Unified health and wearable data sync for activities, workouts, sleep, biometrics, nutrition, and webhooks.

  • Type: feature
  • Version: 1.0.0
  • Stability: experimental
  • Owners: @platform.integrations
  • field.key.label
    health
    field.version.label
    1.0.0
    field.type.label
    feature
    field.title.label
    health
    field.description.label

    Unified health and wearable data sync for activities, workouts, sleep, biometrics, nutrition, and webhooks.

  • Type: feature
  • Version: 1.0.0
  • Stability: experimental
  • Owners: @platform.integrations
  • field.tags.label
    health,wearables,integrations
    field.owners.label
    @platform.integrations
    field.stability.label
    experimental

    Unified health and wearable data sync for activities, workouts, sleep, biometrics, nutrition, and webhooks.

    Operations (11)

    `health.activities.list` (v1.0.0)

    `health.activities.sync` (v1.0.0)

    `health.workouts.list` (v1.0.0)

    `health.workouts.sync` (v1.0.0)

    `health.sleep.list` (v1.0.0)

    `health.sleep.sync` (v1.0.0)

    `health.biometrics.list` (v1.0.0)

    `health.biometrics.sync` (v1.0.0)

    `health.nutrition.list` (v1.0.0)

    `health.nutrition.sync` (v1.0.0)

    `health.webhooks.ingest` (v1.0.0)

    Source Definition

    import { defineFeature } from '@lssm-tech/lib.contracts-spec/features';
    
    export const HealthFeature = defineFeature({
    	meta: {
    		key: 'health',
    		version: '1.0.0',
    		title: 'Health Integrations',
    		description:
    			'Unified health and wearable data sync for activities, workouts, sleep, biometrics, nutrition, and webhooks.',
    		domain: 'integrations',
    		owners: ['@platform.integrations'],
    		tags: ['health', 'wearables', 'integrations'],
    		stability: 'experimental',
    	},
    	operations: [
    		{ key: 'health.activities.list', version: '1.0.0' },
    		{ key: 'health.activities.sync', version: '1.0.0' },
    		{ key: 'health.workouts.list', version: '1.0.0' },
    		{ key: 'health.workouts.sync', version: '1.0.0' },
    		{ key: 'health.sleep.list', version: '1.0.0' },
    		{ key: 'health.sleep.sync', version: '1.0.0' },
    		{ key: 'health.biometrics.list', version: '1.0.0' },
    		{ key: 'health.biometrics.sync', version: '1.0.0' },
    		{ key: 'health.nutrition.list', version: '1.0.0' },
    		{ key: 'health.nutrition.sync', version: '1.0.0' },
    		{ key: 'health.webhooks.ingest', version: '1.0.0' },
    	],
    	events: [],
    	presentations: [],
    	opToPresentation: [],
    	presentationsTargets: [],
    	capabilities: {
    		provides: [{ key: 'health', version: '1.0.0' }],
    		requires: [{ key: 'identity', version: '1.0.0' }],
    	},
    });