Skip to content

Commit 10baabd

Browse files
author
Yorick Smilda
committed
Move settings to readme
1 parent 662831e commit 10baabd

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.vscode/settings.json

-9
This file was deleted.

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,19 @@ Thank you for your interest in building this thing together with us. We're reall
146146
147147
The Things Stack uses the `github.com/TheThingsNetwork/lorawan-frequency-plans` as default source for fetching frequency plans. Therefore, contributing to this open source repository makes frequency plans automatically available to Stack deployments with default settings. You can contribute by submitting pull requests. Are you new to GitHub? That's great! [Read here about pull requests](https://help.github.com/articles/about-pull-requests/). Please also use the editor settings as defined in `.editorconfig`.
148148

149+
There are json schemas available for all configuration files. These define files structure and make it easier to fill them in. To enable them in `VSCode` add the following to your `settings.json` file.
150+
```json
151+
{
152+
"yaml.schemas": {
153+
"schema.json": "frequency-plans.yml",
154+
"end-device/schema.json": "end-device/*.yml",
155+
"end-device/modifiers/schema.json": "end-device/modifiers/*.yml",
156+
"gateway/schema.json": "gateway/*.yml",
157+
"gateway/modifiers/schema.json": "gateway/modifiers/*.yml"
158+
}
159+
}
160+
```
161+
149162
### Local Regulations
150163

151164
When submitting a new frequency plan or making changes to an existing frequency plan, please make sure that the band is allowed to be used in the concerning region and that settings respect regional regulations. When submitting a pull request for a new region, please upload or link to a document that describes the local regulations.

0 commit comments

Comments
 (0)