suite_doc_detect_spec
Detects the Kinetic Gain Suite spec of a JSON document by inspecting its top-level *_version field. Recognizes all 12 specs, returning 'unknown' for unmatched documents.
Instructions
Detect which Kinetic Gain Suite spec a JSON document is by sniffing its top-level *_version field. Returns { spec, version_field, version }. Recognises all 12 specs; returns spec='unknown' for anything else.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes |