composition rule
composition.single-formation
Use an admitted typed single Formation core and full identity.
- product: error
- marketing: error
- public: warning
- docs: warning
Rationale
No separate rationale is authored; the rule statement above is authoritative.
Guidance
No separate guidance is authored. The rule's authored examples and fix policies follow below.
Checker behavior
Message
{captured} is not a valid Canon composition.
Applies in
- heading
- body
- blockquote
- list item
- table cell
- json key
- glossary term
- notation token
Detection
- detector
- composition.single-formation
- kind
- delegated
Authored examples and fix policies
- subtypes
[ { "examples": { "correct": [ { "check_input": { "expectation": { "attempt": { "axis": null, "composition_id": "compose.single-formation", "emphasis": [ "formation.emphasis.kind.none" ], "family": "formation.single.family.contracted", "member_id": "formation.single.identity.contracted.none.none.none", "state": null }, "components": [ { "end": 51, "role": "family", "start": 0 }, { "end": 51, "role": "axis", "start": 0 }, { "end": 51, "role": "state", "start": 0 } ], "kind": "composition-attempt" }, "kind": "typed-value", "node": "notation_token" }, "format": "text", "id": "single-core-valid", "profile": "general-prose", "surface": "docs", "text": "formation.single.identity.contracted.none.none.none" } ], "incorrect": [ { "captured": "invalid single core", "check_input": { "expectation": { "attempt": { "axis": "formation.single.axis.capacity", "composition_id": "compose.single-formation", "emphasis": [ "formation.emphasis.kind.none" ], "family": "formation.single.family.preserved", "member_id": null, "state": "formation.single.state.balanced" }, "components": [ { "end": 19, "role": "family", "start": 0 }, { "end": 19, "role": "axis", "start": 0 }, { "end": 19, "role": "state", "start": 0 } ], "kind": "composition-attempt" }, "kind": "typed-value", "node": "notation_token" }, "format": "text", "id": "single-core-invalid", "outcome_id": "violation", "profile": "general-prose", "surface": "docs", "text": "invalid single core" } ] }, "id": "core", "outcomes": [ { "disposition": "structural", "fix": { "interactive": "retry", "unattended": "retry" }, "id": "violation" } ], "supersedes": [] }, { "examples": { "correct": [ { "check_input": { "expectation": { "attempt": { "axis": null, "composition_id": "compose.single-formation", "emphasis": [ "formation.emphasis.kind.none" ], "family": "formation.single.family.contracted", "member_id": "formation.single.identity.contracted.none.none.none", "state": null }, "components": [ { "end": 51, "role": "family", "start": 0 }, { "end": 51, "role": "axis", "start": 0 }, { "end": 51, "role": "state", "start": 0 } ], "kind": "composition-attempt" }, "kind": "typed-value", "node": "notation_token" }, "format": "text", "id": "single-identity-valid", "profile": "general-prose", "surface": "docs", "text": "formation.single.identity.contracted.none.none.none" } ], "incorrect": [ { "captured": "invalid single identity", "check_input": { "expectation": { "attempt": { "axis": null, "composition_id": "compose.single-formation", "emphasis": [ "formation.emphasis.kind.none" ], "family": "formation.single.family.contracted", "member_id": "compose.single-formation.identity.wrong", "state": null }, "components": [ { "end": 23, "role": "family", "start": 0 }, { "end": 23, "role": "axis", "start": 0 }, { "end": 23, "role": "state", "start": 0 } ], "kind": "composition-attempt" }, "kind": "typed-value", "node": "notation_token" }, "format": "text", "id": "single-identity-invalid", "outcome_id": "violation", "profile": "general-prose", "surface": "docs", "text": "invalid single identity" } ] }, "id": "identity", "outcomes": [ { "disposition": "structural", "fix": { "interactive": "retry", "unattended": "retry" }, "id": "violation" } ], "supersedes": [] } ]