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/websocket.yaml

32 lines
803 B
YAML

# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
---
allOf:
- type: object
properties:
format:
$ref: ../format_spec.yaml
destinations:
description: |
During startup connect to those WebSocket servers as a client.
Each URI must use the following scheme:
```
protocol://host:port/nodename
```
It starts with a protocol which must be one of `ws` (unencrypted) or `wss` (SSL).
The host name or IP address is separated by `://`.
The optional port number is separated by a colon `:`.
The node name is separated by a slash `/`.
type: array
items:
type: string
format: uri
description: A WebSocket URI
- $ref: ../node_signals.yaml
- $ref: ../node.yaml