diff --git a/doc/openapi/components/schemas/config/iec61850_signal.yaml b/doc/openapi/components/schemas/config/iec61850_signal.yaml new file mode 100644 index 000000000..b6e47be11 --- /dev/null +++ b/doc/openapi/components/schemas/config/iec61850_signal.yaml @@ -0,0 +1,27 @@ +--- + +type: object +properties: + iec_type: + type: string + enum: + - boolean + - int8 + - int16 + - int32 + - int64 + - int8u + - int16u + - int32u + - int64u + - float32 + - float64 + - enumerated + - coded_enum + - octet_string + - visible_string + - objectname + - objectreference + - timestamp + - entrytime + - bitstring diff --git a/doc/openapi/components/schemas/config/nodes/iec61850-8-1.yaml b/doc/openapi/components/schemas/config/nodes/iec61850-8-1.yaml index 921e240e8..81bda0f9d 100644 --- a/doc/openapi/components/schemas/config/nodes/iec61850-8-1.yaml +++ b/doc/openapi/components/schemas/config/nodes/iec61850-8-1.yaml @@ -3,8 +3,60 @@ allOf: - type: object + required: + - interface properties: - format: - $ref: ../format_spec.yaml + in: + type: object + properties: + signals: + type: array + items: + $ref: ../iec61850_signal.yaml + + out: + type: object + properties: + required: + - signals + - svid + signals: + type: array + items: + $ref: ../iec61850_signal.yaml + + svid: + type: string + + confrev: + type: integer + + smpmod: + type: string + enum: + - per_nominal_period + - samples_per_second + - seconds_per_sample + + smprate: + type: integer + + vlan_id: + type: integer + + vlan_priority: + type: integer + + + + interface: + type: string + description: Name of network interface to/from which this node will publish/subscribe for SV frames. + + app_id: + type: integer + + dst_address: + type: string - $ref: ../node.yaml