INFORMATIVEACTIVE
Truth Source: Repository schemas and tests are authoritative.
Codegen From Schema
1. Purpose
This document describes how to generate SDK models from the MPLP JSON Schemas (schemas/v2/).
2. Source Schemas
All codegen MUST use the schemas in schemas/v2/ as the single source of truth:
mplp-context.schema.jsonmplp-plan.schema.jsonmplp-confirm.schema.jsonmplp-trace.schema.jsonmplp-role.schema.jsonmplp-dialog.schema.jsonmplp-collab.schema.jsonmplp-extension.schema.jsonmplp-core.schema.jsonmplp-network.schema.json
3. Generated Outputs
| Language | Output Directory | Type |
|---|---|---|
| TypeScript | packages/sdk-ts/src/types/ | Interfaces & Enums |
| Python | packages/sdk-py/src/mplp/model/ | Pydantic v2 Classes |