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/limit_rate.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
598 B
YAML
Raw Normal View History

2021-11-18 12:10:36 +01:00
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
2022-01-10 17:52:36 +01:00
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
2021-11-18 12:10:36 +01:00
# SPDX-License-Identifier: Apache-2.0
2022-01-10 17:52:36 +01:00
---
2021-11-18 12:10:36 +01:00
allOf:
2022-01-10 17:52:36 +01:00
- 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
2022-04-05 17:32:37 +02:00
- $ref: ../hook.yaml