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/frame.yaml
Philipp Jungkamp c2eefabb93 hook-frame: Add hook to add SampleFlags::NEW_FRAME annotations
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00

36 lines
777 B
YAML

# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
# SPDX-FileCopyrightText: 2023 OPAL-RT Germany GmbH
# SPDX-License-Identifier: Apache-2.0
---
allOf:
- type: object
properties:
trigger:
description: The trigger for new frames.
type: string
default: sequence
enum:
- sequence
- timestamp
unit:
description: The type of a timestamp trigger.
type: string
enum:
- milliseconds
- seconds
- minutes
- hours
interval:
description: The interval in which frames are annotated.
type: number
default: 1
offset:
description: An offset in the interval for the annotation of new frames.
type: number
default: 0
- $ref: ../hook.yaml