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.
Platform primitives tour journey for exploring ContractSpec core features
Operations (2)
•
`learningJourney.platformTour.recordEvent` (v1.0.0)
•
`learningJourney.platformTour.getTrack` (v1.0.0)
Presentations (2)
•
`learning.journey.platform.track` (v1.0.0)
•
`learning.journey.platform.widget` (v1.0.0)
Source Definition
/**
* Learning Journey Platform Tour Feature Module Specification
*
* Defines the feature module for platform primitives tour journey.
*/
import { defineFeature } from '@lssm-tech/lib.contracts-spec';
/**
* Learning Journey Platform Tour feature module that bundles
* platform-specific tour track operations and presentations.
*/
export const LearningJourneyPlatformTourFeature = defineFeature({
meta: {
key: 'learning-journey-platform-tour',
version: '1.0.0',
title: 'Learning Journey: Platform Tour',
description:
'Platform primitives tour journey for exploring ContractSpec core features',
domain: 'learning-journey',
owners: ['@examples.learning-journey.platform-tour'],
tags: ['learning', 'platform', 'tour', 'journey'],
stability: 'experimental',
},
// All contract operations included in this feature
operations: [
{ key: 'learningJourney.platformTour.recordEvent', version: '1.0.0' },
{ key: 'learningJourney.platformTour.getTrack', version: '1.0.0' },
],
// Events emitted by this feature
events: [],
// Presentations associated with this feature
presentations: [
{ key: 'learning.journey.platform.track', version: '1.0.0' },
{ key: 'learning.journey.platform.widget', version: '1.0.0' },
],
// Link operations to their primary presentations
opToPresentation: [
{
op: { key: 'learningJourney.platformTour.getTrack', version: '1.0.0' },
pres: { key: 'learning.journey.platform.track', version: '1.0.0' },
},
],
// Target requirements for multi-surface rendering
presentationsTargets: [
{
key: 'learning.journey.platform.track',
version: '1.0.0',
targets: ['react', 'markdown', 'application/json'],
},
{
key: 'learning.journey.platform.widget',
version: '1.0.0',
targets: ['react'],
},
],
// Capability requirements
capabilities: {
requires: [{ key: 'identity', version: '1.0.0' }],
},
docs: ['docs.learning-journey.platform-tour'],
});