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/hook.yaml
Steffen Vogel 0735eb0f89 Make project REUSE compliant
And various other cleanups and harmonizations

Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00

19 lines
722 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
---
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.