1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/doc/openapi/components/schemas/config.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

40 lines
1,018 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
---
title: VILLASnode configuration file
description: Schema of the VILLASnode configuration file.
allOf:
- type: object
required:
- nodes
additionalProperties: false
properties:
nodes:
type: object
title: Node list
description: |
A list of nodes to/from which this instance sends/receives sample data.
additionalProperties:
x-additionalPropertiesName: node-name
$ref: ./config/node_obj.yaml
paths:
title: Path list
description: |
A list of uni-directional paths which connect the nodes defined in the `nodes` list.
type: array
default: []
items:
$ref: config/path.yaml
http:
$ref: config/http.yaml
logging:
$ref: config/logging.yaml
- $ref: config/global.yaml