mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-23 00:00:01 +01:00
63 lines
1.6 KiB
YAML
63 lines
1.6 KiB
YAML
---
|
|
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
|
|
|
|
type: object
|
|
|
|
required:
|
|
- type
|
|
|
|
properties:
|
|
type:
|
|
type: string
|
|
description: The format-type
|
|
|
|
real_precission:
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
discriminator:
|
|
propertyName: type
|
|
mapping:
|
|
csv: formats/csv.yaml
|
|
iotagent_ul: formats/iotagent_ul.yaml
|
|
json: formats/json.yaml
|
|
json.reserve: formats/json_reserve.yaml
|
|
json.kafka: formats/json_kafka.yaml
|
|
json.edgeflex: formats/json_edgeflex.yaml
|
|
gtnet: formats/gtnet.yaml
|
|
protobuf: formats/protobuf.yaml
|
|
raw: formats/raw.yaml
|
|
tsv: formats/tsv.yaml
|
|
value: formats/value.yaml
|
|
villas.binary: formats/villas_binary.yaml
|
|
villas.human: formats/villas_human.yaml
|
|
villas.web: formats/villas_web.yaml
|