From b0c36108718354b0a5d4e7358cd09ff94f9da590 Mon Sep 17 00:00:00 2001 From: Joshua Lucas Date: Thu, 5 Nov 2026 20:26:26 -0600 Subject: [PATCH] Add comments to YAML schema. --- src/AuDaGe/assets/schema.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/AuDaGe/assets/schema.yaml b/src/AuDaGe/assets/schema.yaml index 781e510..2af5597 100644 --- a/src/AuDaGe/assets/schema.yaml +++ b/src/AuDaGe/assets/schema.yaml @@ -66,12 +66,12 @@ $defs: - and - or - xor - - add - - radd + - add # a + b + - radd # b + a (for concatenating strings/iterables) - sub # a - b - rsub # b - a - - mul - - rmul + - mul # a * b + - rmul # b * a (for repeating strings/iterables) - div # a / b - rdiv # b / a - mod # a % b @@ -82,14 +82,16 @@ $defs: - rlog # log_a(b) - ceil # round up to integer - floor # round down to integer - - round # round to `b` decimal places, default b = 0 + - round # round `a` to `b` decimal places, default b = 0 - rround # round `b` to `a` decimal places - address_iec_to_modbus - address_modbus_to_iec - type_iec_to_opcua - type_opcua_to_iec + # format the value `a` according the format spec `b`, + # default b = "d" - format - - rformat + - rformat # format the value `b` according the format spec `a` - index # return the index of the current row arg: description: One positional argument.