Product pillar · v0.10.0
feature-matrix FeatureMatrix
Feature matrix defining competitive comparison dimensions.
$id · https://corpospec.com/schemas/v0.10.0/feature-matrix.schema.json
Fields
| Field | Type | Required | Description |
|---|---|---|---|
| dimensions | FeatureDimension[] | yes | |
| id | PathRef | yes | Path-based cross-reference relative to .corpospec/ root. Pattern: `^[a-z0-9_-]+(/[a-z0-9_.-]+)+$` |
| name | string | yes | |
| custom | FeatureMatrixCustom? | — | |
| description | string? | — | |
| our_features | PathRef[] | — | PathRefs to `ProductFeature` records that populate the "our column" of the matrix. Keeps the feature inventory (`product/features/*.yaml`) as the single source of truth instead of duplicating feature names on every matrix dimension. Competitors' feature presence is scored per dimension on each `Competitor` record separately. |
Definitions
Shared types referenced within this schema.
FeatureDimension
A dimension in a competitive feature matrix.
type: object
FeatureMatrixCustom
Typed extension fields for FeatureMatrix.
type: object
PathRef
Path-based cross-reference relative to .corpospec/ root.
Pattern: `^[a-z0-9_-]+(/[a-z0-9_.-]+)+$`
pattern: ^[a-z0-9_-]+(/[a-z0-9_.-]+)+$
Reference in your YAML
# yaml-language-server: $schema=https://corpospec.com/schemas/v0.10.0/feature-matrix.schema.json