RFC Errata
RFC 8428, "Sensor Measurement Lists (SenML)", August 2018
Note: This RFC has been updated by RFC 9100
Source of RFC: core (wit)
Errata ID: 6728
Status: Held for Document Update
Type: Editorial
Publication Format(s) : TEXT
Reported By: Veijo Pesonen
Date Reported: 2021-11-01
Held for Document Update by: Francesca Palombini
Date Held: 2021-11-01
Section 11 says:
SenML-Pack = [1* record] record = { ? bn => tstr, ; Base Name ? bt => numeric, ; Base Time ? bu => tstr, ; Base Units ? bv => numeric, ; Base Value ? bs => numeric, ; Base Sum ? bver => uint, ; Base Version ? n => tstr, ; Name ? u => tstr, ; Units ? s => numeric, ; Sum ? t => numeric, ; Time ? ut => numeric, ; Update Time ? ( v => numeric // ; Numeric Value vs => tstr // ; String Value vb => bool // ; Boolean Value vd => binary-value ) ; Data Value * key-value-pair }
It should say:
SenML-Pack = [1* record] record = { ? bn => tstr, ; Base Name ? bt => numeric, ; Base Time ? bu => tstr, ; Base Units ? bv => numeric, ; Base Value ? bs => numeric, ; Base Sum ? bver => uint, ; Base Version ? n => tstr, ; Name ? u => tstr, ; Units ? s => numeric, ; Sum ? t => numeric, ; Time ? ut => numeric, ; Update Time ? ( v => numeric // ; Numeric Value vs => tstr // ; String Value vb => bool // ; Boolean Value vd => binary-value ), ; Data Value * key-value-pair }
Notes:
It would show good style to set the comma even though it's not required.