# 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 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 - $ref: ../hook.yaml