JSON schemas
The adapter SDK includes these files in its tarball:
| Package path | Contract |
|---|---|
@genetic-assembly/sdk/schemas/problem-bundle.schema.json | Problem, variables, objectives, constraints, and artifact references |
@genetic-assembly/sdk/schemas/adapter-launch.schema.json | Runtime command, adapter version, environment, and limits |
@genetic-assembly/sdk/schemas/adapter-protocol.schema.json | NDJSON protocol envelopes |
Use the schemas with your JSON validator or editor. They complement server validation and the adapter conformance harness; schemas alone do not verify mathematical determinism or ordering.
The generated SDK types describe TypeScript usage. The protocol guide explains message lifecycle and payload limits.
Download schemas
Study contracts
The SDK exports Zod schemas and inferred TypeScript types from one contract source. Generated JSON Schemas are shipped in @genetic-assembly/sdk/schemas/: study, evaluation, measurement, and decision. Runtime checks also enforce relational rules such as unique categories, valid baselines, and disjoint seed sets. Study schema version is 2.