Preset SchemaΒΆ

NxLib presets have to adhere to the following schema:

Name

String, required

The name of the preset. Must be unique among all loaded presets.

Description

String, required

An arbitrary description. Does not have to be unique.

Hidden

Boolean, optional

Presets that are only used as a base for other presets can be hidden with this flag.

Tags

Array, optional

One or more tags that can be used to filter the loaded presets.

Extends

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:

Tags Merged as sets.

Condition Merged with an allOf JSON schema field.

Data Merged on JSON level.

Condition

Object, optional

A condition as JSON schema that the Data parameter of this command must satisfy if given.

Data

Object, required

The NxLib parameters as JSON.