project.yaml
A project.yaml marks its folder as a Project. Every other .yaml file in the folder, whatever its name, is part of that Project’s Model, and everything declared there is owned by the Project’s owner unless it says otherwise. Projects don’t nest.
Example
Section titled “Example”The Kitchen sink’s:
id: sinkname: Kitchen Sinkowner: coreid is how other Projects name this one’s Elements, as sink:api. See Add a Project.
Fields
Section titled “Fields”project.yaml marks a folder as a Project and names its default Owner Team.
Generated from schemas/project.schema.json, which editors use for completion, validation and these descriptions on hover. A key that isn’t listed here is an error: unknown-field.
In the Type column:
- id: a lowercase slug of
a-z,0-9and-that starts with a letter or a digit (^[a-z0-9][a-z0-9-]*$).
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
id |
id | yes | The Project’s id, unique in the Workspace. Other Projects write it as the prefix of a Qualified id, such as payments:ledger. |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
name |
string | yes | The Project’s display name. |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
owner |
id | yes | The Team that owns the Project: the id of a Team in workspace.yaml. It is the Owner of every Element and Deployment Target in the Project that sets no owner of its own. |
Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.