diff --git a/doc/openapi/components/schemas/config.yaml b/doc/openapi/components/schemas/config.yaml index c546886c8..830d6930b 100644 --- a/doc/openapi/components/schemas/config.yaml +++ b/doc/openapi/components/schemas/config.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- title: VILLASnode configuration file description: Schema of the VILLASnode configuration file. diff --git a/doc/openapi/components/schemas/config/format.yaml b/doc/openapi/components/schemas/config/format.yaml index a1175144d..e8d330580 100644 --- a/doc/openapi/components/schemas/config/format.yaml +++ b/doc/openapi/components/schemas/config/format.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- type: object properties: diff --git a/doc/openapi/components/schemas/config/format_obj.yaml b/doc/openapi/components/schemas/config/format_obj.yaml index 4004cdab4..571a3dfc7 100644 --- a/doc/openapi/components/schemas/config/format_obj.yaml +++ b/doc/openapi/components/schemas/config/format_obj.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- type: object title: Format Object diff --git a/doc/openapi/components/schemas/config/format_spec.yaml b/doc/openapi/components/schemas/config/format_spec.yaml index 9f8fb3d7b..c889a34d8 100644 --- a/doc/openapi/components/schemas/config/format_spec.yaml +++ b/doc/openapi/components/schemas/config/format_spec.yaml @@ -1,8 +1,9 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- description: | The payload format which is used to encode and decode exchanged messages. +example: villas.human oneOf: - $ref: format_obj.yaml - title: Format Name diff --git a/doc/openapi/components/schemas/config/formats/column.yaml b/doc/openapi/components/schemas/config/formats/column.yaml index 69984c417..3832c7718 100644 --- a/doc/openapi/components/schemas/config/formats/column.yaml +++ b/doc/openapi/components/schemas/config/formats/column.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - $ref: line.yaml diff --git a/doc/openapi/components/schemas/config/formats/csv.yaml b/doc/openapi/components/schemas/config/formats/csv.yaml index 700ec2dd0..6578a8755 100644 --- a/doc/openapi/components/schemas/config/formats/csv.yaml +++ b/doc/openapi/components/schemas/config/formats/csv.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/formats/gtnet.yaml b/doc/openapi/components/schemas/config/formats/gtnet.yaml index a096f1ad5..32369c22c 100644 --- a/doc/openapi/components/schemas/config/formats/gtnet.yaml +++ b/doc/openapi/components/schemas/config/formats/gtnet.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - $ref: raw.yaml diff --git a/doc/openapi/components/schemas/config/formats/iotagent_ul.yaml b/doc/openapi/components/schemas/config/formats/iotagent_ul.yaml index a52c366d9..23cd4a88f 100644 --- a/doc/openapi/components/schemas/config/formats/iotagent_ul.yaml +++ b/doc/openapi/components/schemas/config/formats/iotagent_ul.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/formats/json.yaml b/doc/openapi/components/schemas/config/formats/json.yaml index 7efc3e2d1..5e07302d4 100644 --- a/doc/openapi/components/schemas/config/formats/json.yaml +++ b/doc/openapi/components/schemas/config/formats/json.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/formats/json_edgeflex.yaml b/doc/openapi/components/schemas/config/formats/json_edgeflex.yaml index 756b371a4..a5fa8918f 100644 --- a/doc/openapi/components/schemas/config/formats/json_edgeflex.yaml +++ b/doc/openapi/components/schemas/config/formats/json_edgeflex.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/formats/json_kafka.yaml b/doc/openapi/components/schemas/config/formats/json_kafka.yaml index 756b371a4..a5fa8918f 100644 --- a/doc/openapi/components/schemas/config/formats/json_kafka.yaml +++ b/doc/openapi/components/schemas/config/formats/json_kafka.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/formats/json_reserve.yaml b/doc/openapi/components/schemas/config/formats/json_reserve.yaml index 756b371a4..a5fa8918f 100644 --- a/doc/openapi/components/schemas/config/formats/json_reserve.yaml +++ b/doc/openapi/components/schemas/config/formats/json_reserve.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/formats/line.yaml b/doc/openapi/components/schemas/config/formats/line.yaml index 4ea525d4c..dd0434c1b 100644 --- a/doc/openapi/components/schemas/config/formats/line.yaml +++ b/doc/openapi/components/schemas/config/formats/line.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/formats/protobuf.yaml b/doc/openapi/components/schemas/config/formats/protobuf.yaml index a52c366d9..23cd4a88f 100644 --- a/doc/openapi/components/schemas/config/formats/protobuf.yaml +++ b/doc/openapi/components/schemas/config/formats/protobuf.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/formats/raw.yaml b/doc/openapi/components/schemas/config/formats/raw.yaml index a52c366d9..23cd4a88f 100644 --- a/doc/openapi/components/schemas/config/formats/raw.yaml +++ b/doc/openapi/components/schemas/config/formats/raw.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/formats/tsv.yaml b/doc/openapi/components/schemas/config/formats/tsv.yaml index 700ec2dd0..6578a8755 100644 --- a/doc/openapi/components/schemas/config/formats/tsv.yaml +++ b/doc/openapi/components/schemas/config/formats/tsv.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/formats/value.yaml b/doc/openapi/components/schemas/config/formats/value.yaml index a52c366d9..23cd4a88f 100644 --- a/doc/openapi/components/schemas/config/formats/value.yaml +++ b/doc/openapi/components/schemas/config/formats/value.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/formats/villas_binary.yaml b/doc/openapi/components/schemas/config/formats/villas_binary.yaml index a52c366d9..23cd4a88f 100644 --- a/doc/openapi/components/schemas/config/formats/villas_binary.yaml +++ b/doc/openapi/components/schemas/config/formats/villas_binary.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/formats/villas_human.yaml b/doc/openapi/components/schemas/config/formats/villas_human.yaml index f5ee0dd10..3b709c721 100644 --- a/doc/openapi/components/schemas/config/formats/villas_human.yaml +++ b/doc/openapi/components/schemas/config/formats/villas_human.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/formats/villas_web.yaml b/doc/openapi/components/schemas/config/formats/villas_web.yaml index 3af733d76..83351cd45 100644 --- a/doc/openapi/components/schemas/config/formats/villas_web.yaml +++ b/doc/openapi/components/schemas/config/formats/villas_web.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/global.yaml b/doc/openapi/components/schemas/config/global.yaml index faf8660f9..ab9075cf8 100644 --- a/doc/openapi/components/schemas/config/global.yaml +++ b/doc/openapi/components/schemas/config/global.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- type: object diff --git a/doc/openapi/components/schemas/config/hook.yaml b/doc/openapi/components/schemas/config/hook.yaml index 919a85c48..2f9c8a871 100644 --- a/doc/openapi/components/schemas/config/hook.yaml +++ b/doc/openapi/components/schemas/config/hook.yaml @@ -1,17 +1,9 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- type: object title: Hook -properties: - enabled: - type: boolean - default: true - - priority: - type: integer - discriminator: propertyName: type mapping: diff --git a/doc/openapi/components/schemas/config/hook_list.yaml b/doc/openapi/components/schemas/config/hook_list.yaml index 0b45d7753..a29b41a2c 100644 --- a/doc/openapi/components/schemas/config/hook_list.yaml +++ b/doc/openapi/components/schemas/config/hook_list.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- type: array items: diff --git a/doc/openapi/components/schemas/config/hook_obj.yaml b/doc/openapi/components/schemas/config/hook_obj.yaml index f8630df7c..7d4fa5efc 100644 --- a/doc/openapi/components/schemas/config/hook_obj.yaml +++ b/doc/openapi/components/schemas/config/hook_obj.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- type: object title: Format Object diff --git a/doc/openapi/components/schemas/config/hook_spec.yaml b/doc/openapi/components/schemas/config/hook_spec.yaml index 35a94fdaf..a9a00d1e0 100644 --- a/doc/openapi/components/schemas/config/hook_spec.yaml +++ b/doc/openapi/components/schemas/config/hook_spec.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- oneOf: - $ref: hook_obj.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_average.yaml b/doc/openapi/components/schemas/config/hooks/_average.yaml index cf6169f67..e848e4839 100644 --- a/doc/openapi/components/schemas/config/hooks/_average.yaml +++ b/doc/openapi/components/schemas/config/hooks/_average.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: average.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_cast.yaml b/doc/openapi/components/schemas/config/hooks/_cast.yaml index a79739b61..2b73b32ab 100644 --- a/doc/openapi/components/schemas/config/hooks/_cast.yaml +++ b/doc/openapi/components/schemas/config/hooks/_cast.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: cast.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_decimate.yaml b/doc/openapi/components/schemas/config/hooks/_decimate.yaml index 5947043b8..163801932 100644 --- a/doc/openapi/components/schemas/config/hooks/_decimate.yaml +++ b/doc/openapi/components/schemas/config/hooks/_decimate.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: decimate.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_dp.yaml b/doc/openapi/components/schemas/config/hooks/_dp.yaml index 09a3c4e75..9d643a4b8 100644 --- a/doc/openapi/components/schemas/config/hooks/_dp.yaml +++ b/doc/openapi/components/schemas/config/hooks/_dp.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: dp.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_drop.yaml b/doc/openapi/components/schemas/config/hooks/_drop.yaml index 6f1dfe36b..a9fd5fa4b 100644 --- a/doc/openapi/components/schemas/config/hooks/_drop.yaml +++ b/doc/openapi/components/schemas/config/hooks/_drop.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: drop.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_dump.yaml b/doc/openapi/components/schemas/config/hooks/_dump.yaml index d70ff4563..73418c3c4 100644 --- a/doc/openapi/components/schemas/config/hooks/_dump.yaml +++ b/doc/openapi/components/schemas/config/hooks/_dump.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: dump.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_ebm.yaml b/doc/openapi/components/schemas/config/hooks/_ebm.yaml index 3da4f7744..7db41f65f 100644 --- a/doc/openapi/components/schemas/config/hooks/_ebm.yaml +++ b/doc/openapi/components/schemas/config/hooks/_ebm.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: ebm.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_fix.yaml b/doc/openapi/components/schemas/config/hooks/_fix.yaml index ef40a9372..7f43b917b 100644 --- a/doc/openapi/components/schemas/config/hooks/_fix.yaml +++ b/doc/openapi/components/schemas/config/hooks/_fix.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: fix.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_gate.yaml b/doc/openapi/components/schemas/config/hooks/_gate.yaml index 8295b1347..09c045d64 100644 --- a/doc/openapi/components/schemas/config/hooks/_gate.yaml +++ b/doc/openapi/components/schemas/config/hooks/_gate.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: gate.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_jitter_calc.yaml b/doc/openapi/components/schemas/config/hooks/_jitter_calc.yaml index f8ab19b47..02694ea4e 100644 --- a/doc/openapi/components/schemas/config/hooks/_jitter_calc.yaml +++ b/doc/openapi/components/schemas/config/hooks/_jitter_calc.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: jitter_calc.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_limit_rate.yaml b/doc/openapi/components/schemas/config/hooks/_limit_rate.yaml index 674e78065..c40f4d97b 100644 --- a/doc/openapi/components/schemas/config/hooks/_limit_rate.yaml +++ b/doc/openapi/components/schemas/config/hooks/_limit_rate.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: limit_rate.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_limit_value.yaml b/doc/openapi/components/schemas/config/hooks/_limit_value.yaml index ed15e9d0b..0de11fa5c 100644 --- a/doc/openapi/components/schemas/config/hooks/_limit_value.yaml +++ b/doc/openapi/components/schemas/config/hooks/_limit_value.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: limit_value.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_lua.yaml b/doc/openapi/components/schemas/config/hooks/_lua.yaml index 0c91a3591..ab2c32cd8 100644 --- a/doc/openapi/components/schemas/config/hooks/_lua.yaml +++ b/doc/openapi/components/schemas/config/hooks/_lua.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: lua.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_ma.yaml b/doc/openapi/components/schemas/config/hooks/_ma.yaml index e7a79046f..8d0f02eb3 100644 --- a/doc/openapi/components/schemas/config/hooks/_ma.yaml +++ b/doc/openapi/components/schemas/config/hooks/_ma.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: ma.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_pmu_dft.yaml b/doc/openapi/components/schemas/config/hooks/_pmu_dft.yaml index bafb626fd..acb5826ae 100644 --- a/doc/openapi/components/schemas/config/hooks/_pmu_dft.yaml +++ b/doc/openapi/components/schemas/config/hooks/_pmu_dft.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: pmu_dft.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_pps_ts.yaml b/doc/openapi/components/schemas/config/hooks/_pps_ts.yaml index 96d05deb9..abf278bcb 100644 --- a/doc/openapi/components/schemas/config/hooks/_pps_ts.yaml +++ b/doc/openapi/components/schemas/config/hooks/_pps_ts.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: pps_ts.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_print.yaml b/doc/openapi/components/schemas/config/hooks/_print.yaml index 02413f8d4..78b4b03a0 100644 --- a/doc/openapi/components/schemas/config/hooks/_print.yaml +++ b/doc/openapi/components/schemas/config/hooks/_print.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: print.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_restart.yaml b/doc/openapi/components/schemas/config/hooks/_restart.yaml index eb57f783a..11fdabf02 100644 --- a/doc/openapi/components/schemas/config/hooks/_restart.yaml +++ b/doc/openapi/components/schemas/config/hooks/_restart.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: restart.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_rms.yaml b/doc/openapi/components/schemas/config/hooks/_rms.yaml index 3b7721648..4a092d16f 100644 --- a/doc/openapi/components/schemas/config/hooks/_rms.yaml +++ b/doc/openapi/components/schemas/config/hooks/_rms.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: rms.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_scale.yaml b/doc/openapi/components/schemas/config/hooks/_scale.yaml index acf61fdbd..a4bfc86dd 100644 --- a/doc/openapi/components/schemas/config/hooks/_scale.yaml +++ b/doc/openapi/components/schemas/config/hooks/_scale.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: scale.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_shift_seq.yaml b/doc/openapi/components/schemas/config/hooks/_shift_seq.yaml index dd55f6b55..0ff3e9e4b 100644 --- a/doc/openapi/components/schemas/config/hooks/_shift_seq.yaml +++ b/doc/openapi/components/schemas/config/hooks/_shift_seq.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: shift_seq.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_shift_ts.yaml b/doc/openapi/components/schemas/config/hooks/_shift_ts.yaml index 2065bf947..71e192590 100644 --- a/doc/openapi/components/schemas/config/hooks/_shift_ts.yaml +++ b/doc/openapi/components/schemas/config/hooks/_shift_ts.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: shift_ts.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_skip_first.yaml b/doc/openapi/components/schemas/config/hooks/_skip_first.yaml index 8bc921ba7..b5f664802 100644 --- a/doc/openapi/components/schemas/config/hooks/_skip_first.yaml +++ b/doc/openapi/components/schemas/config/hooks/_skip_first.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: skip_first.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_stats.yaml b/doc/openapi/components/schemas/config/hooks/_stats.yaml index a01396725..5b2f01830 100644 --- a/doc/openapi/components/schemas/config/hooks/_stats.yaml +++ b/doc/openapi/components/schemas/config/hooks/_stats.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: stats.yaml diff --git a/doc/openapi/components/schemas/config/hooks/_ts.yaml b/doc/openapi/components/schemas/config/hooks/_ts.yaml index f572395cd..96a0b72db 100644 --- a/doc/openapi/components/schemas/config/hooks/_ts.yaml +++ b/doc/openapi/components/schemas/config/hooks/_ts.yaml @@ -1,3 +1,3 @@ allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - $ref: ts.yaml diff --git a/doc/openapi/components/schemas/config/hooks/average.yaml b/doc/openapi/components/schemas/config/hooks/average.yaml index b77c5423d..702832c98 100644 --- a/doc/openapi/components/schemas/config/hooks/average.yaml +++ b/doc/openapi/components/schemas/config/hooks/average.yaml @@ -1,7 +1,19 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- $ref: multi.yaml +- type: object + required: + - offset + properties: + offset: + type: integer + description: | + The signal offset at which the average signal should be inserted. + + **Examples:** + - `0` inserts the averaged signal before all other signals in the sample + - `1` inserts the averaged signal after the first signal. + diff --git a/doc/openapi/components/schemas/config/hooks/cast.yaml b/doc/openapi/components/schemas/config/hooks/cast.yaml index b77c5423d..db94349c2 100644 --- a/doc/openapi/components/schemas/config/hooks/cast.yaml +++ b/doc/openapi/components/schemas/config/hooks/cast.yaml @@ -1,7 +1,25 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- $ref: multi.yaml +- type: object + properties: + new_type: + type: string + enum: + - integer + - float + - boolean + - complex + description: The type of the casted signal. + example: integer + new_name: + type: string + description: The new name of the casted signal. + example: BusA.V + new_unit: + type: string + description: The new unit of the casted signal. + example: V diff --git a/doc/openapi/components/schemas/config/hooks/common.yaml b/doc/openapi/components/schemas/config/hooks/common.yaml new file mode 100644 index 000000000..8049ab7a9 --- /dev/null +++ b/doc/openapi/components/schemas/config/hooks/common.yaml @@ -0,0 +1,17 @@ +--- + +type: object +properties: + enabled: + type: boolean + default: true + description: An optional field which can be used to disable a hook. + + priority: + type: integer + default: 99 + description: | + The priority of this hook which determines the order in which hooks are executed. + Hooks with a lwoer priority are executed before ones with a higher priority. + + If no priority is configured, hooks are executed in the order they are configured in the configuration file. diff --git a/doc/openapi/components/schemas/config/hooks/decimate.yaml b/doc/openapi/components/schemas/config/hooks/decimate.yaml index f9338f109..f719a6eb1 100644 --- a/doc/openapi/components/schemas/config/hooks/decimate.yaml +++ b/doc/openapi/components/schemas/config/hooks/decimate.yaml @@ -1,10 +1,14 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - type: object + required: + - ratio properties: ratio: type: integer + description: The decimation ratio. A value of 4 will skip every, but the 4th sample in a row. + example: 4 \ No newline at end of file diff --git a/doc/openapi/components/schemas/config/hooks/dp.yaml b/doc/openapi/components/schemas/config/hooks/dp.yaml index b77c5423d..9398b1932 100644 --- a/doc/openapi/components/schemas/config/hooks/dp.yaml +++ b/doc/openapi/components/schemas/config/hooks/dp.yaml @@ -1,7 +1,33 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- $ref: single.yaml +- type: object + required: + - f0 + - harmonics + properties: + f0: + description: The fundamental frequency. + example: 50 + type: number + dt: + description: The timestep of the input samples. Exclusive with `rate` setting. + default: 50e-6 + type: number + rate: + type: number + description: The rate of the input samples. Exclusive with `dt` setting. + harmonics: + type: object + description: A list of selected harmonics which should be calculated. + example: [0, 1, 3, 5 ] + items: + type: integer + inverse: + description: Enable the calucation of the inverse transform. + type: boolean + default: false + diff --git a/doc/openapi/components/schemas/config/hooks/drop.yaml b/doc/openapi/components/schemas/config/hooks/drop.yaml index b77c5423d..e164e66ef 100644 --- a/doc/openapi/components/schemas/config/hooks/drop.yaml +++ b/doc/openapi/components/schemas/config/hooks/drop.yaml @@ -1,7 +1,6 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml + diff --git a/doc/openapi/components/schemas/config/hooks/dump.yaml b/doc/openapi/components/schemas/config/hooks/dump.yaml index b77c5423d..e164e66ef 100644 --- a/doc/openapi/components/schemas/config/hooks/dump.yaml +++ b/doc/openapi/components/schemas/config/hooks/dump.yaml @@ -1,7 +1,6 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml + diff --git a/doc/openapi/components/schemas/config/hooks/ebm.yaml b/doc/openapi/components/schemas/config/hooks/ebm.yaml index b77c5423d..d545cdabd 100644 --- a/doc/openapi/components/schemas/config/hooks/ebm.yaml +++ b/doc/openapi/components/schemas/config/hooks/ebm.yaml @@ -1,7 +1,22 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- type: object + required: + - phases + properties: + phases: + description: Signal indeces for voltage & current values for each phase. + example: + - [0, 1] + - [2, 3] + - [4, 5] + type: array + items: + type: array + minItems: 2 + maxItems: 2 + items: + type: integer diff --git a/doc/openapi/components/schemas/config/hooks/fix.yaml b/doc/openapi/components/schemas/config/hooks/fix.yaml index b77c5423d..5af5e9214 100644 --- a/doc/openapi/components/schemas/config/hooks/fix.yaml +++ b/doc/openapi/components/schemas/config/hooks/fix.yaml @@ -1,7 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml diff --git a/doc/openapi/components/schemas/config/hooks/gate.yaml b/doc/openapi/components/schemas/config/hooks/gate.yaml index b77c5423d..052aaa454 100644 --- a/doc/openapi/components/schemas/config/hooks/gate.yaml +++ b/doc/openapi/components/schemas/config/hooks/gate.yaml @@ -1,7 +1,27 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- $ref: single.yaml +- type: object + properties: + mode: + description: The triggering condition at which the gate opens. + type: string + default: rising_edge + enum: + - above + - below + - rising_edge + - falling_edge + threshold: + default: 0.5 + description: The threshold the signal needs to overcome before the gate opens. + type: number + duration: + description: The number of seconds for which the gate opens when the triggering condition is met. Exclusive with the `samples` setting. + type: number + samples: + description: The number if samples for which the gate opens when the triggering condition is met. Exclusive with the `duration` setting. + type: number diff --git a/doc/openapi/components/schemas/config/hooks/jitter_calc.yaml b/doc/openapi/components/schemas/config/hooks/jitter_calc.yaml index b77c5423d..e164e66ef 100644 --- a/doc/openapi/components/schemas/config/hooks/jitter_calc.yaml +++ b/doc/openapi/components/schemas/config/hooks/jitter_calc.yaml @@ -1,7 +1,6 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml + diff --git a/doc/openapi/components/schemas/config/hooks/limit_rate.yaml b/doc/openapi/components/schemas/config/hooks/limit_rate.yaml index b77c5423d..bd0764c91 100644 --- a/doc/openapi/components/schemas/config/hooks/limit_rate.yaml +++ b/doc/openapi/components/schemas/config/hooks/limit_rate.yaml @@ -1,7 +1,20 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- type: object + required: + - rate + properties: + rate: + type: number + description: The maximum sample rate in `1/s` before this hook will drop samples. + mode: + type: string + default: local + description: Timestamp which should be used for rate estimation. + enum: + - local + - received + - origin diff --git a/doc/openapi/components/schemas/config/hooks/limit_value.yaml b/doc/openapi/components/schemas/config/hooks/limit_value.yaml index b77c5423d..4e8341f7e 100644 --- a/doc/openapi/components/schemas/config/hooks/limit_value.yaml +++ b/doc/openapi/components/schemas/config/hooks/limit_value.yaml @@ -1,7 +1,17 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- $ref: multi.yaml +- type: object + required: + - min + - max + properties: + min: + description: The smallest value which will pass through the hook before getting clipped. + type: number + max: + description: The largest value which will pass through the hook before getting clipped. + type: number diff --git a/doc/openapi/components/schemas/config/hooks/lua.yaml b/doc/openapi/components/schemas/config/hooks/lua.yaml index b77c5423d..678590c3c 100644 --- a/doc/openapi/components/schemas/config/hooks/lua.yaml +++ b/doc/openapi/components/schemas/config/hooks/lua.yaml @@ -1,7 +1,81 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- type: object + additionalProperties: + description: | + The Lua hook will pass the complete hook configuration to the `prepare()` Lua function. + So you can add arbitrary settings here which are then consumed by the Lua script. + + properties: + use_names: + type: boolean + default: true + description: Enables or disables the use of signal names in the `process()` Lua function. If disabled, numeric indices will be used. + + script: + type: string + description: | + Provide the path to a Lua script containing functions for the individual hook points. + Define some or all of the following functions in your Lua script: + + #### `prepare(cfg)` + + Called during initialization with a Lua table which contains the full hook configuration. + + #### `start()` + + Called when the associated node or path is started + + #### `stop()` + + Called when the associated node or path is stopped + + #### `restart()` + + Called when the associated node or path is restarted. + Falls back to `stop()` + `start()` if absent. + + #### `process(smp)` + + Called for each sample which is being processed. + The sample is passed as a Lua table with the following fields: + + - `sequence` The sequence number of the sample. + - `flags` The flags field of the sample. + - `ts_origin` The origin timesamp as a Lua table containing the following keys: + | Index | Description | + |:-- |:-- | + | 0 | seconds | + | 1 | nanoseconds | + + - `ts_received` The receive timestamp a Lua table containing the following keys: + | Index | Description | + |:-- |:-- | + | 0 | seconds | + | 1 | nanoseconds | + + - `data` The sample data as a Lua table container either numeric indices or the signal names depending on the 'use_names' option of the hook. + + #### `periodic()` + + Called periodicalled with the rate of @ref node-config-stats. + + signals: + description: | + A definition of signals which this hook will emit. + Here a list of signal definitions like @ref node-config-node-signals is excpected. + type: array + items: + allOf: + - type: object + properties: + expression: + type: string + example: "math.sqrt(smp.data[0] ^ 2 + smp.data[1] ^ 2)" + description: | + An arbitrary Lua expression which will be evaluated and used for the value of the signal. + Note you can access the current sample using the global Lua variable `smp`. + - $ref: ../signaldef.yaml diff --git a/doc/openapi/components/schemas/config/hooks/ma.yaml b/doc/openapi/components/schemas/config/hooks/ma.yaml index b77c5423d..2218a9526 100644 --- a/doc/openapi/components/schemas/config/hooks/ma.yaml +++ b/doc/openapi/components/schemas/config/hooks/ma.yaml @@ -1,7 +1,14 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- $ref: multi.yaml +- type: object + properties: + window_size: + type: integer + description: The size of the window (number of samples) which should be used for the moving average filter. + example: 100 + default: 0 + minimum: 0 diff --git a/doc/openapi/components/schemas/config/hooks/multi.yaml b/doc/openapi/components/schemas/config/hooks/multi.yaml new file mode 100644 index 000000000..3d84bc49f --- /dev/null +++ b/doc/openapi/components/schemas/config/hooks/multi.yaml @@ -0,0 +1,15 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- + +type: object +properties: + signals: + type: array + description: A list of signal names to which this hook should be applied + example: + - busA.V + - busB.V + - busC.V + items: + type: string + description: The name of a signal to which this hook should be applied diff --git a/doc/openapi/components/schemas/config/hooks/pmu_dft.yaml b/doc/openapi/components/schemas/config/hooks/pmu_dft.yaml index b77c5423d..d4dbfd274 100644 --- a/doc/openapi/components/schemas/config/hooks/pmu_dft.yaml +++ b/doc/openapi/components/schemas/config/hooks/pmu_dft.yaml @@ -1,7 +1,46 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- $ref: multi.yaml +- type: object + properties: + sample_rate: + type: integer + start_freqency: + type: number + end_freqency: + type: number + frequency_resolution: + type: number + dft_rate: + type: integer + window_size_factor: + type: integer + window_type: + type: string + enum: + - flattop + - hamming + - hann + padding_type: + type: string + enum: + - zero + - signal_repeat + frequency_estimate_type: + type: string + enum: + - quadratic + sync: + type: boolean + pps_index: + type: integer + angle_unit: + type: string + enum: + - rad + - degree + add_channel_name: + type: boolean diff --git a/doc/openapi/components/schemas/config/hooks/pps_ts.yaml b/doc/openapi/components/schemas/config/hooks/pps_ts.yaml index b77c5423d..b46b4858d 100644 --- a/doc/openapi/components/schemas/config/hooks/pps_ts.yaml +++ b/doc/openapi/components/schemas/config/hooks/pps_ts.yaml @@ -1,7 +1,27 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- $ref: single.yaml +- type: object + required: + - expected_smp_rate + properties: + mode: + type: string + enum: + - simple + - horizon + default: simple + threshold: + type: number + default: 1.5 + expected_smp_rate: + type: integer + horizon_estimation: + type: integer + default: 10 + horizon_compensation: + type: integer + default: 10 diff --git a/doc/openapi/components/schemas/config/hooks/print.yaml b/doc/openapi/components/schemas/config/hooks/print.yaml index 6a04e7410..babffe778 100644 --- a/doc/openapi/components/schemas/config/hooks/print.yaml +++ b/doc/openapi/components/schemas/config/hooks/print.yaml @@ -1,11 +1,18 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: -- $ref: ../hook.yaml +- $ref: common.yaml - type: object properties: + output: + type: string + default: '/dev/stdout' + description: An optional path to a file to which the samples processed by this hook will be written to. + format: + $ref: ../format_spec.yaml prefix: type: string default: '' + description: An optional prefix which will be prepended to each line written by this hook to the output \ No newline at end of file diff --git a/doc/openapi/components/schemas/config/hooks/restart.yaml b/doc/openapi/components/schemas/config/hooks/restart.yaml index b77c5423d..e164e66ef 100644 --- a/doc/openapi/components/schemas/config/hooks/restart.yaml +++ b/doc/openapi/components/schemas/config/hooks/restart.yaml @@ -1,7 +1,6 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml + diff --git a/doc/openapi/components/schemas/config/hooks/rms.yaml b/doc/openapi/components/schemas/config/hooks/rms.yaml index b77c5423d..2218a9526 100644 --- a/doc/openapi/components/schemas/config/hooks/rms.yaml +++ b/doc/openapi/components/schemas/config/hooks/rms.yaml @@ -1,7 +1,14 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- $ref: multi.yaml +- type: object + properties: + window_size: + type: integer + description: The size of the window (number of samples) which should be used for the moving average filter. + example: 100 + default: 0 + minimum: 0 diff --git a/doc/openapi/components/schemas/config/hooks/scale.yaml b/doc/openapi/components/schemas/config/hooks/scale.yaml index b77c5423d..c720da701 100644 --- a/doc/openapi/components/schemas/config/hooks/scale.yaml +++ b/doc/openapi/components/schemas/config/hooks/scale.yaml @@ -1,7 +1,20 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- $ref: multi.yaml +- type: object + properties: + offset: + type: number + default: 0.0 + example: 100.5 + description: The offset which is added to the signal after gain. + gain: + type: number + default: 1.0 + example: 1e3 + description: The gain which is mulitplied to the signal before the offset is added. + + \ No newline at end of file diff --git a/doc/openapi/components/schemas/config/hooks/shift_seq.yaml b/doc/openapi/components/schemas/config/hooks/shift_seq.yaml index b77c5423d..b0c88080f 100644 --- a/doc/openapi/components/schemas/config/hooks/shift_seq.yaml +++ b/doc/openapi/components/schemas/config/hooks/shift_seq.yaml @@ -1,7 +1,13 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- type: object + required: + - offset + properties: + offset: + type: integer + description: The offset which is added to the sequence number of each processed sample. + diff --git a/doc/openapi/components/schemas/config/hooks/shift_ts.yaml b/doc/openapi/components/schemas/config/hooks/shift_ts.yaml index b77c5423d..f3cb9259f 100644 --- a/doc/openapi/components/schemas/config/hooks/shift_ts.yaml +++ b/doc/openapi/components/schemas/config/hooks/shift_ts.yaml @@ -1,7 +1,18 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- type: object + required: + - offset + properties: + mode: + type: string + enum: + - origin + - ts_received + description: The timestamp field which should be adjusted by the `offset` setting. + offset: + type: number + description: The offset in seconds which is added to the timestamp field of each processed sample. diff --git a/doc/openapi/components/schemas/config/hooks/single.yaml b/doc/openapi/components/schemas/config/hooks/single.yaml new file mode 100644 index 000000000..9679bd67a --- /dev/null +++ b/doc/openapi/components/schemas/config/hooks/single.yaml @@ -0,0 +1,9 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- + +type: object +properties: + signal: + type: string + description: The name of a signal to which this hook should be applied + example: busA.V diff --git a/doc/openapi/components/schemas/config/hooks/skip_first.yaml b/doc/openapi/components/schemas/config/hooks/skip_first.yaml index b77c5423d..1a57baef4 100644 --- a/doc/openapi/components/schemas/config/hooks/skip_first.yaml +++ b/doc/openapi/components/schemas/config/hooks/skip_first.yaml @@ -1,7 +1,13 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- type: object + properties: + samples: + type: integer + description: The number of samples which should be dropped by this hook after a start or restart of the node/path. + seconds: + type: number + description: The number of seconds for which this hook should initially drop samples after a start or restart of the node/path. diff --git a/doc/openapi/components/schemas/config/hooks/stats.yaml b/doc/openapi/components/schemas/config/hooks/stats.yaml index b77c5423d..215c94c59 100644 --- a/doc/openapi/components/schemas/config/hooks/stats.yaml +++ b/doc/openapi/components/schemas/config/hooks/stats.yaml @@ -1,7 +1,25 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml +- type: object + properties: + format: + $ref: ../format_spec.yaml + buckets: + type: integer + default: 20 + description: The number of buckets which should be used for the underlying histograms. + warmup: + type: integer + default: 500 + description: Use the first `warmup` samples to estimate the bucket range of the underlying histograms. + verbose: + type: boolean + default: false + description: Include full dumps of the histogram buckets into the output. + output: + type: string + description: The file where you want to write the report to. If omitted, stdout (the terminal) will be used. + default: '/dev/stdout' diff --git a/doc/openapi/components/schemas/config/hooks/ts.yaml b/doc/openapi/components/schemas/config/hooks/ts.yaml index b77c5423d..5af5e9214 100644 --- a/doc/openapi/components/schemas/config/hooks/ts.yaml +++ b/doc/openapi/components/schemas/config/hooks/ts.yaml @@ -1,7 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - - $ref: ../hook.yaml - - type: object - properties: {} +- $ref: common.yaml diff --git a/doc/openapi/components/schemas/config/http.yaml b/doc/openapi/components/schemas/config/http.yaml index 05946bee8..1e9d4f4fe 100644 --- a/doc/openapi/components/schemas/config/http.yaml +++ b/doc/openapi/components/schemas/config/http.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- type: object properties: diff --git a/doc/openapi/components/schemas/config/logging.yaml b/doc/openapi/components/schemas/config/logging.yaml index 45c7a4a68..a85737a41 100644 --- a/doc/openapi/components/schemas/config/logging.yaml +++ b/doc/openapi/components/schemas/config/logging.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- type: object title: Logging configuration diff --git a/doc/openapi/components/schemas/config/node.yaml b/doc/openapi/components/schemas/config/node.yaml index e5ca6e945..1cfb21b08 100644 --- a/doc/openapi/components/schemas/config/node.yaml +++ b/doc/openapi/components/schemas/config/node.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- type: object title: Node diff --git a/doc/openapi/components/schemas/config/node_obj.yaml b/doc/openapi/components/schemas/config/node_obj.yaml index 9ac8e0a32..07295176e 100644 --- a/doc/openapi/components/schemas/config/node_obj.yaml +++ b/doc/openapi/components/schemas/config/node_obj.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- type: object title: Format Object diff --git a/doc/openapi/components/schemas/config/nodes/amqp.yaml b/doc/openapi/components/schemas/config/nodes/amqp.yaml index 7ccc25bda..8b75901b6 100644 --- a/doc/openapi/components/schemas/config/nodes/amqp.yaml +++ b/doc/openapi/components/schemas/config/nodes/amqp.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- title: Advanced Messaging & Queuing Protocol (AMQP) allOf: diff --git a/doc/openapi/components/schemas/config/nodes/can.yaml b/doc/openapi/components/schemas/config/nodes/can.yaml index 7ada17f5a..4e79b9ef2 100644 --- a/doc/openapi/components/schemas/config/nodes/can.yaml +++ b/doc/openapi/components/schemas/config/nodes/can.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/comedi.yaml b/doc/openapi/components/schemas/config/nodes/comedi.yaml index 7ada17f5a..4e79b9ef2 100644 --- a/doc/openapi/components/schemas/config/nodes/comedi.yaml +++ b/doc/openapi/components/schemas/config/nodes/comedi.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/ethercat.yaml b/doc/openapi/components/schemas/config/nodes/ethercat.yaml index 5100dc3e5..810164b83 100644 --- a/doc/openapi/components/schemas/config/nodes/ethercat.yaml +++ b/doc/openapi/components/schemas/config/nodes/ethercat.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - $ref: ../node.yaml diff --git a/doc/openapi/components/schemas/config/nodes/exec.yaml b/doc/openapi/components/schemas/config/nodes/exec.yaml index 0fa09f350..033ea6b85 100644 --- a/doc/openapi/components/schemas/config/nodes/exec.yaml +++ b/doc/openapi/components/schemas/config/nodes/exec.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/file.yaml b/doc/openapi/components/schemas/config/nodes/file.yaml index bf56b701d..3ea5c19d6 100644 --- a/doc/openapi/components/schemas/config/nodes/file.yaml +++ b/doc/openapi/components/schemas/config/nodes/file.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/fpga.yaml b/doc/openapi/components/schemas/config/nodes/fpga.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/fpga.yaml +++ b/doc/openapi/components/schemas/config/nodes/fpga.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/iec61850-8-1.yaml b/doc/openapi/components/schemas/config/nodes/iec61850-8-1.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/iec61850-8-1.yaml +++ b/doc/openapi/components/schemas/config/nodes/iec61850-8-1.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/iec61850-9-2.yaml b/doc/openapi/components/schemas/config/nodes/iec61850-9-2.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/iec61850-9-2.yaml +++ b/doc/openapi/components/schemas/config/nodes/iec61850-9-2.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/infiniband.yaml b/doc/openapi/components/schemas/config/nodes/infiniband.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/infiniband.yaml +++ b/doc/openapi/components/schemas/config/nodes/infiniband.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/influxdb.yaml b/doc/openapi/components/schemas/config/nodes/influxdb.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/influxdb.yaml +++ b/doc/openapi/components/schemas/config/nodes/influxdb.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/kafka.yaml b/doc/openapi/components/schemas/config/nodes/kafka.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/kafka.yaml +++ b/doc/openapi/components/schemas/config/nodes/kafka.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/loopback.yaml b/doc/openapi/components/schemas/config/nodes/loopback.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/loopback.yaml +++ b/doc/openapi/components/schemas/config/nodes/loopback.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/mqtt.yaml b/doc/openapi/components/schemas/config/nodes/mqtt.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/mqtt.yaml +++ b/doc/openapi/components/schemas/config/nodes/mqtt.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/nanomsg.yaml b/doc/openapi/components/schemas/config/nodes/nanomsg.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/nanomsg.yaml +++ b/doc/openapi/components/schemas/config/nodes/nanomsg.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/ngsi.yaml b/doc/openapi/components/schemas/config/nodes/ngsi.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/ngsi.yaml +++ b/doc/openapi/components/schemas/config/nodes/ngsi.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/opal.yaml b/doc/openapi/components/schemas/config/nodes/opal.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/opal.yaml +++ b/doc/openapi/components/schemas/config/nodes/opal.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/redis.yaml b/doc/openapi/components/schemas/config/nodes/redis.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/redis.yaml +++ b/doc/openapi/components/schemas/config/nodes/redis.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/rtp.yaml b/doc/openapi/components/schemas/config/nodes/rtp.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/rtp.yaml +++ b/doc/openapi/components/schemas/config/nodes/rtp.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/shmem.yaml b/doc/openapi/components/schemas/config/nodes/shmem.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/shmem.yaml +++ b/doc/openapi/components/schemas/config/nodes/shmem.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/signal.yaml b/doc/openapi/components/schemas/config/nodes/signal.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/signal.yaml +++ b/doc/openapi/components/schemas/config/nodes/signal.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/signal_v2.yaml b/doc/openapi/components/schemas/config/nodes/signal_v2.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/signal_v2.yaml +++ b/doc/openapi/components/schemas/config/nodes/signal_v2.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/socket.yaml b/doc/openapi/components/schemas/config/nodes/socket.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/socket.yaml +++ b/doc/openapi/components/schemas/config/nodes/socket.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/stats_node.yaml b/doc/openapi/components/schemas/config/nodes/stats_node.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/stats_node.yaml +++ b/doc/openapi/components/schemas/config/nodes/stats_node.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/temper.yaml b/doc/openapi/components/schemas/config/nodes/temper.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/temper.yaml +++ b/doc/openapi/components/schemas/config/nodes/temper.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/test_rtt.yaml b/doc/openapi/components/schemas/config/nodes/test_rtt.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/test_rtt.yaml +++ b/doc/openapi/components/schemas/config/nodes/test_rtt.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/uldaq.yaml b/doc/openapi/components/schemas/config/nodes/uldaq.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/uldaq.yaml +++ b/doc/openapi/components/schemas/config/nodes/uldaq.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/websocket.yaml b/doc/openapi/components/schemas/config/nodes/websocket.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/websocket.yaml +++ b/doc/openapi/components/schemas/config/nodes/websocket.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/nodes/zeromq.yaml b/doc/openapi/components/schemas/config/nodes/zeromq.yaml index f7f54ec77..921e240e8 100644 --- a/doc/openapi/components/schemas/config/nodes/zeromq.yaml +++ b/doc/openapi/components/schemas/config/nodes/zeromq.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- allOf: - type: object diff --git a/doc/openapi/components/schemas/config/path.yaml b/doc/openapi/components/schemas/config/path.yaml index e7b4ea1df..22bee080c 100644 --- a/doc/openapi/components/schemas/config/path.yaml +++ b/doc/openapi/components/schemas/config/path.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- type: object title: The first anyOf schema diff --git a/doc/openapi/components/schemas/formats/edgeflex.yaml b/doc/openapi/components/schemas/formats/edgeflex.yaml index 9fdfc7f29..771ccd99a 100644 --- a/doc/openapi/components/schemas/formats/edgeflex.yaml +++ b/doc/openapi/components/schemas/formats/edgeflex.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- title: PMU measurements as used in the EdgeFlex project by Manuel description: | diff --git a/doc/openapi/components/schemas/formats/igor.yaml b/doc/openapi/components/schemas/formats/igor.yaml index ecb7a9269..a4df356e8 100644 --- a/doc/openapi/components/schemas/formats/igor.yaml +++ b/doc/openapi/components/schemas/formats/igor.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- title: PMU format used by Igor diff --git a/doc/openapi/components/schemas/formats/sogno-old.yaml b/doc/openapi/components/schemas/formats/sogno-old.yaml index 23770931b..249eb51d4 100644 --- a/doc/openapi/components/schemas/formats/sogno-old.yaml +++ b/doc/openapi/components/schemas/formats/sogno-old.yaml @@ -1,6 +1,6 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- title: Original PMU sensor data format as used in the SOGNO EU project diff --git a/doc/openapi/components/schemas/formats/sogno.yaml b/doc/openapi/components/schemas/formats/sogno.yaml index 62dc63fea..2543d41fc 100644 --- a/doc/openapi/components/schemas/formats/sogno.yaml +++ b/doc/openapi/components/schemas/formats/sogno.yaml @@ -1,5 +1,5 @@ ---- # yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- title: PMU format used in SOGNO LF project diff --git a/doc/openapi/paths/capabilities.yaml b/doc/openapi/paths/capabilities.yaml index e84f4728c..c2881bf21 100644 --- a/doc/openapi/paths/capabilities.yaml +++ b/doc/openapi/paths/capabilities.yaml @@ -13,7 +13,6 @@ get: example1: value: hooks: - - average - average - cast - decimate