Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions config/schemas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,18 @@ EOF

The output can be tweaked and inserted into `config/schemas/config.yaml` under `.properties`.

To limit duplication, common properties that are used in many places can be placed under `.$defs` and referenced via `$ref: '#/$defs/thing'`

```yaml
$defs:
common:
title: Some Common Thing
service:
title: The Service
common:
$ref: '#/$defs/common'
```

## VSCode

The plugin `redhat.vscode-yaml` can provide auto completion, validation and help texts from the schema.
Expand Down
Loading