Style
object type
styleType comes from the canned registry (simple | service | kit | bundle — all four realized; kit/bundle variants bear per-variant VariantComponent BOMs since the component slice) and is IMMUTABLE. The scheme is FROZEN once any Product exists. Org availability = the OrgStyle selection; zero dimensions = the corner-store single-cell case.
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
sysId | String String! | The group-scoped human-facing system id (ST-…). |
type | String String! | The kind of record — always Style here. |
caption | String String! | The record’s display name — what people see it called. |
status | String String! | The FSM state: active | inactive | doomed. |
parentId | ID ID! | The parent org group; for a Style parentId === rootId. |
rootId | ID ID! | The org-group family root. |
createdAt | String String! | When the record was created, as a UTC timestamp. |
updatedAt | String String! | When the record last changed, as a UTC timestamp. |
revisionNum | Int Int! | How many times this record has been edited; the first save is 0. |
revision | ID ID! | The OCC revision token — supply it on every mutation of this record; rotates on every write. |
refCaptions | RefCaption [RefCaption!]! | The server-composed captions of this record's declared references (the referenced-caption rule) — one row per referenced id; see RefCaption. |
styleType | StyleType StyleType! | The style kind — set at creation, IMMUTABLE thereafter. |
scheme | StyleSchemeEntry [StyleSchemeEntry!] | The ORDERED option-space dimensions. Every stored entry carries its resolved tier; absent/empty = zero dimensions. FROZEN once any Product exists. |
brandId | ID | The optional 0..1 Brand — editable, EXPLICIT-null-clearable; absent = unbranded. |
sizeRunId | ID | The optional 0..1 SizeRun this style fills its matrix with: the run must be ACTIVE and over a group IN the scheme; editable, EXPLICIT-null-clearable (the brandId CG-a shape); absent = each dimension falls to its group default run, if any. The matrix read (styleStockMatrix) carries the RESOLVED run per axis. |
seasonIds | ID [ID!] | The Season memberships — wholesale-replace list; absent = none. |
categoryPlacements | StylePlacementEntry [StylePlacementEntry!] | The category placements; wholesale-replace; absent = unplaced. |
tagIds | ID [ID!] | The Tag set — wholesale-replace list; absent = untagged. |
characteristicEntries | StyleCharacteristicEntry [StyleCharacteristicEntry!] | The characteristic VALUES; wholesale-replace; absent = none. |
code | String | Optional mutable merchant reference code; uniqueness NOT enforced (the code stance). |
taxCategory | TaxCategory | The tax classification (the canned TaxCategory registry; T-j) — ABSENT = standard (the default; revert = set 'standard'). Editable. The flagged Product-level override stays deferred. |