Skip to content

standard-model-header schema (v0.2)

The 0.2.0 file is validated by the normative JSON Schema published at its canonical URL:

Closed (non-generic) header shape — the schema root for the committed standard-model-header JSON Schema and the type plain-JSON consumers read. The generic ModelDocumentHeader stays the authoring surface.

PropertyTypeRequiredDescription

Parser/exporter adapter identity — distinct from standard and schema versions.

PropertyTypeRequiredDescription
idstringyes
versionstringyes
PropertyTypeRequiredDescription
mode"authored"yes
adoptedFromSourceBindingno

Type: AuthoredAuthority | ReferenceAuthority | ProjectionAuthority

Type: string

Type: JsonPrimitive | JsonValue[] | Record<string, unknown>

Type: "ddd" | "dsm" | "c4" | "context-map" | "state-lens"

PropertyTypeRequiredDescription
projectIdstringyes
familyOwnerFamilyIdyesA standard family, or one of the existing models that remain semantic owners (plan README §4 decision 6) so a projection can name its owner.
artifactIdstringyesOpaque UUID — never a filename or display name.
revisionRevisionPolicyyes

ModelDocumentHeader<StandardModelFamilyId,Authority>

Section titled “ModelDocumentHeader<StandardModelFamilyId,Authority>”
PropertyTypeRequiredDescription
kind"standard-model-document"yes
schemaVersionstringyesNative envelope schema version — see STANDARD_MODEL_ENVELOPE_SCHEMA_VERSION .
familyStandardModelFamilyIdyes
artifactIdstringyesOpaque UUID — never a filename or display name.
titlestringyes
profileProfileRefyes
standardStandardRefno
authorityAuthorityyes
descriptionstringno
originOriginRecordyes
ownerstringno0.2.0 — owner subject (ai-registry "who owns it"), the recipe-manifest field's twin (RecipeManifest.owner). PROVISIONAL vocabulary pending the first real family body. Content: covered by documentHash — an ownership change moves the content address.
statusRecipeLifecycleStatusno0.2.0 — publication lifecycle status, the recipe-manifest field's twin (RecipeLifecycleStatus). PROVISIONAL pending a real family body — revisit against AuthorityClass (context/canister.ts) when families land. EXCLUDED from documentHash (digest.ts): a status transition must not move the content address (the recipe digest-split lesson). No serving gate reads it yet — no standard-model serving path exists.

Type: "created" | "imported" | "adopted" | "migrated" | "projected"

PropertyTypeRequiredDescription
kindOriginKindyes
atstringyesISO-8601 timestamp.
bystringnoPrincipal identifier. Display names are not identity.
toolobjectno
sourceResourceIdstringno
migrationIdstringno
notestringno

Type: StandardModelFamilyId | LegacyOwnerModelId

ContextBrew profile identity — narrows a family’s semantics.

PropertyTypeRequiredDescription
idstringyes
versionstringyes
PropertyTypeRequiredDescription
mode"projection"yes
ownerModelArtifactRefyes
transformTransformRefyes

0.6.0 — recipe publication lifecycle, borrowing ai-registry’s versions.json status vocabulary verbatim (draft, pending_review, active, blocked, deprecated, archived) so a later registry export maps 1:1 (see docs/research/2026-11-05-ai-registry-spec-tracking.md). yanked is deliberately NOT borrowed — a release/marketplace concept, already carried by ctxbazaar’s yanked_at/yank_reason. Distinct layers on purpose: FACET_STATUSES (facets/types.ts) is the facet lifecycle, RecipeStatus (recipes/execution.ts) is execution state, and review workflows (recipe_server Owners, rdos reviewer verdicts) may drive transitions in follow-ups — nothing enforces this field yet.

Type: "draft" | "pending_review" | "active" | "blocked" | "deprecated" | "archived"

PropertyTypeRequiredDescription
mode"reference"yes
sourceSourceBindingyes

Revision policy of a reference (technical contracts §2.3). pinned carries the revision and optionally the content hash it was pinned against.

Type: object

Binding of a document to an immutable source resource (SM-DATA-01). The sha256 is always the digest of the exact imported bytes (SM-DATA-08).

PropertyTypeRequiredDescription
resourceIdstringyes
sha256stringyes
mediaTypestringyes
originalFilenamestringno
adapterAdapterRefyesAdapter that produced the current interpretation of the bytes.
interpretationRevisionstringyesRevision of the parsed interpretation — rebuildable, never hand-edited.
standardStandardRefno

Type: "bpmn" | "seq" | "uml-class" | "er" | "stm" | "dmn" | "use-case" | "activity" | "dfd" | "uml-component" | "deployment" | "archimate" | "sysml" | "cmmn" | "timing" | "petri" | "api-contracts"

External standard identity, e.g. \{ name: "BPMN", version: "2.0.2" \}.

PropertyTypeRequiredDescription
namestringyes
versionstringyes
namespacestringno
PropertyTypeRequiredDescription
idstringyes
versionstringyes
settingsRecord<string, JsonValue>no

See the schemas overview for the versioning policy and how these files are generated and kept in sync.