workspace.yaml
workspace.yaml is the one file at the root of the Workspace folder. It defines the Teams that own Elements and the Environments that Services run in, once, so every Project means the same thing by payments or prod. Everything else belongs to a Project.
Example
Section titled “Example”The Kitchen sink’s:
# Kitchen sink: one of every Element type and state the viewer draws.teams: core: name: Core edge: name: Edge data: name: Dataenvironments: prod: name: ProductionFields
Section titled “Fields”workspace.yaml sits at the Workspace root and defines the Teams and Environments every Project uses.
Generated from schemas/workspace.schema.json, which editors can use for completion and validation. <id> stands for a key you choose; [] for each item of a list.
| Field | Type | Required | Notes |
|---|---|---|---|
teams |
map of id → object | ||
teams.<id>.name |
string | yes | |
teams.<id>.description |
string | ||
teams.<id>.links |
list of object | ||
teams.<id>.links[].label |
string | yes | |
teams.<id>.links[].url |
string | yes | Format: uri. |
environments
Section titled “environments”| Field | Type | Required | Notes |
|---|---|---|---|
environments |
map of id → object | ||
environments.<id>.name |
string | yes | |
environments.<id>.description |
string |