1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/doc/openapi/components/schemas/config/format.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
1.2 KiB
YAML
Raw Normal View History

2021-11-18 12:10:36 +01:00
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
2021-11-24 10:32:25 +01:00
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
2022-01-10 17:52:36 +01:00
---
2021-11-18 12:10:36 +01:00
type: object
properties:
2021-11-24 10:32:25 +01:00
2022-03-23 10:02:22 +01:00
real_precision:
2021-11-24 10:32:25 +01:00
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.
2021-11-24 10:32:25 +01:00
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.
2021-11-24 10:32:25 +01:00
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.