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/signal.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

57 lines
1.1 KiB
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:
name:
type: string
title: Signal name
description: |
A name which describes the signal.
example: Bus123_U
unit:
type: string
title: Signal unit
description:
The unit of the signal.
example: V
type:
type: string
title: Signal data-type
description: |
The data-type of the signal.
default: float
enum:
- integer
- float
- boolean
- complex
init:
title: Initial signal value.
description: |
The initial value of the signal.
oneOf:
- type: integer
- type: number
- type: boolean
- type: object
required:
- real
- imag
additionalProperties: false
properties:
real:
type: number
imag:
type: number
enabled:
type: boolean
default: true
description: |
Signals can be disabled which causes them to be ignored.