Preset SchemaΒΆ
NxLib presets have to adhere to the following schema:
|
String, required |
The name of the preset. Must be unique among all loaded presets. |
|
String, required |
An arbitrary description. Does not have to be unique. |
|
Boolean, optional |
Presets that are only used as a base for other presets can be hidden with this flag. |
|
Array, optional |
One or more tags that can be used to filter the loaded presets. |
|
String or Array, optional |
The name of one or more presets on which this preset is based. If multiple presets are given, extension is performed in the same order as provided in the array. During extension the base values are loaded first and are then merged with the values stored in this preset. Subject of extension are the following fields:
|
|
Object, optional |
A condition as JSON schema that the Data parameter of this command must satisfy if given. |
|
Object, required |
The NxLib parameters as JSON. |