1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/doc/openapi/components/schemas/config/format.yaml
Steffen Vogel 0735eb0f89 Make project REUSE compliant
And various other cleanups and harmonizations

Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00

45 lines
1.3 KiB
YAML

# 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
---
type: object
properties:
real_precision:
type: integer
default: 17
description: |
Output all real numbers with at most n digits of precision. The valid range for this setting is between 0 and 31 (inclusive), and other values result in an undefined behavior.
By default, the precision is 17, to correctly and losslessly encode all IEEE 754 double precision floating point numbers.
ts_origin:
type: boolean
default: true
description: |
If set, include the origin timestamp in the output.
ts_received:
type: boolean
default: true
description: |
If set, include the received timestamp in the output.
sequence:
type: boolean
default: true
description: |
If set, include the sequence number in the output.
data:
type: boolean
default: true
description: |
If set, include the data in the output.
offset:
type: boolean
default: true
description: |
If set, include the offset between origin and received timestamp in the output.