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.
Product detail page with images and reviews
Goal
Provide comprehensive information about a specific product.
Context
Product showcase including images, descriptions, and ratings.
Source Definition
import {
definePresentation,
StabilityEnum,
} from '@lssm-tech/lib.contracts-spec';
import { ProductModel } from './product.schema';
export const ProductDetailPresentation = definePresentation({
meta: {
key: 'marketplace.product.detail',
version: '1.0.0',
title: 'Product Details',
description: 'Product detail page with images and reviews',
domain: 'marketplace',
owners: ['@marketplace-team'],
tags: ['marketplace', 'product', 'detail'],
stability: StabilityEnum.Experimental,
goal: 'Provide comprehensive information about a specific product.',
context: 'Product showcase including images, descriptions, and ratings.',
},
source: {
type: 'component',
framework: 'react',
componentKey: 'ProductDetail',
props: ProductModel,
},
targets: ['react', 'markdown'],
policy: {
flags: ['marketplace.products.enabled'],
},
});