diff --git a/doc/openapi/components/schemas/config/node_obj.yaml b/doc/openapi/components/schemas/config/node_obj.yaml index 3ed26c84d..43729e15b 100644 --- a/doc/openapi/components/schemas/config/node_obj.yaml +++ b/doc/openapi/components/schemas/config/node_obj.yaml @@ -27,6 +27,7 @@ discriminator: exec: nodes/_exec.yaml file: nodes/_file.yaml fpga: nodes/_fpga.yaml + iec60870-5-104: nodes/_iec60870-5-104.yaml iec61850-8-1: nodes/_iec61850-8-1.yaml iec61850-9-2: nodes/_iec61850-9-2.yaml infiniband: nodes/_infiniband.yaml @@ -40,13 +41,13 @@ discriminator: redis: nodes/_redis.yaml rtp: nodes/_rtp.yaml shmem: nodes/_shmem.yaml - signal.v2: nodes/_signal_v2_node.yaml signal: nodes/_signal_node.yaml + signal.v2: nodes/_signal_v2_node.yaml socket: nodes/_socket.yaml stats_node: nodes/_stats_node.yaml temper: nodes/_temper.yaml test_rtt: nodes/_test_rtt.yaml uldaq: nodes/_uldaq.yaml + webrtc: nodes/_webrtc.yaml websocket: nodes/_websocket.yaml zeromq: nodes/_zeromq.yaml - webrtc: nodes/_webrtc.yaml diff --git a/doc/openapi/components/schemas/config/nodes/_iec60870-5-104.yaml b/doc/openapi/components/schemas/config/nodes/_iec60870-5-104.yaml new file mode 100644 index 000000000..47c5f4796 --- /dev/null +++ b/doc/openapi/components/schemas/config/nodes/_iec60870-5-104.yaml @@ -0,0 +1,3 @@ +allOf: +- $ref: ../node_obj.yaml +- $ref: iec60870-5-104.yaml diff --git a/doc/openapi/components/schemas/config/nodes/iec60870-5-104.yaml b/doc/openapi/components/schemas/config/nodes/iec60870-5-104.yaml new file mode 100644 index 000000000..96891ae52 --- /dev/null +++ b/doc/openapi/components/schemas/config/nodes/iec60870-5-104.yaml @@ -0,0 +1,40 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- + +allOf: +- type: object + properties: + + in: + type: object + properties: + signals: + $ref: ../signal_list.yaml + + out: + type: object + properties: + signals: + type: array + items: + $ref: ./signals/iec60870_signal.yaml + + address: + description: Hostname or IP address of the IEC 60870 server + type: string + + port: + description: Port number of the IEC 60870 server + type: number + + ca: + description: Common Address + type: number + + low_priority_queue: + type: number + + high_priority_queue: + type: number + +- $ref: ../node.yaml diff --git a/doc/openapi/components/schemas/config/nodes/signals/iec60870_signal.yaml b/doc/openapi/components/schemas/config/nodes/signals/iec60870_signal.yaml new file mode 100644 index 000000000..db3d3a6e6 --- /dev/null +++ b/doc/openapi/components/schemas/config/nodes/signals/iec60870_signal.yaml @@ -0,0 +1,38 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema +--- + +allOf: +- type: object + properties: + asdu_type: + type: string + enum: + - single-point + - double-point + - scaled-int + - normalized-float + - short-float + + asdu_type_id: + type: string + enum: + - M_SP_NA_1 + - M_SP_TB_1 + - M_DP_NA_1 + - M_DP_TB_1 + - M_ME_NB_1 + - M_ME_TB_1 + - M_ME_NA_1 + - M_ME_TA_1 + - M_ME_NC_1 + - M_ME_TC_1 + + with_timestamp: + type: boolean + default: false + + ioa: + type: number + min: 1 + +- $ref: ../../signal.yaml