API referenceDevfile schema

API reference

Devfile schema - Version 2.0.0

Devfile describes the structure of a cloud-native workspace and development environment.

Predefined, ready-to-use, workspace-related commands

List of the workspace components, such as editor and plugins, user-provided containers, or other types of components

Bindings of commands to events. Each command is referred-to by its name.

Optional metadata

Parent workspace template

Projects worked on in the workspace, containing names and sources locations

Devfile schema version

Match pattern: ^([2-9])\.([0-9]+)\.([0-9]+)(\-[0-9a-z-]+(\.[0-9a-z-]+)*)?(\+[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?$

StarterProjects is a project that can be used as a starting point when bootstrapping new projects