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.
Form for submitting product reviews
Goal
Enable users to submit their feedback and rating for a purchase.
Context
Used in the user order history or product page.
Source Definition
import {
definePresentation,
StabilityEnum,
} from '@lssm-tech/lib.contracts-spec';
import { ReviewModel } from './review.schema';
export const ReviewFormPresentation = definePresentation({
meta: {
key: 'marketplace.review.form',
version: '1.0.0',
title: 'Review Form',
description: 'Form for submitting product reviews',
domain: 'marketplace',
owners: ['@marketplace-team'],
tags: ['marketplace', 'review', 'form'],
stability: StabilityEnum.Experimental,
goal: 'Enable users to submit their feedback and rating for a purchase.',
context: 'Used in the user order history or product page.',
},
source: {
type: 'component',
framework: 'react',
componentKey: 'ReviewForm',
props: ReviewModel,
},
targets: ['react'],
policy: {
flags: ['marketplace.reviews.enabled'],
},
});