1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/doc/openapi/components/schemas/config/hooks/gate.yaml
Steffen Vogel 24e8fe62b9 openapi: Remove trailing whitespaces
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-28 02:33:22 +01:00

28 lines
982 B
YAML

# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
---
allOf:
- 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
- $ref: ../hook_single.yaml