1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-23 00:00:01 +01:00
VILLASnode/doc/openapi/components/schemas/config/nodes/iec61850-8-1.yaml
Philipp Jungkamp fff889d779 node-iec61850-8-1: add OpenAPI schemas
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-18 14:06:34 +02:00

85 lines
1.9 KiB
YAML

# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
---
allOf:
- $ref: ../node.yaml
- type: object
properties:
in:
type: object
properties:
signals:
$ref: ./signals/iec61850_goose_subscriber_signal.yaml
interface:
type: string
with_timestamp:
type: boolean
subscribers:
type: object
additionalProperties:
type: object
required:
- go_cb_ref
properties:
go_cb_ref:
type: string
dst_address:
type: string
app_id:
type: integer
trigger:
type: string
enum:
- always
- change
default: always
out:
type: object
properties:
signals:
$ref: ../signal_list.yaml
resend_interval:
type: number
default: 1
description: |
Time interval for periodic resend of last sample in floating point seconds.
interface:
type: string
default: localhost
description: |
Name of the ethernet interface to send on.
publishers:
type: array
items:
type: object
properties:
go_id:
type: string
go_cb_ref:
type: string
data_set_ref:
type: string
dst_address:
type: string
app_id:
type: integer
conf_rev:
type: integer
time_allowed_to_live:
type: integer
burst:
type: integer
data:
type: array
items:
$ref: ./signals/iec61850_goose_publisher_data.yaml