# 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
---
allOf:
- type: object
  properties:
    asdu_type:
      description: Human readable names for the supported IEC60870 message types.
      type: string
      enum:
      - single-point
      - double-point
      - scaled-int
      - normalized-float
      - short-float

    asdu_type_id:
      descrition: The IEC60870 standard 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:
      description: (only for use with the human readable asdu_type)
      type: boolean
      default: false

    ioa:
      description: The IEC60870 information object address associated with this signal.
      type: number
      min: 1

- $ref: ../../signal.yaml
