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/nodes/example.yaml

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

24 lines
693 B
YAML
Raw Permalink Normal View History

2022-04-01 15:02:11 +02:00
# 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
properties:
setting1:
type: integer
min: 0 # Make sure any constraints of the values are checked by ExampleNode::check().
max: 100
default: 72 # Make sure the default values match ExampleNode::ExampleNode().
description: A first setting
setting2:
type: string
min: 0
max: 10
default: something
description: Another setting
- $ref: ../node_signals.yaml
2022-04-01 15:02:11 +02:00
- $ref: ../node.yaml