RelayObject:
  type: object
  properties:
    url:
      type: string
      description: The relay actor endpoint
      example: https://example.org/actor
    state:
      type: number
      description: "The established state of the relay(0: pending; 1: one way receive; 2: bidirectional)"
      enum: [0, 1, 2]
    label:
      type: string
      description: A language key pertaining to the `state` value
RelaysArray:
  type: array
  items:
    $ref: '#/RelayObject'