Skip to content
Open
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
1 change: 1 addition & 0 deletions schemas/applications/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Release Versions:
## Upcoming changes

- feat: add hardware plugin (#454)
- feat: add support for parameter files in components and controllers (#463)

## 2-1-0

Expand Down
3 changes: 3 additions & 0 deletions schemas/applications/schema/application.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@
"parameters": {
"$ref": "common/parameters.schema.json"
},
"parameters_file": {
"$ref": "common/parameters_file.schema.json"
},
"signals": {
"$ref": "common/signals.schema.json"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Parameters File",
"description": "A path to a YAML or JSON parameters file that is used to set parameter values on load. This is evaluated before any values in the `parameters` property are applied.",
"type": "string",
"pattern": "^(file:\/\/\/|(data|package):\/\/)[a-zA-Z0-9_]+(\/?[a-zA-Z0-9_-]+)*(.yaml|.json)$"
}
3 changes: 3 additions & 0 deletions schemas/applications/schema/components.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
"parameters": {
"$ref": "common/parameters.schema.json"
},
"parameters_file": {
"$ref": "common/parameters_file.schema.json"
},
"inputs": {
"$ref": "common/signals.schema.json"
},
Expand Down
3 changes: 3 additions & 0 deletions schemas/applications/schema/hardware.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@
"parameters": {
"$ref": "common/parameters.schema.json"
},
"parameters_file": {
"$ref": "common/parameters_file.schema.json"
},
"inputs": {
"$ref": "common/signals.schema.json"
},
Expand Down