# 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:
    format:
      $ref: ../format_spec.yaml

    publish:
      description: A single endpoint URI or list of URIs on which this node should listen for subscribers.
      oneOf:
      - type: string
        format: uri
      - type: array
        items:
          type: string
          format: uri

    subscribe:
      description: A single endpoint URI or list of URIs pointing to which this node should connect to as a subscriber.
      oneOf:
      - type: string
        format: uri
      - type: array
        items:
          type: string
          format: uri

    out:
      type: object
      properties:
        netem:
          $ref: ../netem.yaml

- $ref: ../node_signals.yaml
- $ref: ../node.yaml