Skip to content

Show metamodel

The effective metamodel: types with inherited properties and statuses, properties with whether they count to the version, relation kinds, statuses, meanings.

Command metamodel.get. Reads the workspace and changes no file.

No input.

Field Type Required Description
types array of effectiveType yes The types with inheritance resolved (SR-012), in metamodel order; statuses are the statuses each type offers (#306).
properties array of property yes The property definitions as written, except that each carries content, false when not written: whether a change of its value gives a new version and makes evidence and relations outdated (D-057, #624).
relations array of relationKind yes
statuses array of status yes
meanings object yes Every built-in meaning of metamodel.schema.json (meaning of types, properties and relation kinds) -> the keys whose own definition declares it, in metamodel order; empty if unassigned (SR-013 AK3). In a valid metamodel a type or property meaning has at most one key, a relation meaning any number. Types that inherit a meaning, or repeat the one they inherit, are not listed; types shows their effective meaning.
problems array of problem no

In the command prompt (Ctrl+Shift+P, macOS ⌘⇧P): the action Show metamodel.

reqseq metamodel get, with --json for the output as JSON. Its help:

Usage: reqseq metamodel get [options]
The effective metamodel: types with inherited properties and statuses,
properties with whether they count to the version, relation kinds, statuses,
meanings.
Options:
--input <json|@file|-> command input as JSON: inline, from a file, or from
standard input
--workspace <path> workspace root (default: nearest folder upwards with
reqseq-workspace.yaml)
--json print exactly the command output as JSON
--yaml print the whole command output as YAML, problems one
per line
-h, --help show help

POST /v1/commands/metamodel.get on the local API (reqseq serve api), with the input as the JSON body; the answer is the output.

Tool metamodel_get of the MCP server (reqseq mcp), with the input as its arguments.